91 std::shared_ptr<BaseMsg> pMsg(
new T(msg));
146 std::shared_ptr<BaseMsg> pMsg(
new T(msg));
151 template<
class T>
void send(T &msg,
const MsgAddr &destination)
153 std::shared_ptr<BaseMsg> pMsg(
new T(msg));
159 #endif // MSGSENDER_H Constructor to MsgAddrGenerator object.
Definition: msgaddr.h:43
The BaseMsg class is the base class for all messages.
Definition: basemsg.h:54
Type neutral message sender class.
Definition: msgsenderbase.h:51
Contains interface declaration for the FSYS::MsgSenderBase class.
void send(std::shared_ptr< BaseMsg > &msg, const std::type_info &typeOfMsg, const FSYS::MsgAddr &sender, const MsgAddr &destination)
Type independent respond function.
Definition: msgsenderbase.cpp:61
void broadcast(T &msg)
Template function to broadcast messages.
Definition: msgsender.h:89
MsgAddr & getOriginAddr(void)
Get/return the origin address of the message.
Definition: basemsg.cpp:41
void respond(T &msg, BaseMsg &received)
Template function to respond to messages.
Definition: msgsender.h:144
Class enabling other classes to send messages.
Definition: msgsender.h:60
void broadcast(std::shared_ptr< BaseMsg > &msg, const std::type_info &typeOfMsg, const MsgAddr &sender)
Broadcast function, to broadcast messages.
Definition: msgsenderbase.cpp:53
Contains interface for a message address generator class.
The MsgAddr class contains a unique address in the message system.
Definition: msgaddr.h:52