26 #ifndef INCLUDED_Location2DInterfaceC_h_GUID_CE39188E_A47A_4085_DAFB_80AB43571F0A 27 #define INCLUDED_Location2DInterfaceC_h_GUID_CE39188E_A47A_4085_DAFB_80AB43571F0A 86 #endif // INCLUDED_Location2DInterfaceC_h_GUID_CE39188E_A47A_4085_DAFB_80AB43571F0A #define OSVR_OUT_PTR
Indicates a required pointer (non-null) function parameter that serves only as output.
Definition: AnnotationMacrosC.h:151
uint32_t OSVR_ChannelCount
The integer type specifying a number of channels/sensors or a channel/sensor index.
Definition: ChannelCountC.h:51
#define OSVR_IN_PTR
Indicates a required pointer (non-null) function parameter that serves only as input.
Definition: AnnotationMacrosC.h:108
#define OSVR_FUNC_NONNULL(X)
Indicates the parameter(s) that must be non-null.
Definition: AnnotationMacrosC.h:202
Structure used internally to construct the desired type of device.
Definition: DeviceInitObject.h:59
OSVR_PLUGINKIT_EXPORT OSVR_ReturnCode OSVR_PLUGINKIT_EXPORT OSVR_ReturnCode osvrDeviceLocation2DReportData(OSVR_IN_PTR OSVR_Location2D_DeviceInterface iface, OSVR_IN OSVR_Location2DState locationData, OSVR_IN OSVR_ChannelCount sensor, OSVR_IN_PTR OSVR_TimeValue const *timestamp) OSVR_FUNC_NONNULL((1
Report data for a specific sensor.
Definition: Location2DInterfaceC.cpp:42
#define OSVR_INOUT_PTR
Indicates a required pointer (non-null) function parameter that is both read and written to...
Definition: AnnotationMacrosC.h:178
A structure defining a 2D vector, which represents position.
Definition: Vec2C.h:48
OSVR_PLUGINKIT_EXPORT OSVR_ReturnCode osvrDeviceLocation2DConfigure(OSVR_INOUT_PTR OSVR_DeviceInitOptions opts, OSVR_OUT_PTR OSVR_Location2D_DeviceInterface *iface, OSVR_IN OSVR_ChannelCount numSensors OSVR_CPP_ONLY(=1)) OSVR_FUNC_NONNULL((1
Specify that your device will implement the Location2D interface.
struct OSVR_Location2D_DeviceInterfaceObject * OSVR_Location2D_DeviceInterface
Opaque type used in conjunction with a device token to send data on 2D Location interface.
Definition: Location2DInterfaceC.h:51
#define OSVR_IN
Indicates a required function parameter that serves only as input.
Definition: AnnotationMacrosC.h:100
Standardized, portable parallel to struct timeval for representing both absolute times and time inter...
Definition: TimeValueC.h:81
Definition: ProjectionMatrix.h:77