gloveStatus.cc
Go to the documentation of this file.
00001 
00018 /* system includes */
00019 /* (none) */
00020 
00021 /* my includes */
00022 #include "gloveStatus.h"
00023 
00024 
00025 gloveStatus::gloveStatus()
00026 {
00027 }
00028 
00029 gloveStatus::~gloveStatus()
00030 { 
00031 }
00032 
00033 uchar_t gloveStatus::getSensorSize()
00034 {
00035   return sensorSize;
00036 }
00037 
00038 void gloveStatus::setSensorSize(uchar_t n)
00039 {
00040   sensorSize = n;
00041 }
00042 
00043 void gloveStatus::setGloveStatusByte(bool activate)
00044 {
00045   flags.X.is_glove_byte = activate;
00046 }
00047 
00048 bool gloveStatus::isGloveStatusByte()
00049 {
00050   return flags.X.is_glove_byte;
00051 }
00052 
00053 void gloveStatus::setTimeStamp(bool activate)
00054 {
00055   flags.X.is_time_stamp = activate;
00056 }
00057 
00058 bool gloveStatus::isTimeStamp()
00059 {
00060   return flags.X.is_time_stamp;  
00061 }
00062 
00063 void gloveStatus:: setParameterFlags(parameterFlags_t flg)
00064 {
00065   flags = flg;
00066 }
00067 
00068 
00069 
00070 #if gloveStatus_test
00071 #include <stdio.h>
00072 int main(int argc, char **argv)
00073 {
00074   // This is a module-test block. You can put code here that tests
00075   // just the contents of this C file, and build it by saying
00076   //             make gloveStatus_test
00077   // Then, run the resulting executable (gloveStatus_test).
00078   // If it works as expected, the module is probably correct. ;-)
00079 
00080   fprintf(stderr, "Testing gloveStatus\n");
00081 
00082   return 0;
00083 }
00084 #endif /* gloveStatus_test */


asr_cyberglove_lib
Author(s): Heller Florian, Meißner Pascal, Nguyen Trung, Yi Xie
autogenerated on Thu Jun 6 2019 22:02:33