| 43 | namespace client { |
| 44 | |
| 45 | class ButtonRemoteFactory { |
| 46 | public: |
| 47 | ButtonRemoteFactory(VRPNConnectionCollection const &conns); |
| 48 | |
| 49 | template <typename T> void registerWith(T &factory) const { |
| 50 | factory.addFactory("button", *this); |
| 51 | } |
| 52 | |
| 53 | shared_ptr<RemoteHandler> |
| 54 | operator()(common::OriginalSource const &source, |
| 55 | common::InterfaceList &ifaces, common::ClientContext &ctx); |
| 56 | |
| 57 | private: |
| 58 | VRPNConnectionCollection m_conns; |
| 59 | }; |
| 60 | |
| 61 | } // namespace client |
| 62 | } // namespace osvr |
no outgoing calls
no test coverage detected