26 #ifndef INCLUDED_Location2DComponent_h_GUID_A831481F_0257_449A_6404_3B789BD89CEF 27 #define INCLUDED_Location2DComponent_h_GUID_A831481F_0257_449A_6404_3B789BD89CEF 30 #include <osvr/Common/Export.h> 37 #include <vrpn_BaseClass.h> 55 static const char *identifier();
67 static OSVR_COMMON_EXPORT shared_ptr<Location2DComponent>
73 OSVR_COMMON_EXPORT
void 81 OSVR_COMMON_EXPORT
void registerLocationHandler(LocationHandler cb);
85 virtual void m_parentSet();
87 static int VRPN_CALLBACK
88 m_handleLocationRecord(
void *userdata, vrpn_HANDLERPARAM p);
93 std::vector<LocationHandler> m_cb;
100 #endif // INCLUDED_Location2DComponent_h_GUID_A831481F_0257_449A_6404_3B789BD89CEF 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
The main namespace for all C++ elements of the framework, internal and external.
Definition: namespace_osvr.dox:3
Definition: Location2DComponent.h:51
Definition: DeviceComponent.h:42
CRTP class template wrapping message-specific data and/or logic.
Definition: MessageRegistration.h:44
Definition: Location2DComponent.h:45
A structure defining a 2D vector, which represents position.
Definition: Vec2C.h:48
Definition: Location2DComponent.cpp:39
Standardized, portable parallel to struct timeval for representing both absolute times and time inter...
Definition: TimeValueC.h:81
BaseDevice component.
Definition: Location2DComponent.h:61
messages::LocationRecord locationRecord
Message from server to client, containing 2D location data.
Definition: Location2DComponent.h:71