00001
00002
00003
00004
00005
00006
00007
00008 #ifndef ANNOTATORJRTIMESTAMPDESTINATION_H
00009 #define ANNOTATORJRTIMESTAMPDESTINATION_H
00010
00011
00012
00013 #include <string>
00014 #include <vector>
00015
00016 #include "AnnotatorCommApi.h"
00017
00018 using namespace std;
00019
00020
00021
00022 namespace annotatorcomm
00023 {
00024
00025 namespace annotatorjr
00026 {
00027
00028 class ANNCOMM_API TimestampDestination
00029 {
00030 public:
00031 static const TimestampDestination* RAM;
00032 static const TimestampDestination* FLASH;
00033 static const TimestampDestination* COMM;
00034
00040 static vector<const TimestampDestination*> values();
00041
00042 public:
00048 uint8_t getDestination() const;
00049
00055 string toString() const;
00056
00057 private:
00061 const uint8_t dest;
00062
00066 const string name;
00067
00074 TimestampDestination(const uint8_t dest, const string & name);
00075 };
00076
00084 ANNCOMM_API ostream& operator<<(ostream& out, const TimestampDestination & dest);
00085
00086 }
00087
00088 }
00089
00090
00091
00092 #endif