
#include <Neuro/VisualCortexConfigurator.H>
Inheritance diagram for VisualCortexConfigurator:


This will export the --vc-type=XX command-line option and will instantiate a VisualCortex 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 VisualCortex may be retrieved using getVC().
Definition at line 55 of file VisualCortexConfigurator.H.
Public Member Functions | |
| VisualCortexConfigurator (OptionManager &mgr, const std::string &descrName="Visual Cortex Configurator", const std::string &tagName="VisualCortexConfigurator") | |
| Constructor. | |
| virtual | ~VisualCortexConfigurator () |
| destructor | |
| virtual void | paramChanged (ModelParamBase *const param, const bool valueChanged, ParamClient::ChangeStatus *status) |
| Intercept people changing our ModelParam. | |
| nub::ref< VisualCortex > | getVC () const |
| Get the chosen VisualCortex. | |
| nub::soft_ref< Beowulf > | getBeo () const |
| If the chosen VisualCortex uses a Beowulf, get it here. | |
Protected Attributes | |
| OModelParam< std::string > | itsVCtype |
| type of visual cortex | |
|
||||||||||||||||
|
Constructor.
Definition at line 102 of file VisualCortexConfigurator.C. References ModelComponent::addSubComponent(). |
|
|
destructor
Definition at line 114 of file VisualCortexConfigurator.C. |
|
|
If the chosen VisualCortex uses a Beowulf, get it here. You should call this during start() of the ModelComponent that needs the VisualCortex. CAUTION: this may be a rutz::shared_ptr(NULL) if no controller has been chosen. Definition at line 122 of file VisualCortexConfigurator.C. |
|
|
Get the chosen VisualCortex. You should call this during start() of the ModelComponent that needs the VisualCortex. CAUTION: this may be a rutz::shared_ptr(NULL) if no controller has been chosen. Definition at line 118 of file VisualCortexConfigurator.C. |
|
||||||||||||||||
|
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 126 of file VisualCortexConfigurator.C. References ModelComponent::addSubComponent(), ModelComponent::getManager(), OModelParam< T >::getVal(), i, nub::soft_ref< T >::isValid(), itsVCtype, LFATAL, LINFO, rutz::make_shared(), MC_RECURSE, mgr, OPT_BeowulfMaster, OPT_LevelSpec, OPT_RawVisualCortexChans, ModelComponent::paramChanged(), ModelComponent::removeSubComponent(), nub::soft_ref< T >::reset(), nub::ref< T >::reset(), setupVisualCortexBeo(), split(), and vcx. |
|
|
type of visual cortex
Definition at line 89 of file VisualCortexConfigurator.H. Referenced by paramChanged(). |
1.4.4