My Project
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
GenericTaskMsg.h
Go to the documentation of this file.
1 #ifndef GCP_UTIL_GENERICTASKMSG_H
2 #define GCP_UTIL_GENERICTASKMSG_H
3 
11 #define SIGNALTASK_HANDLER_FN(fn) void (fn)(int sigNo, void* args)
12 #define SIGNAL_NAME_LEN 10
13 
14 namespace gcp {
15  namespace util {
16 
32 
33  public:
34 
39  HEARTBEAT, // A request to respond to the heartbeat
40  STOP, // A message to shutdown
41  RESTART, // A message to restart threads managed by this
42  // task.
43  TASK_SPECIFIC, // A task-specific message
44  LAST // This should always come last!
45  };
46 
51 
52  }; // End class GenericTaskMsg
53 
54  } // End namespace util
55 } // End namespace gcp
56 
57 
58 #endif // End #ifndef
Definition: GenericTaskMsg.h:31
GenericMsgType
Definition: GenericTaskMsg.h:38
GenericMsgType genericMsgType_
Definition: GenericTaskMsg.h:50