26 #ifndef INCLUDED_DirectionComponent_h_GUID_DBB6E776_4381_4FB7_C855_B77A87F811BE
27 #define INCLUDED_DirectionComponent_h_GUID_DBB6E776_4381_4FB7_C855_B77A87F811BE
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.
A structure defining a 3D vector, often a position/translation.
static shared_ptr< DirectionComponent > create(OSVR_ChannelCount numSensor=1)
Factory method.
CRTP class template wrapping message-specific data and/or logic.
messages::DirectionRecord directionRecord
Message from server to client, containing 3D direction data.
Automatically-generated export header - do not edit!
Standardized, portable parallel to struct timeval for representing both absolute times and time inter...