49 virtual const std::string&
GetType()
const override {
return CLASS_TYPE; }
54 template <
typename Message_T = trManager::MessageBase>
67 mFunctor(static_cast<const Message_T&>(message));
97 virtual const std::string&
GetType()
const override {
return CLASS_TYPE;}
101 template<
typename Message_T>
118 const std::string&
GetName()
const {
return mName; }
static const trUtil::RefStr CLASS_TYPE
Smart pointer for handling referenced counted objects.
const std::string & GetName() const
virtual void Call(const trManager::MessageBase &message)
An Invokable is a queriable method interface that can be added to a trManager::ActorBase Invoking the...
A string wrapper that will make sure that all of the strings with the same value will point to the sa...
virtual const std::string & GetType() const override
Holds the class type name for efficient comparisons.
virtual const std::string & GetType() const override
Holds the class type name for efficient comparisons.
This class is part of the internal garbage collection system.
Invokable(const std::string &name, trUtil::Functor< void, TYPELIST_1(const Message_T &)> toInvoke)
InvokableFunctorCaller(InvokableFunc func)
Invokable & operator=(const Invokable &)
static const trUtil::RefStr CLASS_TYPE
This is the base class for all the messages in TR.
#define TR_MANAGER_EXPORT
trBase::SmrtPtr< InvokableFunctorCallerBase > mCaller