GenericAsynchronousCommands.h

00001 /*-----------------------------------------------------------------------------
00002  * GenericAsynchronousCommands declaration
00003  * Ionetrics 2006
00004  * John Williams
00005  * GenericAsynchronousCommands.h
00006  *---------------------------------------------------------------------------*/
00007 
00008 #ifndef GENERICASYNCHRONOUSCOMMANDS_H
00009 #define GENERICASYNCHRONOUSCOMMANDS_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 GenericAsynchronousCommands : public CommandId
00029 {
00030 public:
00031         static const GenericAsynchronousCommands CMDID_TEXT_MESSAGE;
00032         static const GenericAsynchronousCommands CMDID_IRIGA_TIME_SOURCE_TIMESTAMP;
00033         static const GenericAsynchronousCommands CMDID_IRIGB_TIME_SOURCE_TIMESTAMP;
00034         static const GenericAsynchronousCommands CMDID_IRIGD_TIME_SOURCE_TIMESTAMP;
00035         static const GenericAsynchronousCommands CMDID_IRIGE_TIME_SOURCE_TIMESTAMP;
00036         static const GenericAsynchronousCommands CMDID_IRIGG_TIME_SOURCE_TIMESTAMP;
00037         static const GenericAsynchronousCommands CMDID_IRIGH_TIME_SOURCE_TIMESTAMP;
00038         static const GenericAsynchronousCommands CMDID_GPS_TIME_SOURCE_TIMESTAMP;
00039         
00045         static vector<const GenericAsynchronousCommands*> values();
00046 
00047 public:
00053         virtual uint16_t getCmdId() const;
00054 
00055 private:
00061         GenericAsynchronousCommands(uint16_t cmdid);
00062 
00066         const uint16_t cmdid;
00067 };
00068 
00069 }
00070 
00071 //-----------------------------------------------------------------------------
00072 
00073 #endif /* GENERICASYNCHRONOUSCOMMANDS_H */

Generated on Tue Aug 1 11:14:11 2006 for libAnnotatorComm by  doxygen 1.4.7