AttentionGateConfigurator Class Reference

AttentionGate configurator. More...

#include <Neuro/AttentionGate.H>

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

List of all members.

Public Member Functions

 AttentionGateConfigurator (OptionManager &mgr, const std::string &descrName="Attention Gate Configurator", const std::string &tagName="AttentionGateConfigurator")
 Constructor.
virtual ~AttentionGateConfigurator ()
 destructor
nub::ref< AttentionGategetAG () const
 Get the chosen AG.

Protected Member Functions

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

Protected Attributes

OModelParam< std::stringitsAGtype
 type of map

Detailed Description

AttentionGate configurator.

Definition at line 148 of file AttentionGate.H.


Constructor & Destructor Documentation

AttentionGateConfigurator::AttentionGateConfigurator ( OptionManager mgr,
const std::string descrName = "Attention Gate Configurator",
const std::string tagName = "AttentionGateConfigurator" 
)

Constructor.

Definition at line 80 of file AttentionGate.C.

References ModelComponent::addSubComponent().

AttentionGateConfigurator::~AttentionGateConfigurator (  )  [virtual]

destructor

Definition at line 91 of file AttentionGate.C.


Member Function Documentation

nub::ref< AttentionGate > AttentionGateConfigurator::getAG (  )  const

Get the chosen AG.

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

Definition at line 96 of file AttentionGate.C.

void AttentionGateConfigurator::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 101 of file AttentionGate.C.

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


Member Data Documentation

type of map

Definition at line 167 of file AttentionGate.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