OSVR Framework (Internal Development Docs)  0.6-1962-g59773924
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
InterfaceCallbackC.cpp File Reference

Implementation. More...

Go to the source code of this file.

Macros

#define OSVR_CALLBACK_METHODS(TYPE)
 

Functions

OSVR_ReturnCode osvrRegisterPoseCallback (OSVR_ClientInterface iface, OSVR_PoseCallback cb, void *userdata)
 Register a callback for Pose reports on an interface.
 
OSVR_ReturnCode osvrRegisterPositionCallback (OSVR_ClientInterface iface, OSVR_PositionCallback cb, void *userdata)
 Register a callback for Position reports on an interface.
 
OSVR_ReturnCode osvrRegisterOrientationCallback (OSVR_ClientInterface iface, OSVR_OrientationCallback cb, void *userdata)
 Register a callback for Orientation reports on an interface.
 
OSVR_ReturnCode osvrRegisterVelocityCallback (OSVR_ClientInterface iface, OSVR_VelocityCallback cb, void *userdata)
 Register a callback for Velocity reports on an interface.
 
OSVR_ReturnCode osvrRegisterLinearVelocityCallback (OSVR_ClientInterface iface, OSVR_LinearVelocityCallback cb, void *userdata)
 Register a callback for LinearVelocity reports on an interface.
 
OSVR_ReturnCode osvrRegisterAngularVelocityCallback (OSVR_ClientInterface iface, OSVR_AngularVelocityCallback cb, void *userdata)
 Register a callback for AngularVelocity reports on an interface.
 
OSVR_ReturnCode osvrRegisterAccelerationCallback (OSVR_ClientInterface iface, OSVR_AccelerationCallback cb, void *userdata)
 Register a callback for Acceleration reports on an interface.
 
OSVR_ReturnCode osvrRegisterLinearAccelerationCallback (OSVR_ClientInterface iface, OSVR_LinearAccelerationCallback cb, void *userdata)
 Register a callback for LinearAcceleration reports on an interface.
 
OSVR_ReturnCode osvrRegisterAngularAccelerationCallback (OSVR_ClientInterface iface, OSVR_AngularAccelerationCallback cb, void *userdata)
 Register a callback for AngularAcceleration reports on an interface.
 
OSVR_ReturnCode osvrRegisterButtonCallback (OSVR_ClientInterface iface, OSVR_ButtonCallback cb, void *userdata)
 Register a callback for Button reports on an interface.
 
OSVR_ReturnCode osvrRegisterAnalogCallback (OSVR_ClientInterface iface, OSVR_AnalogCallback cb, void *userdata)
 Register a callback for Analog reports on an interface.
 
OSVR_ReturnCode osvrRegisterImagingCallback (OSVR_ClientInterface iface, OSVR_ImagingCallback cb, void *userdata)
 Register a callback for Imaging reports on an interface.
 
OSVR_ReturnCode osvrRegisterLocation2DCallback (OSVR_ClientInterface iface, OSVR_Location2DCallback cb, void *userdata)
 Register a callback for Location2D reports on an interface.
 
OSVR_ReturnCode osvrRegisterDirectionCallback (OSVR_ClientInterface iface, OSVR_DirectionCallback cb, void *userdata)
 Register a callback for Direction reports on an interface.
 
OSVR_ReturnCode osvrRegisterEyeTracker2DCallback (OSVR_ClientInterface iface, OSVR_EyeTracker2DCallback cb, void *userdata)
 Register a callback for EyeTracker2D reports on an interface.
 
OSVR_ReturnCode osvrRegisterEyeTracker3DCallback (OSVR_ClientInterface iface, OSVR_EyeTracker3DCallback cb, void *userdata)
 Register a callback for EyeTracker3D reports on an interface.
 
OSVR_ReturnCode osvrRegisterEyeTrackerBlinkCallback (OSVR_ClientInterface iface, OSVR_EyeTrackerBlinkCallback cb, void *userdata)
 Register a callback for EyeTrackerBlink reports on an interface.
 
OSVR_ReturnCode osvrRegisterNaviVelocityCallback (OSVR_ClientInterface iface, OSVR_NaviVelocityCallback cb, void *userdata)
 Register a callback for NaviVelocity reports on an interface.
 
OSVR_ReturnCode osvrRegisterNaviPositionCallback (OSVR_ClientInterface iface, OSVR_NaviPositionCallback cb, void *userdata)
 Register a callback for NaviPosition reports on an interface.
 

Detailed Description

Implementation.

Date
2014
Author
Sensics, Inc. http://sensics.com/osvr

Definition in file InterfaceCallbackC.cpp.

Macro Definition Documentation

#define OSVR_CALLBACK_METHODS (   TYPE)
Value:
OSVR_ReturnCode osvrRegister##TYPE##Callback(OSVR_ClientInterface iface, \
OSVR_##TYPE##Callback cb, \
void *userdata) { \
iface->registerCallback(cb, userdata); \
}
#define OSVR_RETURN_SUCCESS
The "success" value for an OSVR_ReturnCode.
Definition: ReturnCodesC.h:45

Definition at line 35 of file InterfaceCallbackC.cpp.