All Classes Namespaces Files Functions Variables Enumerations Enumerator
libs/range_sensor/CaptureSettings.h
Go to the documentation of this file.
00001 #ifndef QRK_CAPTURE_SETTINGS_H
00002 #define QRK_CAPTURE_SETTINGS_H
00003 
00016 namespace qrk
00017 {
00021   typedef enum {
00022     TypeUnknown,                
00023     QT,                         
00024     GD,                         
00025     GS,                         
00026     MD,                         
00027     MS,                         
00028     ME,                         
00029     Mx_Reply,                   
00030     InvalidData,                
00031   } CaptureType;
00032 
00033 
00037   class CaptureSettings
00038   {
00039   public:
00040     CaptureType type;           
00041     int error_code;             
00042     long timestamp;             
00043     int capture_first;          
00044     int capture_last;           
00045     int skip_lines;             
00046     int skip_frames;            
00047     int remain_times;           
00048     int data_byte;              
00049 
00050 
00051     CaptureSettings(void)
00052       : type(TypeUnknown), error_code(-1), timestamp(-1),
00053         capture_first(-1), capture_last(-1),
00054         skip_lines(-1), skip_frames(-1), remain_times(-1), data_byte(-1)
00055     {
00056     }
00057   };
00058 }
00059 
00060 #endif /* !QRK_CAPTURE_SETTINGS_H */