#include <agentaspect.h>
Inheritance diagram for oxygen::AgentAspect:
Public Member Functions | |
AgentAspect () | |
virtual | ~AgentAspect () |
virtual bool | Init (const std::string &createEffector) |
Initializes the AgentAspect. | |
virtual bool | RealizeActions (boost::shared_ptr< ActionObject::TList > actions) |
RealizeActions realizes the actions described by. | |
virtual boost::shared_ptr< PredicateList > | QueryPerceptors () |
QuerySensors collects data from all perceptors below this AgentAspect. | |
virtual void | UpdateEffectorMap () |
updates the map of Effectors below this AgentAspect | |
virtual boost::shared_ptr< Effector > | GetEffector (const std::string predicate) const |
looks up the effector corresponding to a predicate | |
Protected Types | |
typedef std::map< std::string, boost::shared_ptr< Effector > > | TEffectorMap |
Protected Attributes | |
TEffectorMap | mEffectorMap |
the map of effectors below this AgentAspect |
Definition at line 41 of file agentaspect.h.
|
Definition at line 71 of file agentaspect.h. |
|
Definition at line 30 of file agentaspect.cpp. References zeitgeist::Leaf::SetName(). Here is the call graph for this function: ![]() |
|
Definition at line 35 of file agentaspect.cpp. |
|
looks up the effector corresponding to a predicate
Definition at line 98 of file agentaspect.cpp. References mEffectorMap. Referenced by RealizeActions(). |
|
Initializes the AgentAspect. Called immediately after the AgentAspect is created by the GameControlServer.
|
|
QuerySensors collects data from all perceptors below this AgentAspect.
Definition at line 76 of file agentaspect.cpp. |
|
RealizeActions realizes the actions described by.
Definition at line 40 of file agentaspect.cpp. References GetEffector(), zeitgeist::Object::GetLog(), and UpdateEffectorMap(). Here is the call graph for this function: ![]() |
|
updates the map of Effectors below this AgentAspect
Definition at line 111 of file agentaspect.cpp. References mEffectorMap. Referenced by RealizeActions(). |
|
the map of effectors below this AgentAspect
Definition at line 74 of file agentaspect.h. Referenced by GetEffector(), and UpdateEffectorMap(). |