25 #ifndef INCLUDED_SkeletonRemoteFactory_h_GUID_FFA967D3_4A04_44AF_841E_BF0866185E22 26 #define INCLUDED_SkeletonRemoteFactory_h_GUID_FFA967D3_4A04_44AF_841E_BF0866185E22 31 #include <osvr/Client/Export.h> 41 #include <json/value.h> 53 std::string
const &deviceName,
54 boost::optional<OSVR_ChannelCount> sensor,
55 common::InterfaceList &ifaces,
66 virtual void update() { m_dev->update(); }
74 common::BaseDevicePtr m_dev;
78 boost::optional<OSVR_ChannelCount> m_sensor;
79 std::string m_deviceName;
80 std::unique_ptr<OSVR_SkeletonObject> m_skeletonConf;
81 Json::Value m_articulationSpec;
88 template <
typename T>
void registerWith(
T &factory)
const {
89 factory.addFactory(
"skeleton", *
this);
92 shared_ptr<RemoteHandler>
103 #endif // INCLUDED_SkeletonRemoteFactory_h_GUID_FFA967D3_4A04_44AF_841E_BF0866185E22 The result of resolving a tree node to a device: either an original source to connect to...
Definition: OriginalSource.h:47
Definition: SkeletonRemoteFactory.h:84
Definition: SkeletonComponent.h:48
The main namespace for all C++ elements of the framework, internal and external.
Definition: namespace_osvr.dox:3
Header to bring shared_ptr into the osvr namespace.
SkeletonRemoteHandler & operator=(SkeletonRemoteHandler const &)=delete
Deleted assignment operator.
Definition: SkeletonRemoteFactory.h:50
virtual ~SkeletonRemoteHandler()
Definition: SkeletonRemoteFactory.h:62
BaseDevice component.
Definition: SkeletonComponent.h:74
Definition: ClientContext.h:50
Definition: VRPNConnectionCollection.h:42
Standardized, portable parallel to struct timeval for representing both absolute times and time inter...
Definition: TimeValueC.h:81
Base class for remote device handler classes.
Definition: RemoteHandler.h:40
Class holding shared implementation between the various handlers.
Definition: RemoteHandlerInternals.h:44
Definition: SkeletonComponent.h:52