00001
00002
00003
00004
00005
00006
00007
00008 #ifndef GENERICSYNCHRONOUSCOMMANDS_H
00009 #define GENERICSYNCHRONOUSCOMMANDS_H
00010
00011
00012
00013 #include <vector>
00014
00015 #include "AnnotatorCommApi.h"
00016 #include "CommandId.h"
00017
00018 using namespace std;
00019
00020
00021
00022 namespace annotatorcomm
00023 {
00024
00028 class ANNCOMM_API GenericSynchronousCommands : public CommandId
00029 {
00030 public:
00031 static const GenericSynchronousCommands CMDID_NOOP;
00032 static const GenericSynchronousCommands CMDID_GET_DEVICE_ID;
00033 static const GenericSynchronousCommands CMDID_GET_SERIAL_NUMBER;
00034 static const GenericSynchronousCommands CMDID_SET_SERIAL_NUMBER;
00035 static const GenericSynchronousCommands CMDID_GET_FIRMWARE_VERSION;
00036 static const GenericSynchronousCommands CMDID_GET_FIRMWARE_TIMESTAMP;
00037 static const GenericSynchronousCommands CMDID_GET_DEVICE_NAME;
00038 static const GenericSynchronousCommands CMDID_SET_DEVICE_NAME;
00039 static const GenericSynchronousCommands CMDID_GET_SUPPORTED_TIME_SOURCES;
00040 static const GenericSynchronousCommands CMDID_GET_CURRENT_TIME_SOURCE;
00041 static const GenericSynchronousCommands CMDID_SET_CURRENT_TIME_SOURCE;
00042 static const GenericSynchronousCommands CMDID_GET_CURRENT_TIME;
00043 static const GenericSynchronousCommands CMDID_SET_CURRENT_TIME;
00044 static const GenericSynchronousCommands CMDID_GET_TIME_SOURCE_LOCK_STATUS;
00045 static const GenericSynchronousCommands CMDID_GET_TIME_SOURCE_TIMESTAMP_MODE;
00046 static const GenericSynchronousCommands CMDID_SET_TIME_SOURCE_TIMESTAMP_MODE;
00047 static const GenericSynchronousCommands CMDID_SAVE_OPTIONS;
00048
00054 static vector<const GenericSynchronousCommands*> values();
00055
00056 public:
00062 virtual uint16_t getCmdId() const;
00063
00064 private:
00070 GenericSynchronousCommands(const uint16_t cmdid);
00071
00075 const uint16_t cmdid;
00076 };
00077
00078 }
00079
00080
00081
00082 #endif