InferoTemporalConfigurator Class Reference

InferoTemporal configurator. More...

#include <Neuro/InferoTemporalConfigurator.H>

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

List of all members.

Public Member Functions

 InferoTemporalConfigurator (OptionManager &mgr, const std::string &descrName="Inferior Temporal Cortex Configurator", const std::string &tagName="InferoTemporalConfigurator")
 Constructor.
virtual ~InferoTemporalConfigurator ()
 destructor
nub::ref< InferoTemporalgetIT () const
 Get the chosen InferoTemporal.

Protected Member Functions

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

Protected Attributes

OModelParam< std::stringitsITtype
 type of inferior temporal cortex

Detailed Description

InferoTemporal configurator.

This will export the --vc-type=XX command-line option and will instantiate a InferoTemporal 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 InferoTemporal may be retrieved using getIT().

Definition at line 54 of file InferoTemporalConfigurator.H.


Constructor & Destructor Documentation

InferoTemporalConfigurator::InferoTemporalConfigurator ( OptionManager mgr,
const std::string descrName = "Inferior Temporal Cortex Configurator",
const std::string tagName = "InferoTemporalConfigurator" 
)

Constructor.

Definition at line 53 of file InferoTemporalConfigurator.C.

References ModelComponent::addSubComponent().

InferoTemporalConfigurator::~InferoTemporalConfigurator (  )  [virtual]

destructor

Definition at line 64 of file InferoTemporalConfigurator.C.


Member Function Documentation

nub::ref< InferoTemporal > InferoTemporalConfigurator::getIT (  )  const

Get the chosen InferoTemporal.

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

Definition at line 68 of file InferoTemporalConfigurator.C.

void InferoTemporalConfigurator::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 73 of file InferoTemporalConfigurator.C.

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


Member Data Documentation

type of inferior temporal cortex

Definition at line 73 of file InferoTemporalConfigurator.H.

Referenced by paramChanged().


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