26 #ifndef INCLUDED_EyeTrackerComponent_h_GUID_68C4C9C6_84AF_43AC_1392_008C04EFAF0D
27 #define INCLUDED_EyeTrackerComponent_h_GUID_68C4C9C6_84AF_43AC_1392_008C04EFAF0D
37 #include <vrpn_BaseClass.h>
54 static const char *identifier();
66 static OSVR_COMMON_EXPORT shared_ptr<EyeTrackerComponent>
72 OSVR_COMMON_EXPORT
void
78 OSVR_COMMON_EXPORT
void registerEyeHandler(EyeHandler cb);
82 virtual void m_parentSet();
84 static int VRPN_CALLBACK
85 m_handleEyeRegion(
void *userdata, vrpn_HANDLERPARAM p);
88 std::vector<EyeHandler> m_cb;
95 #endif // INCLUDED_EyeTrackerComponent_h_GUID_68C4C9C6_84AF_43AC_1392_008C04EFAF0D
uint32_t OSVR_ChannelCount
The integer type specifying a number of channels/sensors or a channel/sensor index.
static shared_ptr< EyeTrackerComponent > create(OSVR_ChannelCount numSensor=2)
Factory method.
CRTP class template wrapping message-specific data and/or logic.
Automatically-generated export header - do not edit!
Standardized, portable parallel to struct timeval for representing both absolute times and time inter...
messages::EyeRegion eyeRegion
Message from server to client, containing eye data.