CARMA C++
RtdClientData.h
Go to the documentation of this file.
1 // $Id: RtdClientData.h,v 1.1 2013/07/10 15:33:55 eml Exp $
2 
3 #ifndef SZA_UTIL_RTDCLIENTDATA_H
4 #define SZA_UTIL_RTDCLIENTDATA_H
5 
15 #include "carma/szautil/NetUnion.h"
17 #include "carma/szautil/Server.h"
18 
19 namespace sza {
20  namespace util {
21 
22  class RtdClientData : public NetUnion, public Server::ServerData {
23  public:
24 
25  enum {
26  MEM_TEMPLATE = 0x1,
27  MEM_DATAREGS = 0x2,
28  MEM_ADDREG = 0x3,
29  MEM_REMREG = 0x4,
30  MEM_ADDREGACK = 0x5,
31  MEM_REMREGACK = 0x6,
32  };
33 
34  // Constructor.
35 
36  RtdClientData();
37 
38  // Destructor.
39 
40  virtual ~RtdClientData();
41 
42  RtdArrayTemplate template_;
43  unsigned addReg_;
44  unsigned remReg_;
45  std::vector<unsigned char> dataBytes_;
46 
47  friend std::ostream& operator<<(std::ostream& os, RtdClientData& data);
48 
49  }; // End class RtdClientData
50 
51  } // End namespace util
52 } // End namespace sza
53 
54 
55 
56 #endif // End #ifndef SZA_UTIL_RTDCLIENTDATA_H
Tagged: Tue Aug 24 16:09:09 PDT 2010.