AgentManagerA Class Reference

Inheritance diagram for AgentManagerA:
Inheritance graph
[legend]
Collaboration diagram for AgentManagerA:
Collaboration graph
[legend]

List of all members.

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< PreMotorComplexgetPreMotorComplex ()
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< CaptainAgentgetCaptainAgent ()
rutz::shared_ptr< MovementAgentgetMovementAgent ()
uint getNumCommands ()
rutz::shared_ptr< SensorResultgetSensorResult (SensorResult::SensorResultType type)
rutz::shared_ptr
< AgentManagerCommand
popCommand ()
void startRun ()

Detailed Description

Definition at line 67 of file AgentManagerA.H.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.

Image<PixRGB<byte> > AgentManagerA::getCurrentImage (  )  [inline]

get the current image to be processed

Image< PixRGB< byte > > AgentManagerA::getCurrentImage (  )  [inline]

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

void AgentManagerA::setCurrentImage ( Image< PixRGB< byte > >  image,
uint  fNum 
)

set the current image to be processed

void AgentManagerA::setCurrentImage ( Image< PixRGB< byte > >  image,
uint  fNum 
)

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


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:43:05 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3