Public Member Functions | |
Constructors and Destructors | |
AgentManagerA (OptionManager &mgr, const std::string &descrName="Agent Manager A", const std::string &tagName="Agent Manager A") | |
Constructor. | |
virtual | ~AgentManagerA () |
Destructor. | |
AgentManagerA (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 | ~AgentManagerA () |
Destructor. | |
Access functions | |
void | setCurrentImage (Image< PixRGB< byte > > image, uint fNum) |
set the current image to be processed | |
void | setWindow (rutz::shared_ptr< XWinManaged > win, Image< PixRGB< byte > > ima) |
void | pushCommand (CommandType cmdType, DataTypes dataType, rutz::shared_ptr< OceanObject > oceanObject) |
Image< PixRGB< byte > > | getCurrentImage () |
get the current image to be processed | |
uint | getCurrentFrameNumber () |
get the current frame number | |
bool | updateOceanObject (rutz::shared_ptr< OceanObject > oceanObject, DataTypes oceanObjectDataType) |
set the current object to be processed | |
rutz::shared_ptr < ForwardVisionAgent > | getForwardVisionAgent () |
rutz::shared_ptr < PreFrontalCortexAgent > | getPreFrontalCortexAgent () |
rutz::shared_ptr< PreMotorComplex > | getPreMotorComplex () |
uint | getNumCommands () |
rutz::shared_ptr < AgentManagerCommand > | popCommand () |
void | drawImage (Image< PixRGB< byte > > ima, Point2D< int > point) |
void | startRun () |
void | setCurrentImage (Image< PixRGB< byte > > image, uint fNum) |
set the current image to be processed | |
void | setSubController (nub::soft_ref< SubController > subController) |
void | setWindow (rutz::shared_ptr< XWinManaged > win, Image< PixRGB< byte > > ima) |
void | pushCommand (CommandType cmdType, rutz::shared_ptr< Mission > mission) |
Image< PixRGB< byte > > | getCurrentImage () |
get the current image to be processed | |
uint | getCurrentFrameNumber () |
get the current frame number | |
void | setWindow (rutz::shared_ptr< XWinManaged > win) |
void | setVisualCortex (nub::ref< EnvVisualCortex > evc) |
void | drawImage (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 < DownwardVisionAgent > | getDownwardVisionAgent () |
rutz::shared_ptr < SonarListenAgent > | getSonarListenAgent () |
rutz::shared_ptr < ForwardVisionAgent > | getForwardVisionAgent () |
rutz::shared_ptr< CaptainAgent > | getCaptainAgent () |
rutz::shared_ptr< MovementAgent > | getMovementAgent () |
uint | getNumCommands () |
rutz::shared_ptr< SensorResult > | getSensorResult (SensorResult::SensorResultType type) |
rutz::shared_ptr < AgentManagerCommand > | popCommand () |
void | startRun () |
Definition at line 67 of file AgentManagerA.H.
AgentManagerA::AgentManagerA | ( | OptionManager & | mgr, | |
const std::string & | descrName = "Agent Manager A" , |
|||
const std::string & | tagName = "Agent Manager A" | |||
) |
Constructor.
Definition at line 76 of file AgentManagerA.C.
References rutz::shared_ptr< T >::reset().
AgentManagerA::~AgentManagerA | ( | ) | [virtual] |
Destructor.
Definition at line 119 of file AgentManagerA.C.
AgentManagerA::AgentManagerA | ( | 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 AgentManagerA::~AgentManagerA | ( | ) | [virtual] |
Destructor.
uint AgentManagerA::getCurrentFrameNumber | ( | ) | [inline] |
get the current frame number
uint AgentManagerA::getCurrentFrameNumber | ( | ) | [inline] |
get the current frame number
Definition at line 184 of file AgentManagerA.H.
get the current image to be processed
get the current image to be processed
Definition at line 174 of file AgentManagerA.H.
References image.
void AgentManagerA::initSensorResults | ( | ) |
initialize the vector of SensorResults
set the current image to be processed
set the current image to be processed
Definition at line 131 of file AgentManagerA.C.
References image, sformat(), and writeText().
void AgentManagerA::updateAgentsMission | ( | Mission | theMission | ) |
update the missions of all of agent manager's agents
bool AgentManagerA::updateOceanObject | ( | rutz::shared_ptr< OceanObject > | oceanObject, | |
DataTypes | oceanObjectDataType | |||
) |
set the current object to be processed
Definition at line 221 of file AgentManagerA.C.
References DISTANCE.
bool AgentManagerA::updateSensorResult | ( | rutz::shared_ptr< SensorResult > | sensorResult | ) |
set the current object to be processed