AttentionGuidanceMapConfigurator Class Reference

AttentionGuidanceMap configurator. More...

#include <Neuro/AttentionGuidanceMap.H>

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

List of all members.

Public Member Functions

 AttentionGuidanceMapConfigurator (OptionManager &mgr, const std::string &descrName="Attention Guidance Map Configurator", const std::string &tagName="AttentionGuidanceMapConfigurator")
 Constructor.
virtual ~AttentionGuidanceMapConfigurator ()
 destructor
nub::ref< AttentionGuidanceMapgetAGM () const
 Get the chosen AGM.

Protected Member Functions

virtual void paramChanged (ModelParamBase *const param, const bool valueChanged, ParamClient::ChangeStatus *status)
 Intercept people changing our ModelParam.

Protected Attributes

OModelParam< std::stringitsAGMtype
 type of map

Detailed Description

AttentionGuidanceMap configurator.

This will export the --agm-type=XX command-line option and will instantiate an AGM of the desired type as the option gets assigned a value. As this happens, new options may become available in the command-line. To see them, use --help AFTER you have chosen the type to use. The current AGM may be retrieved using getAGM().

Definition at line 148 of file AttentionGuidanceMap.H.


Constructor & Destructor Documentation

AttentionGuidanceMapConfigurator::AttentionGuidanceMapConfigurator ( OptionManager mgr,
const std::string descrName = "Attention Guidance Map Configurator",
const std::string tagName = "AttentionGuidanceMapConfigurator" 
)

Constructor.

Definition at line 141 of file AttentionGuidanceMap.C.

References ModelComponent::addSubComponent().

AttentionGuidanceMapConfigurator::~AttentionGuidanceMapConfigurator (  )  [virtual]

destructor

Definition at line 152 of file AttentionGuidanceMap.C.


Member Function Documentation

nub::ref< AttentionGuidanceMap > AttentionGuidanceMapConfigurator::getAGM (  )  const

Get the chosen AGM.

You should call this during start() of the ModelComponent that needs the AGM.

Definition at line 157 of file AttentionGuidanceMap.C.

void AttentionGuidanceMapConfigurator::paramChanged ( ModelParamBase *const   param,
const bool  valueChanged,
ParamClient::ChangeStatus status 
) [protected, virtual]

Intercept people changing our ModelParam.

See ModelComponent.H; as parsing the command-line or reading a config file sets our name, we'll also here instantiate a controller of the proper type (and export its options)

Reimplemented from ModelComponent.

Definition at line 162 of file AttentionGuidanceMap.C.

References ModelComponent::addSubComponent(), ModelComponent::getManager(), OModelParam< T >::getVal(), itsAGMtype, MC_RECURSE, ModelComponent::removeSubComponent(), and nub::ref< T >::reset().


Member Data Documentation

type of map

Definition at line 167 of file AttentionGuidanceMap.H.

Referenced by paramChanged().


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