#include <agentstateperceptor.h>
Inheritance diagram for AgentStatePerceptor:
Public Member Functions | |
AgentStatePerceptor () | |
virtual | ~AgentStatePerceptor () |
virtual bool | Percept (boost::shared_ptr< oxygen::PredicateList > predList) |
Protected Member Functions | |
virtual void | OnLink () |
sets up the reference to the AgentState | |
virtual void | OnUnlink () |
resets the reference to the AgentState | |
Protected Attributes | |
boost::shared_ptr< AgentState > | mAgentState |
a reference to the agentstate | |
int | mPerceptRate |
the percept percept rate is the rate SenseIntervals divided by number of percepts | |
int | mSenses |
sense interval counter for subsequent percepts |
Definition at line 35 of file agentstateperceptor.h.
|
Definition at line 31 of file agentstateperceptor.cpp. References mPerceptRate, and mSenses. |
|
Definition at line 37 of file agentstateperceptor.cpp. |
|
sets up the reference to the AgentState
Reimplemented from zeitgeist::Leaf. Definition at line 99 of file agentstateperceptor.cpp. References SoccerBase::GetAgentState(), and mAgentState. Here is the call graph for this function: ![]() |
|
resets the reference to the AgentState
Reimplemented from zeitgeist::Leaf. Definition at line 105 of file agentstateperceptor.cpp. References mAgentState. |
|
Implements oxygen::Perceptor. Definition at line 42 of file agentstateperceptor.cpp. References zeitgeist::ParameterList::AddList(), zeitgeist::ParameterList::AddValue(), zeitgeist::ParameterList::Clear(), zeitgeist::Object::GetLog(), zeitgeist::Leaf::GetParent(), mAgentState, mPerceptRate, mSenses, oxygen::Predicate::name, and oxygen::Predicate::parameter. Here is the call graph for this function: ![]() |
|
a reference to the agentstate
Definition at line 53 of file agentstateperceptor.h. Referenced by OnLink(), OnUnlink(), and Percept(). |
|
the percept percept rate is the rate SenseIntervals divided by number of percepts
Definition at line 56 of file agentstateperceptor.h. Referenced by AgentStatePerceptor(), and Percept(). |
|
sense interval counter for subsequent percepts
Definition at line 59 of file agentstateperceptor.h. Referenced by AgentStatePerceptor(), and Percept(). |