My Project
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
NewRtcNetMsg.h
Go to the documentation of this file.
1 // $Id: NewRtcNetMsg.h,v 1.1.1.1 2009/07/06 23:57:26 eml Exp $
2 
3 #ifndef GCP_UTIL_NEWRTCNETMSG_H
4 #define GCP_UTIL_NEWRTCNETMSG_H
5 
15 #include "gcp/util/common/NetStruct.h"
16 
17 namespace gcp {
18  namespace util {
19 
20  class NewNetMsg;
21 
22  // A network command received from the real-time controller
23  //
24  // Note: to use this class, specific experiments must define an
25  // allocator newSpecificNetMsg(), which returns a pointer to an
26  // inheritor from NewNetMsg
27 
28  NewNetMsg* newSpecificNetMsg();
29 
31  public:
32 
33  unsigned int antenna; // An antenna-identifier
34  NewNetMsg* msg; // An experiment-specific message
35 
39  NewRtcNetMsg();
40 
44  NewRtcNetMsg(const NewRtcNetMsg&);
46  NewRtcNetMsg& operator=(const NewRtcNetMsg& netStruct);
47  NewRtcNetMsg& operator=(NewRtcNetMsg& netStruct);
48 
52  virtual ~NewRtcNetMsg();
53 
54  }; // End class NewRtcNetMsg
55 
56  } // End namespace util
57 } // End namespace gcp
58 
59 
60 
61 #endif // End #ifndef GCP_UTIL_NEWRTCNETMSG_H
NewRtcNetMsg()
Definition: NewRtcNetMsg.cc:15
Definition: NetStruct.h:21
Definition: NewRtcNetMsg.h:30
Definition: NewNetMsg.h:196
virtual ~NewRtcNetMsg()
Definition: NewRtcNetMsg.cc:63