FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kOrientation.h
Go to the documentation of this file.
1 
8 #ifndef K_FIRESYNC_ORIENTATION_H
9 #define K_FIRESYNC_ORIENTATION_H
10 
11 #include <kFireSync/kNodeDef.h>
12 
19 //typedef kObject kOrientation; --forward-declared in kFsDef.x.h
20 
28 kFsFx(kStatus) kOrientation_ClearAll(kOrientation orientation);
29 
40 kFsFx(kStatus) kOrientation_Enable(kOrientation orientation, kBool enable);
41 
49 kFsFx(kBool) kOrientation_IsEnabled(kOrientation orientation);
50 
59 
70 
80 
91 
101 kFsFx(kStatus) kOrientation_SetAxisSign(kOrientation orientation, kOrientationAxis axis, kBool positive);
102 
111 kFsFx(kBool) kOrientation_AxisSign(kOrientation orientation, kOrientationAxis axis);
112 
123 
132 kFsFx(kStatus) kOrientation_SetAnyMotionThreshold(kOrientation orientation, k64u threshold);
133 
142 
152 
161 kFsFx(kStatus) kOrientation_SetNoMotionThreshold(kOrientation orientation, k64u threshold);
162 
171 
181 
190 kFsFx(kStatus) kOrientation_SetNoMotionDelay(kOrientation orientation, k64u delay);
191 
199 kFsFx(k64u) kOrientation_NoMotionDelay(kOrientation orientation);
200 
210 
219 
228 kFsFx(kStatus) kOrientation_Stats(kOrientation orientation, kOrientationStats* stats);
229 
230 #include <kFireSync/Client/kOrientation.x.h>
231 
232 #endif
Represents supported orientation device types.
kOrientationAxis kOrientation_AxisRemap(kOrientation orientation, kOrientationAxis axis)
Gets the remapped axis.
Represents orientation device run-time statistics.
Definition: kNodeDef.h:1595
k64u kOrientation_AnyMotionThreshold(kOrientation orientation)
Gets the threshold of any motion detection.
kStatus kOrientation_AxisRemapInfo(kOrientation orientation, kOrientationAxis axis, kInfoBits *info)
Reports constraint and validity information for the axis remapping setting.
Represents constraint and validity information for a bit flag setting.
Definition: kInfo.h:544
Essential declarations related to FireSync nodes.
kStatus kOrientation_NoMotionThresholdInfo(kOrientation orientation, kInfo64u *info)
Reports constraint and validity information for the no motion threshold setting.
kBool kOrientation_IsEnabled(kOrientation orientation)
Reports whether the orientation is currently enabled.
kStatus kOrientation_StartCalibration(kOrientation orientation)
Start the calibration procedure.
kStatus kOrientation_SetAxisRemap(kOrientation orientation, kOrientationAxis axis, kOrientationAxis remappedAxis)
Sets the remapping axis.
kStatus kOrientation_AnyMotionThresholdInfo(kOrientation orientation, kInfo64u *info)
Reports constraint and validity information for the any motion threshold setting. ...
kStatus kOrientation_SetAnyMotionThreshold(kOrientation orientation, k64u threshold)
Sets the threshold of any motion detection.
Represents supported orientation axes.
Represents configuration for a node's local orientation.
Represents constraint and validity information for a 64-bit unsigned integer setting.
Definition: kInfo.h:234
kStatus kOrientation_AxisSignInfo(kOrientation orientation, kOrientationAxis axis, kInfoBool *info)
Reports constraint and validity information for the remapped axis sign setting.
kOrientationModel kOrientation_Model(kOrientation orientation)
Gets the model of the orientation device.
kStatus kOrientation_NoMotionDelayInfo(kOrientation orientation, kInfo64u *info)
Reports constraint and validity information for the no motion delay setting.
kStatus kOrientation_SetNoMotionThreshold(kOrientation orientation, k64u threshold)
Sets the threshold of no motion detection.
kStatus kOrientation_SetAxisSign(kOrientation orientation, kOrientationAxis axis, kBool positive)
Sets the sign of remapped axis.
kBool kOrientation_AxisSign(kOrientation orientation, kOrientationAxis axis)
Gets the sign of remapped axis.
k64u kOrientation_NoMotionThreshold(kOrientation orientation)
Gets the threshold of no motion detection.
kStatus kOrientation_ClearAll(kOrientation orientation)
Resets orientation device settings to defaults.
k64u kOrientation_NoMotionDelay(kOrientation orientation)
Gets the delay of no motion detection.
kStatus kOrientation_Stats(kOrientation orientation, kOrientationStats *stats)
Retrieve statistics.
kStatus kOrientation_SetNoMotionDelay(kOrientation orientation, k64u delay)
Sets the delay of no motion detection.
kStatus kOrientation_Enable(kOrientation orientation, kBool enable)
Enables or disables the orientation.
Represents constraint and validity information for a boolean setting.
Definition: kInfo.h:493