My Project
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
WxControlMsg.h
Go to the documentation of this file.
1 #ifndef GCP_ASSEMBLER_WXCONTROLMSG_H
2 #define GCP_ASSEMBLER_WXCONTROLMSG_H
3 
11 #include "gcp/util/common/GenericTaskMsg.h"
12 
13 namespace gcp {
14 namespace mediator {
15 
16  class WxControlMsg :
18 
19  public:
20 
24  enum MsgType {
25  READ, // Read data from the weather station
26  };
27 
32 
36  union {
37  } body;
38 
39  //------------------------------------------------------------
40  // Methods for packing messages to the wxs
41  //------------------------------------------------------------
42 
43  inline void packReadMsg()
44  {
46  gcp::util::GenericTaskMsg::TASK_SPECIFIC;
47 
48  type = READ;
49  }
50 
51  }; // End class WxControlMsg
52 
53 } // End namespace mediator
54 } // End namespace gcp
55 
56 
57 
58 #endif // End #ifndef GCP_ASSEMBLER_WXCONTROLMSG_H
Definition: GenericTaskMsg.h:31
MsgType type
Definition: WxControlMsg.h:31
union gcp::mediator::WxControlMsg::@203 body
GenericMsgType genericMsgType_
Definition: GenericTaskMsg.h:50
Definition: WxControlMsg.h:16
MsgType
Definition: WxControlMsg.h:24