1 #include <Eris/Router.h>
16 virtual RouterResult handleOperation(
const Atlas::Objects::Operation::RootOperation&);
19 RouterResult handleSightOp(
const Atlas::Objects::Operation::RootOperation&);
An entity which is bound to an Eris::View.
Definition: ViewEntity.h:21
void setLocationFromAtlas(const std::string &locId)
update the entity's location based on Atlas data.
Definition: Entity.cpp:626
A service class querying and caching types.
Definition: TypeService.h:25
virtual void onSoundAction(const Atlas::Objects::Operation::RootOperation &op)
Over-rideable hook when this entity is heard performing an action.
Definition: ViewEntity.cpp:41
virtual View * getView() const
Gets the view to which this entity belongs, if any.
Definition: ViewEntity.h:83
abstract interface for objects that can route Atlas data.
Definition: Router.h:11
void setFromRoot(const Atlas::Objects::Root &obj, bool allowMotion, bool includeTypeInfoAttributes=false)
Initialise all simple state from a Root.
Definition: Entity.cpp:265
const std::string & getId() const
Retrieve the unique entity ID.
Definition: Entity.h:604
TypeInfoPtr getTypeForAtlas(const Atlas::Objects::Root &obj)
retrive the TypeInfo for an object; this should be faster (hopefully constant time) since it can take...
Definition: TypeService.cpp:76
virtual void onTalk(const Atlas::Objects::Operation::RootOperation &talk)
process TALK data - default implementation emits the Say signal.
Definition: ViewEntity.cpp:36
virtual void onImaginary(const Atlas::Objects::Root &act)
Over-rideable hook when this entity is seen to emit an imginary op.
Definition: Entity.cpp:337
Definition: EntityRouter.h:10