AgentManager Class Reference

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

List of all members.

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< SensorResultgetSensorResult (SensorResult::SensorResultType type)
rutz::shared_ptr
< AgentManagerCommand
popCommand ()
void startRun ()
const Image< PixRGB< byte > > * getForwardDebugImagePtr ()

Detailed Description

Definition at line 76 of file AgentManager.H.


Constructor & Destructor Documentation

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.


Member Function Documentation

Image< PixRGB< byte > > AgentManager::getCurrentForwardImage (  )  [inline]

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.

void AgentManager::setCurrentForwardImage ( Image< PixRGB< byte > >  image,
uint  fNum 
)

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.


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