


Public Member Functions | |
Constructors and Destructors | |
| AgentManager (nub::soft_ref< SubController > subController, nub::soft_ref< EnvVisualCortex > evc, ModelManager &mgr, const std::string &descrName="Agent Manager", const std::string &tagName="Agent Manager") | |
| Constructor. | |
| virtual | ~AgentManager () |
| Destructor. | |
Access functions | |
|
| |
| int | itsMissionGateForwardTime |
| int | itsMissionGateDepth |
| void | setCurrentForwardImage (Image< PixRGB< byte > > image, uint fNum) |
| set the current image to be processed | |
| void | setCurrentDownwardImage (Image< PixRGB< byte > > image, uint fNum) |
| void | setSubController (nub::soft_ref< SubController > subController) |
| void | setForwardWindow (rutz::shared_ptr< XWinManaged > win) |
| void | setDownwardWindow (rutz::shared_ptr< XWinManaged > win) |
| void | pushCommand (CommandType cmdType, rutz::shared_ptr< Mission > mission) |
| Image< PixRGB< byte > > | getCurrentForwardImage () |
| get the current image to be processed | |
| Image< PixRGB< byte > > | getCurrentDownwardImage () |
| uint | getCurrentFrameNumber () |
| get the current frame number | |
| void | setWindow (rutz::shared_ptr< XWinManaged > win) |
| void | setVisualCortex (nub::ref< EnvVisualCortex > evc) |
| void | drawForwardImage (rutz::shared_ptr< Image< PixRGB< byte > > > ima) |
| void | drawDownwardImage (rutz::shared_ptr< Image< PixRGB< byte > > > ima) |
| void | initSensorResults () |
| initialize the vector of SensorResults | |
| bool | updateSensorResult (rutz::shared_ptr< SensorResult > sensorResult) |
| set the current object to be processed | |
| void | updateAgentsMission (Mission theMission) |
| update the missions of all of agent manager's agents | |
|
rutz::shared_ptr < ForwardVisionAgent > | getForwardVisionAgent () |
| uint | getNumCommands () |
| rutz::shared_ptr< SensorResult > | getSensorResult (SensorResult::SensorResultType type) |
|
rutz::shared_ptr < AgentManagerCommand > | popCommand () |
| void | startRun () |
| const Image< PixRGB< byte > > * | getForwardDebugImagePtr () |
Definition at line 76 of file AgentManager.H.
| AgentManager::AgentManager | ( | nub::soft_ref< SubController > | subController, | |
| nub::soft_ref< EnvVisualCortex > | evc, | |||
| ModelManager & | mgr, | |||
| const std::string & | descrName = "Agent Manager", |
|||
| const std::string & | tagName = "Agent Manager" | |||
| ) |
Constructor.
Definition at line 99 of file AgentManager.C.
References rutz::shared_ptr< T >::reset().
| AgentManager::~AgentManager | ( | ) | [virtual] |
Destructor.
Definition at line 179 of file AgentManager.C.
get the current image to be processed
Definition at line 255 of file AgentManager.H.
References image.
| uint AgentManager::getCurrentFrameNumber | ( | ) | [inline] |
get the current frame number
Definition at line 275 of file AgentManager.H.
| void AgentManager::initSensorResults | ( | ) |
initialize the vector of SensorResults
Definition at line 299 of file AgentManager.C.
set the current image to be processed
Definition at line 191 of file AgentManager.C.
References image.
| void AgentManager::updateAgentsMission | ( | Mission | theMission | ) |
update the missions of all of agent manager's agents
Definition at line 240 of file AgentManager.C.
| bool AgentManager::updateSensorResult | ( | rutz::shared_ptr< SensorResult > | sensorResult | ) |
set the current object to be processed
Definition at line 329 of file AgentManager.C.
1.6.3