OSVR Framework (Internal Development Docs)  0.6-1962-g59773924
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
ClientCallbackTypesC.h
Go to the documentation of this file.
1 
15 /*
16 // Copyright 2014 Sensics, Inc.
17 //
18 // Licensed under the Apache License, Version 2.0 (the "License");
19 // you may not use this file except in compliance with the License.
20 // You may obtain a copy of the License at
21 //
22 // http://www.apache.org/licenses/LICENSE-2.0
23 //
24 // Unless required by applicable law or agreed to in writing, software
25 // distributed under the License is distributed on an "AS IS" BASIS,
26 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
27 // See the License for the specific language governing permissions and
28 // limitations under the License.
29 */
30 
31 #ifndef INCLUDED_ClientCallbackTypesC_h_GUID_4D43A675_C8A4_4BBF_516F_59E6C785E4EF
32 #define INCLUDED_ClientCallbackTypesC_h_GUID_4D43A675_C8A4_4BBF_516F_59E6C785E4EF
33 
34 /* Internal Includes */
37 #include <osvr/Util/ReturnCodesC.h>
38 #include <osvr/Util/TimeValueC.h>
39 
40 /* Library/third-party includes */
41 /* none */
42 
43 /* Standard includes */
44 /* none */
45 
46 OSVR_EXTERN_C_BEGIN
47 
56 /* generated file - do not edit! */
58 typedef void (*OSVR_PoseCallback)(void *userdata,
59  const struct OSVR_TimeValue *timestamp,
60  const struct OSVR_PoseReport *report);
62 typedef void (*OSVR_PositionCallback)(void *userdata,
63  const struct OSVR_TimeValue *timestamp,
64  const struct OSVR_PositionReport *report);
66 typedef void (*OSVR_OrientationCallback)(void *userdata,
67  const struct OSVR_TimeValue *timestamp,
68  const struct OSVR_OrientationReport *report);
70 typedef void (*OSVR_VelocityCallback)(void *userdata,
71  const struct OSVR_TimeValue *timestamp,
72  const struct OSVR_VelocityReport *report);
74 typedef void (*OSVR_LinearVelocityCallback)(void *userdata,
75  const struct OSVR_TimeValue *timestamp,
76  const struct OSVR_LinearVelocityReport *report);
78 typedef void (*OSVR_AngularVelocityCallback)(void *userdata,
79  const struct OSVR_TimeValue *timestamp,
80  const struct OSVR_AngularVelocityReport *report);
82 typedef void (*OSVR_AccelerationCallback)(void *userdata,
83  const struct OSVR_TimeValue *timestamp,
84  const struct OSVR_AccelerationReport *report);
86 typedef void (*OSVR_LinearAccelerationCallback)(void *userdata,
87  const struct OSVR_TimeValue *timestamp,
88  const struct OSVR_LinearAccelerationReport *report);
90 typedef void (*OSVR_AngularAccelerationCallback)(void *userdata,
91  const struct OSVR_TimeValue *timestamp,
92  const struct OSVR_AngularAccelerationReport *report);
94 typedef void (*OSVR_ButtonCallback)(void *userdata,
95  const struct OSVR_TimeValue *timestamp,
96  const struct OSVR_ButtonReport *report);
98 typedef void (*OSVR_AnalogCallback)(void *userdata,
99  const struct OSVR_TimeValue *timestamp,
100  const struct OSVR_AnalogReport *report);
102 typedef void (*OSVR_ImagingCallback)(void *userdata,
103  const struct OSVR_TimeValue *timestamp,
104  const struct OSVR_ImagingReport *report);
106 typedef void (*OSVR_Location2DCallback)(void *userdata,
107  const struct OSVR_TimeValue *timestamp,
108  const struct OSVR_Location2DReport *report);
110 typedef void (*OSVR_DirectionCallback)(void *userdata,
111  const struct OSVR_TimeValue *timestamp,
112  const struct OSVR_DirectionReport *report);
114 typedef void (*OSVR_EyeTracker2DCallback)(void *userdata,
115  const struct OSVR_TimeValue *timestamp,
116  const struct OSVR_EyeTracker2DReport *report);
118 typedef void (*OSVR_EyeTracker3DCallback)(void *userdata,
119  const struct OSVR_TimeValue *timestamp,
120  const struct OSVR_EyeTracker3DReport *report);
122 typedef void (*OSVR_EyeTrackerBlinkCallback)(void *userdata,
123  const struct OSVR_TimeValue *timestamp,
124  const struct OSVR_EyeTrackerBlinkReport *report);
126 typedef void (*OSVR_NaviVelocityCallback)(void *userdata,
127  const struct OSVR_TimeValue *timestamp,
128  const struct OSVR_NaviVelocityReport *report);
130 typedef void (*OSVR_NaviPositionCallback)(void *userdata,
131  const struct OSVR_TimeValue *timestamp,
132  const struct OSVR_NaviPositionReport *report);
133 
138 OSVR_EXTERN_C_END
139 
140 #endif
void(* OSVR_VelocityCallback)(void *userdata, const struct OSVR_TimeValue *timestamp, const struct OSVR_VelocityReport *report)
C function type for a Velocity callback.
Header declaring a type and values for simple C return codes.
Report type for a linear acceleration callback on a tracker interface.
void(* OSVR_AnalogCallback)(void *userdata, const struct OSVR_TimeValue *timestamp, const struct OSVR_AnalogReport *report)
C function type for a Analog callback.
Report type for an navigation position callback on a tracker interface.
Report type for an navigation velocity callback on a tracker interface.
void(* OSVR_PoseCallback)(void *userdata, const struct OSVR_TimeValue *timestamp, const struct OSVR_PoseReport *report)
C function type for a Pose callback.
void(* OSVR_LinearAccelerationCallback)(void *userdata, const struct OSVR_TimeValue *timestamp, const struct OSVR_LinearAccelerationReport *report)
C function type for a LinearAcceleration callback.
Report type for 2D location report.
void(* OSVR_AngularAccelerationCallback)(void *userdata, const struct OSVR_TimeValue *timestamp, const struct OSVR_AngularAccelerationReport *report)
C function type for a AngularAcceleration callback.
Report type for a callback on a button interface.
Report type for an acceleration (linear and angular) callback on a tracker interface.
void(* OSVR_DirectionCallback)(void *userdata, const struct OSVR_TimeValue *timestamp, const struct OSVR_DirectionReport *report)
C function type for a Direction callback.
void(* OSVR_AccelerationCallback)(void *userdata, const struct OSVR_TimeValue *timestamp, const struct OSVR_AccelerationReport *report)
C function type for a Acceleration callback.
void(* OSVR_AngularVelocityCallback)(void *userdata, const struct OSVR_TimeValue *timestamp, const struct OSVR_AngularVelocityReport *report)
C function type for a AngularVelocity callback.
Report type for 3D Direction vector.
void(* OSVR_PositionCallback)(void *userdata, const struct OSVR_TimeValue *timestamp, const struct OSVR_PositionReport *report)
C function type for a Position callback.
Report type for a blink event.
void(* OSVR_ButtonCallback)(void *userdata, const struct OSVR_TimeValue *timestamp, const struct OSVR_ButtonReport *report)
C function type for a Button callback.
void(* OSVR_NaviPositionCallback)(void *userdata, const struct OSVR_TimeValue *timestamp, const struct OSVR_NaviPositionReport *report)
C function type for a NaviPosition callback.
Report type for 2D location.
void(* OSVR_Location2DCallback)(void *userdata, const struct OSVR_TimeValue *timestamp, const struct OSVR_Location2DReport *report)
C function type for a Location2D callback.
void(* OSVR_LinearVelocityCallback)(void *userdata, const struct OSVR_TimeValue *timestamp, const struct OSVR_LinearVelocityReport *report)
C function type for a LinearVelocity callback.
Report type for an orientation callback on a tracker interface.
void(* OSVR_ImagingCallback)(void *userdata, const struct OSVR_TimeValue *timestamp, const struct OSVR_ImagingReport *report)
C function type for a Imaging callback.
void(* OSVR_EyeTrackerBlinkCallback)(void *userdata, const struct OSVR_TimeValue *timestamp, const struct OSVR_EyeTrackerBlinkReport *report)
C function type for a EyeTrackerBlink callback.
Report type for an angular acceleration callback on a tracker interface.
void(* OSVR_EyeTracker2DCallback)(void *userdata, const struct OSVR_TimeValue *timestamp, const struct OSVR_EyeTracker2DReport *report)
C function type for a EyeTracker2D callback.
void(* OSVR_EyeTracker3DCallback)(void *userdata, const struct OSVR_TimeValue *timestamp, const struct OSVR_EyeTracker3DReport *report)
C function type for a EyeTracker3D callback.
Report type for 3D gaze report.
void(* OSVR_OrientationCallback)(void *userdata, const struct OSVR_TimeValue *timestamp, const struct OSVR_OrientationReport *report)
C function type for a Orientation callback.
void(* OSVR_NaviVelocityCallback)(void *userdata, const struct OSVR_TimeValue *timestamp, const struct OSVR_NaviVelocityReport *report)
C function type for a NaviVelocity callback.
Report type for a position callback on a tracker interface.
Report type for a velocity (linear and angular) callback on a tracker interface.
Header defining a dependency-free, cross-platform substitute for struct timeval.
Report type for an angular velocity callback on a tracker interface.
Report type for a callback on an analog interface.
Standardized, portable parallel to struct timeval for representing both absolute times and time inter...
Definition: TimeValueC.h:81
Report type for a linear velocity callback on a tracker interface.
Report type for a pose (position and orientation) callback on a tracker interface.