26 #ifndef INCLUDED_DirectionComponent_h_GUID_DBB6E776_4381_4FB7_C855_B77A87F811BE 27 #define INCLUDED_DirectionComponent_h_GUID_DBB6E776_4381_4FB7_C855_B77A87F811BE 30 #include <osvr/Common/Export.h> 37 #include <vrpn_BaseClass.h> 55 static const char *identifier();
67 static OSVR_COMMON_EXPORT shared_ptr<DirectionComponent>
73 OSVR_COMMON_EXPORT
void 81 OSVR_COMMON_EXPORT
void registerDirectionHandler(DirectionHandler cb);
85 virtual void m_parentSet();
87 static int VRPN_CALLBACK
88 m_handleDirectionRecord(
void *userdata, vrpn_HANDLERPARAM p);
93 std::vector<DirectionHandler> m_cb;
100 #endif // INCLUDED_DirectionComponent_h_GUID_DBB6E776_4381_4FB7_C855_B77A87F811BE uint32_t OSVR_ChannelCount
The integer type specifying a number of channels/sensors or a channel/sensor index.
Definition: ChannelCountC.h:51
Handles spatial transformations.
Definition: SerializationTraitExample_Complicated.h:40
Definition: CommonComponent.h:44
A structure defining a 3D vector, often a position/translation.
Definition: Vec3C.h:48
The main namespace for all C++ elements of the framework, internal and external.
Definition: namespace_osvr.dox:3
Definition: DirectionComponent.cpp:39
Definition: DirectionComponent.h:45
BaseDevice component.
Definition: DirectionComponent.h:61
Definition: DeviceComponent.h:42
CRTP class template wrapping message-specific data and/or logic.
Definition: MessageRegistration.h:44
messages::DirectionRecord directionRecord
Message from server to client, containing 3D direction data.
Definition: DirectionComponent.h:71
Definition: DirectionComponent.h:51
Standardized, portable parallel to struct timeval for representing both absolute times and time inter...
Definition: TimeValueC.h:81