This class creates a GUID, or a Unique ID that is used through out TR to identify and distinguish one...
A string wrapper that will make sure that all of the strings with the same value will point to the sa...
MessageBase(const trBase::UniqueId *fromActorID, const trBase::UniqueId *aboutActorID=NULL, const bool isDirect=false, const std::string &messageFilter=trUtil::StringUtils::STR_BLANK)
Holds the class/message type name for efficient comparisons.
const std::string * mMessageFilter
static const trUtil::RefStr MESSAGE_TYPE
Adds an easy and swappable access to the base class.
virtual const trBase::UniqueId * GetAboutActorID() const
Returns the ID of the actor this message is about, or sent to.
virtual const trBase::UniqueId * GetFromActorID() const
Returns the ID of the actor the message was sent from.
trBase::ObsrvrPtr< const trBase::UniqueId > mAboutActorID
trBase::ObsrvrPtr< const trBase::UniqueId > mFromActorID
virtual const bool & GetIsDirect() const
Returns True if this message is a direct message and skips all Directors.
virtual const std::string & GetType() const override
Returns the class type Made protected to hide it.
const std::string ToString() const
Convert the current GUID into a string.
This is the base class for all the messages in TR.
virtual const std::string & GetMessageFilter()
Returns the custom Filter string.
#define LOG_D(msg)
Log a DEBUG message.