70 virtual void callBack(std::shared_ptr<BaseMsg> &baseMsg) = 0;
99 void callBack(std::shared_ptr<BaseMsg> &baseMsg)
101 T &msg =
static_cast<T&
>(*baseMsg);
108 #endif // MSGCALLBACK_H MsgCallBack(void)
Default constructor.
Definition: msgcallback.h:60
virtual void callBack(std::shared_ptr< BaseMsg > &baseMsg)=0
Call back function that evantually maps to receive(T)
Class that holds and assigns handles.
Definition: handle.h:55
Contains interface declaration for the FSYS::Handle class.
Contains interface declaration for the FSYS::BaseMsg class.
void callBack(std::shared_ptr< BaseMsg > &baseMsg)
callBack function that casts the message to the correct typedef
Definition: msgcallback.h:99
The MsgCallBack class is an internal class to the message system.
Definition: msgcallback.h:54
Template class that inherits from MsgCallBack.
Definition: msgcallback.h:79