56 ActorBase(
const std::string& name = CLASS_TYPE);
61 virtual const std::string& GetType()
const override = 0;
73 virtual void RegisterForMessage(
const std::string& messageType,
const std::string& invokableName);
84 virtual void UnRegisterFromMessage(
const std::string& messageType);
94 virtual void RegisterForMessagesAboutEntity(
const trBase::UniqueId& aboutEntityId,
const std::string& invokableName);
103 virtual void UnregisterFromMessagesAboutEntity(
const trBase::UniqueId& aboutEntityId);
110 virtual void BuildInvokables();
197 virtual bool RemoveAllActorModules();
215 virtual void OnAddedToSysMan()
override;
222 virtual void OnRemovedFromSysMan()
override;
250 using ActorModules = std::vector<trBase::SmrtPtr<trManager::EntityBase>>;
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...
std::vector< trBase::SmrtPtr< trManager::EntityBase > > ActorModules
ActorModules = std::vector<trBase::SmrtPtr<trManager::EntityBase>>
This class is part of the internal garbage collection system.
ActorModules mActModReAttachStore
A base class for all actors in the entity system.
static const trUtil::RefStr CLASS_TYPE
Adds an easy and swappable access to the base class.
This serves as the base class for the Entity class and removes a circular dependency between Entity a...
This is the base class for all the messages in TR.
#define TR_MANAGER_EXPORT
ActorModules mActorModules