Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

OModelParam< T > Class Template Reference

#include <Component/ModelParam.H>

Inheritance diagram for OModelParam< T >:

Inheritance graph
[legend]
Collaboration diagram for OModelParam< T >:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<class T>
class OModelParam< T >

A class for params of type T that have a command-line option.

OModelParam is just like NModelParam except that it offers getOptionDef() and takes a ModelOptionDef* in its constructor. See the NModelParam documentation for all other details.

Definition at line 398 of file ModelParam.H.

Constructors and Destructors

see NModelParam for more details

 OModelParam (const ModelOptionDef *def, ParamClient *client, const ParamFlag flags=0)
 Construct, using the initial value from a ModelOptionDef.
 OModelParam (const ModelOptionDef *def, ParamClient *client, const T &initval, const ParamFlag flags)
 Construct, using a specified initial value.
static rutz::shared_ptr< OModelParam<
T > > 
make (const ModelOptionDef *def, ParamClient *client, const ParamFlag flags=0)
 A "pseudo-constructor" that makes a rutz::shared_ptr<OModelParam>.
static rutz::shared_ptr< OModelParam<
T > > 
make (const ModelOptionDef *def, ParamClient *client, const T &initval, const ParamFlag flags)
 A "pseudo-constructor" that makes a rutz::shared_ptr<OModelParam>.

Public Member Functions

Access functions
see NModelParam for more details

virtual std::string getName () const
 get the ModelParamAuxImpl's name
virtual const ModelOptionDefgetOptionDef () const
 get the associated option def
getVal () const
 Get the value.
bool setVal (const T &v)
 Set the value.
virtual std::string getValString () const
 Get the value as a string.
virtual bool setValString (const std::string &textval)
 Set the parameter value from a textual representation, notify clients of the change.
virtual void getValGeneric (RefHolder &ref) const
 Get the current value through a dynamically-typed RefHolder.
virtual bool setValGeneric (const RefHolder &ref)
 Set the current value through a dynamically-typed RefHolder.
Input/Output functions
see NModelParam for more details

virtual void printout (std::ostream &s, const std::string &prefix="") const
 Print out our name and contents, mostly for debugging.
virtual void writeTo (ParamMap &pmap) const
 Write parameter value to ParamMap.
virtual void readFrom (const ParamMap &pmap, const bool noerr=true)
 Get parameter value from ParamMap.


Constructor & Destructor Documentation

template<class T>
OModelParam< T >::OModelParam const ModelOptionDef def,
ParamClient client,
const ParamFlag  flags = 0
[inline]
 

Construct, using the initial value from a ModelOptionDef.

If you want to specify a different initial value, use the other constructor which takes an initial value plus a USE_MY_VAL flag.

Parameters:
flags If flags contains ALLOW_ONLINE_CHANGES, then this param will be marked as being able to be changed while the model is active.

Definition at line 615 of file ModelParam.H.

template<class T>
OModelParam< T >::OModelParam const ModelOptionDef def,
ParamClient client,
const T &  initval,
const ParamFlag  flags
[inline]
 

Construct, using a specified initial value.

Parameters:
flags If flags contains USE_MY_VAL, then the given initval will be pushed into the OptionManager as the new default value for the given ModelOptionDef. If you just want to take the existing default value from the ModelOptionDef as the initial value for this OModelParam, then use the other constructor that doesn't take an initval parameter. If flags contains ALLOW_ONLINE_CHANGES, then this param will be marked as being able to be changed while the model is active.

Definition at line 625 of file ModelParam.H.


Member Function Documentation

template<class T>
virtual std::string OModelParam< T >::getName void   )  const [inline, virtual]
 

get the ModelParamAuxImpl's name

Implements ModelParamBase.

Definition at line 458 of file ModelParam.H.

Referenced by XJunctionChannel::paramChanged().

template<class T>
virtual const ModelOptionDef* OModelParam< T >::getOptionDef  )  const [inline, virtual]
 

get the associated option def

Implements OptionedModelParam.

Definition at line 462 of file ModelParam.H.

Referenced by SpectralResidualChannel::getOutput(), ModelManager::ModelManager(), MultiSpectralResidualChannel::paramChanged(), IntegerMathEngine::paramChanged(), InputFrameSeries::setFrameSource(), ContourChannel::start1(), EyeSFile::start2(), and SDLdisplay::start2().

template<class T>
T OModelParam< T >::getVal  )  const [inline]
 

Get the value.

Note that there is no non-const function to get a non-const reference; that's because if we handed out a non-const reference then we'd have no way to know if callers changed the value, and we wouldn't be able to properly trigger paramChanged() on our ParamClient. Thus if you need to change the value, you should call getVal() to get a copy of the value, then do your modifications, then apply those changes with setVal(), which will trigger a paramChanged().

Definition at line 474 of file ModelParam.H.

Referenced by VCC4::AngleCommand(), DirectFeedChannel::applyMaxNorm(), InferoTemporalSalBayes::attentionShift(), InferoTemporalHmax::attentionShift(), InferoTemporalStd::attentionShift(), EnvInferoTemporal::belowConfidenceThresh(), BeoSubSaliency::BeoSubSaliency(), Beowulf::Beowulf(), WinnerTakeAllStdOptim::blinkSuppression(), WinnerTakeAllTempNote::blinkSuppression(), WinnerTakeAllFast::blinkSuppression(), WinnerTakeAllStd::blinkSuppression(), VisualBufferStd::bufferToRetinal(), DescriptorVec::buildDV(), InferoTemporalSalBayes::buildRawDV(), DescriptorVec::buildRawDV(), XJunctionChannel::buildSubChans(), TJunctionChannel::buildSubChans(), StereoChannel::buildSubChans(), SoxChannel::buildSubChans(), OrientationChannel::buildSubChans(), MultiColorBandChannel::buildSubChans(), MotionChannel::buildSubChans(), LJunctionChannel::buildSubChans(), IntensityBandChannel::buildSubChans(), IntegerOrientationChannel::buildSubChans(), IntegerMotionChannel::buildSubChans(), FoeMSTChannel::buildSubChans(), EndPointChannel::buildSubChans(), VCC4::CameraInitialize(), SingleOpponentChannel::centerSurround(), SingleChannel::centerSurround(), DummyChannel::centerSurround(), SingleChannelBeoServer::check(), ThresholdSaccadeController::checkPercepts(), SDLdisplay::clearBackBuffer(), PsychoDisplay::clearScreen(), SDLdisplay::closeDisplay(), SoxChannel::combineOutputs(), RawVisualCortex::combineOutputs(), MultiDirectFeedChannel::combineOutputs(), ComplexChannel::combineOutputs(), IntegerRawVisualCortex::combineOutputsInt(), IntegerComplexChannel::combineOutputsInt(), SingleChannel::combineSubMaps(), HueChannel::combineSubMaps(), ContourLayer::compute(), SimulationViewerStats::computeAGStats(), TaskRelevanceMapGistClassify::computeGistDist(), RGBConvolveChannel::computePyramid(), DirectionChannel::computePyramid(), ThresholdFrictionSaccadeController::computeWhenNewDecision(), FrictionSaccadeController::computeWhenNewDecision(), TrivialSaccadeController::computeWhenNewDecision(), lobot::LoApp::config_file(), Context::contextName(), SingleChannel::csToIndex(), IntegerSimpleChannel::csToIndex(), ModelManager::debugMode(), SpatialMetrics::deg2pix(), DirectionChannel::DirectionChannel(), PsychoDisplay::displayEyeTrackerCalibration(), PsychoDisplay::displayFixation(), MbariResultViewer::displayImage(), PsychoDisplay::displayISCANcalib(), PsychoDisplay::displayNumbers(), PsychoDisplay::displayRedDotFixation(), PsychoDisplay::displaySmoothPursuitCalibration(), PsychoDisplay::displayText(), SDLdisplay::displayText(), SDLdisplay::displayYUVoverlay(), MovementController::dive(), FrictionSaccadeController::doEvolve(), VarianceChannel::doInput(), TcorrChannel::doInput(), StereoChannel::doInput(), ScorrChannel::doInput(), RawVisualCortex::doInput(), PN03contrastChannel::doInput(), MultiColorBandChannel::doInput(), MSTChannel::doInput(), MichelsonChannel::doInput(), JunctionChannel::doInput(), IntensityBandChannel::doInput(), InformationChannel::doInput(), H2SVChannel::doInput(), EntropyChannel::doInput(), DummyChannel::doInput(), DirectFeedChannel::doInput(), ContourChannel::doInput(), ColorChannel::doInput(), IntegerSimpleChannel::doInputInt(), IntegerRawVisualCortex::doInputInt(), OrientationChannel::doInteractions(), SimulationViewerStd::drawEye(), SimulationViewerStd::drawFOA(), SimulationViewerNerdCam::drawFOA(), SimulationViewerStd::drawHead(), SimulationViewerStd::drawMegaCombo(), EnvObjDetection::EnvObjDetection(), SimEventQueue::evolve(), MovementControllerI::evolve(), LoggerModule::evolve(), RetinaI::evolve(), QT_Navigation::evolve(), BeoPilot::evolve(), VisualBufferStd::evolve(), TemplateMatchChannel::findBestMatch(), OutputFrameSeries::frame(), MbariResultViewer::getAvgCacheSize(), MovingAvgLearner::getBiasMap(), LeastSquaresLearner::getBiasMap(), PsychoDisplay::getBlackUint32(), NeoBrain::getBoringnessThresh(), EyeTrackerISCAN::getCalibEyePos(), ContourConnection::getCenter(), RawVisualCortex::getChannelOutputMap(), IntegerRawVisualCortex::getChannelOutputMap(), EnvVisualCortex2::getColorSmoothing(), EnvVisualCortex::getColorSmoothing(), EnvInferoTemporal::getConfidenceThresh(), SaccadeController::getDecision(), SDLdisplay::getDims(), ContourConnection::getDims(), SingleOpponentChannel::getFeatures(), SingleChannel::getFeatures(), SingleOpponentChannel::getFeaturesBatch(), SingleChannel::getFeaturesBatch(), GistEstimatorGen::getFeatureVector(), EnvSegmenterColorRegion::getFoa(), SpatialMetrics::getFOAradius(), SpatialMetrics::getFoveaRadius(), DescriptorVec::getFoveaSize(), TaskRelevanceMapTigs2::getGistPCAMatrix(), PsychoDisplay::getGrey(), PsychoDisplay::getGreyUint32(), Nv2UiJob::getHalfZoom(), SDLdisplay::getHeight(), SubController::getImage(), TaskRelevanceMapTigs2::getImgPCAMatrix(), EnvSaliencyMap::getInertiaHalfLife(), EnvSaliencyMap::getInertiaRadius(), EnvSaliencyMap::getInertiaShiftThresh(), EnvSaliencyMap::getInertiaStrength(), SpatialMetrics::getInputFrameDims(), EnvSaliencyMap::getIorHalfLife(), EnvSaliencyMap::getIorRadius(), EnvSaliencyMap::getIorStrength(), SingleChannel::getLevelSpec(), IntegerSimpleChannel::getLevelSpec(), SimulationViewer::getMap(), ZeroChannel::getMapDims(), SpectralResidualChannel::getMapDims(), SingleChannel::getMapDims(), ObjDetChannel::getMapDims(), IntegerSimpleChannel::getMapDims(), ForegroundDetectionChannel::getMapDims(), ContourChannel::getMapDims(), SingleChannel::getMaxPyrLevel(), IntegerSimpleChannel::getMaxPyrLevel(), SimulationViewerStd::getMegaComboMaps(), SingleChannel::getMinPyrLevel(), IntegerSimpleChannel::getMinPyrLevel(), XCgrabberFlex::getNaturalFrameTime(), XCgrabber::getNaturalFrameTime(), RTSPGrabber::getNaturalFrameTime(), IEEE1394grabber::getNaturalFrameTime(), DC1394Grabber2::getNaturalFrameTime(), IntegerMathEngine::getNbits(), SoxChannel::getNonlinearResponse(), SingleChannel::getNormType(), SiftRec::getObject(), VCC4::getOneAngle(), VisualCortexEyeMvt::getOutput(), RetinaSpaceVariant::getOutput(), RetinaStd::getOutput(), TcorrChannel::getOutput(), SpectralResidualChannel::getOutput(), IntegerRawVisualCortex::getOutput(), ContourChannel::getOutput(), SpectralResidualChannel::getOutputBlur(), IntegerSimpleChannel::getOutputInt(), SpectralResidualChannel::getOutputResizeSpec(), TaskRelevanceMapTigs::getPCAMatrix(), TaskRelevanceMapGistClassify::getPCAMatrix(), SpatialMetrics::getPPD(), VCC4::getPulseRatio(), GenericRasterOutputSeries::getRasterFileFormat(), SingleChannel::getRawCSmap(), IntegerSimpleChannel::getRawCSmapInt(), RetinaSpaceVariant::getRawInputRectangle(), RetinaStd::getRawInputRectangle(), Retina::getRawInputRectangle(), RetinaSpaceVariant::getRawToRetinalOffset(), RetinaStd::getRawToRetinalOffset(), SpectralResidualChannel::getResizeSpec(), NeoBrain::getSaliencyHisto(), EnvSaliencyMap::getSalmap(), TigsJob::getSavePrefix(), NeoBrain::getStopTrackDelayFrames(), IntegerSimpleChannel::getSubmapInt(), SingleChannel::getSubmapName(), IntegerSimpleChannel::getSubmapName(), ContourChannel::getSubmapName(), SingleChannel::getSubmapNameShort(), IntegerSimpleChannel::getSubmapNameShort(), ContourConnection::getSummaryImage(), SingleChannelSurprise< SMODEL >::getSurpriseMap(), TaskRelevanceMapTigs2::getTDMap(), TaskRelevanceMapTigs::getTDMap(), TaskRelevanceMapGistClassify::getTDMap(), TaskRelevanceMapTigs2::getTigsMatrix(), TaskRelevanceMapTigs::getTigsMatrix(), NeoBrain::getTrackDelayFrames(), NeoBrain::getTrackersLoc(), SimulationViewerStd::getTraj(), SimulationViewerNerdCam::getTraj(), SimulationViewerEyeMvt::getTraj(), SimulationViewerCompress::getTraj(), VCC4::getTwoAngles(), VCC4::getUnitNo(), EnvSaliencyMap::getUseFixed(), OModelParam< T >::getValGeneric(), AttentionGateStd::getValue(), EnvVisualCortex::getVCXmapFloat(), PsychoDisplay::getWhiteUint32(), SDLdisplay::getWidth(), AudioGrabber::grab(), IEEE1394grabber::grabPrealloc(), XCgrabberFlex::grabRaw(), XCgrabber::grabRaw(), V4Lgrabber::grabRaw(), IEEE1394grabber::grabRaw(), DC1394Grabber2::grabRaw(), V4Lgrabber::grabSingleRaw(), TigsJob::handleFrame(), VisualBufferStd::inhibit(), SimulationViewerSurpCont::init(), SimulationViewerNerdCam::init(), AttentionGuidanceMapSC::initialize(), SiftRec::initVDB(), VisualBufferStd::input(), SaliencyMapFast::input(), SaliencyMapTrivial::input(), SaliencyMapStd::input(), EnvVisualCortex2::input(), EnvVisualCortex::input(), TaskRelevanceMapKillStatic::inputFrame(), IntegerDirectionChannel::IntegerDirectionChannel(), WinnerTakeAllGreedy::integrate(), TaskRelevanceMapTigs2::integrate(), TaskRelevanceMapTigs::integrate(), TaskRelevanceMapGistClassify::integrate(), SaliencyMapFast::integrate(), MbariResultViewer::isLoadEventsNameSet(), MbariResultViewer::isLoadPropertiesNameSet(), VisualBufferStd::isObjectBased(), MbariResultViewer::isSaveEventsNameSet(), MbariResultViewer::isSavePositionsNameSet(), MbariResultViewer::isSavePropertiesNameSet(), SubController::isSimMode(), SingleChannel::killCaches(), IntegerSimpleChannel::killCaches(), TrainingSet::load(), MbariResultViewer::loadProperties(), TrainingSet::loadRebalanced(), TigsJob::loadTrainingSet(), MbariResultViewer::loadVisualEventSet(), Context::localMax(), main(), SDLdisplay::makeBlittableSurface(), Nv2UiJob::makeCmapsMarkup(), UcbMpegOutputStream::makeEncoder(), Nv2UiJob::makeInhibitionMarkup(), MapperI::MapperI(), SiftRec::matchObject(), modelmanager_xx_defaultvalue_xx_1(), NeoBrain::moveHeadToTarget(), MapperI::moveParticles(), TigsJob::movieFrameLength(), MbariResultViewer::needFrames(), ContourConnection::numAngles(), SingleChannel::numSubmaps(), IntegerSimpleChannel::numSubmaps(), ContourChannel::numSubmaps(), ObjDetChannel::ObjDetChannel(), HTTPClient::openConnection(), SDLdisplay::openDisplay(), MbariResultViewer::output(), MbariResultViewer::outputResultFrame(), RasterInputOptions::paramChanged(), TigsInputFrameSeries::paramChanged(), TigsJob::paramChanged(), SaliencyMapFeatureExtractor::paramChanged(), SimEventQueueConfigurator::paramChanged(), EyeTrackerConfigurator::paramChanged(), WinnerTakeAllConfigurator::paramChanged(), VisualCortexSurprise::paramChanged(), VisualCortexConfigurator::paramChanged(), VisualBufferConfigurator::paramChanged(), TaskRelevanceMapConfigurator::paramChanged(), SpatialMetrics::paramChanged(), SimulationViewerConfigurator::paramChanged(), SaliencyMapConfigurator::paramChanged(), SaccadeControllerHeadConfigurator::paramChanged(), SaccadeControllerEyeConfigurator::paramChanged(), RetinaConfigurator::paramChanged(), PrefrontalCortexConfigurator::paramChanged(), NeoBrain::paramChanged(), InferoTemporalConfigurator::paramChanged(), GistEstimatorConfigurator::paramChanged(), EyeHeadControllerConfigurator::paramChanged(), EnvSegmenterConfigurator::paramChanged(), EnvSegmenterColorRegion::paramChanged(), EnvSaliencyMap::paramChanged(), EnvInferoTemporal::paramChanged(), AttentionGuidanceMapConfigurator::paramChanged(), AttentionGateConfigurator::paramChanged(), OutputFrameSeries::paramChanged(), InputFrameSeries::paramChanged(), MbariResultViewer::paramChanged(), EnvSimulationViewer::paramChanged(), QtDisplayStream::paramChanged(), FrameGrabberConfigurator::paramChanged(), ModelManager::paramChanged(), XJunctionChannel::paramChanged(), TJunctionChannel::paramChanged(), StereoChannel::paramChanged(), SoxChannel::paramChanged(), SingleChannel::paramChanged(), RawVisualCortex::paramChanged(), OrientationChannel::paramChanged(), MultiSpectralResidualChannel::paramChanged(), MultiColorBandChannel::paramChanged(), MotionChannel::paramChanged(), LJunctionChannel::paramChanged(), IntensityBandChannel::paramChanged(), IntegerRawVisualCortex::paramChanged(), IntegerMotionChannel::paramChanged(), IntegerMathEngine::paramChanged(), FoeMSTChannel::paramChanged(), EndPointChannel::paramChanged(), ContourChannel::paramChanged(), ColorChannel::paramChanged(), Beowulf::paramChanged(), InputMbariFrameSeries::peekDims(), RasterInputSeries::peekFrameSpec(), InputFrameSeries::peekFrameSpec(), XCgrabberFlex::peekFrameSpec(), XCgrabber::peekFrameSpec(), V4Lgrabber::peekFrameSpec(), RTSPGrabber::peekFrameSpec(), QuickTimeGrabber::peekFrameSpec(), IEEE1394grabber::peekFrameSpec(), DC1394Grabber2::peekFrameSpec(), SpatialMetrics::pix2deg(), SingleChannel::postProcessMap(), VisualCortexSurprise::postProcessOutputMap(), RawVisualCortex::postProcessOutputMap(), IntegerRawVisualCortex::postProcessOutputMap(), InferoTemporalSalBayes::predictWithSift(), SimulationViewerStd::prepMapForDisplay(), XMLInput::readFrame(), Stimulus2D::readFrame(), RasterInputSeries::readFrame(), GameOfLifeInput::readFrame(), BufferedFrameIstream::readFrame(), SequenceFileStream::readFrame(), InputFrameSeries::Impl::readFrame(), V4Lgrabber::readFrame(), GaborChannel::readFrom(), InputMbariFrameSeries::readRGB(), EyeSFile::readUpTo(), AttentionGateStd::reset1(), OutputFrameSeries::reset1(), InputFrameSeries::reset1(), GaborChannel::resetPyramid(), VisualBufferStd::retinalToBuffer(), RTSPGrabber::RTSPGrabber(), Nv2UiJob::run(), RTSPGrabber::run(), TCPcommunicator::run(), WinnerTakeAllStdOptim::saccadicSuppression(), WinnerTakeAllTempNote::saccadicSuppression(), WinnerTakeAllFast::saccadicSuppression(), WinnerTakeAllStd::saccadicSuppression(), TaskRelevanceMapTigs2::save1(), TaskRelevanceMapTigs::save1(), TaskRelevanceMapKillStatic::save1(), TaskRelevanceMapAdapter::save1(), SimulationViewerStd::save1(), SimulationViewerStats::save1(), SimulationViewerEyeMvt::save1(), RetinaSpaceVariant::save1(), RetinaStd::save1(), AttentionGuidanceMapSC::save1(), AttentionGuidanceMap::save1(), SimulationViewerStats::saveAGMaskStats(), SimulationViewerStats::saveCompat(), MbariResultViewer::savePositions(), MbariResultViewer::saveProperties(), PyramidFeatureExtractor::saveResults(), FourierFeatureExtractor::saveResults(), SimulationViewerSurpCont::saveResults(), SpectralResidualChannel::saveResults(), SingleChannel::saveResults(), RawVisualCortex::saveResults(), IntegerSimpleChannel::saveResults(), IntegerRawVisualCortex::saveResults(), IntegerComplexChannel::saveResults(), ComplexChannel::saveResults(), SingleChannel::saveStats(), ContourChannel::saveStats(), MbariResultViewer::saveVisualEventSet(), NeoBrain::sayObjectLabel(), NeoBrain::sayToken(), TrainingSet::scaledInputDims(), Beowulf::send(), VCC4::SendRawCommand(), SimulationViewerSurpCont::setBrain(), SingleChannel::setClipPyramid(), SequenceFileStream::setFileName(), DescriptorVec::setFovea(), MovementController::setHeading(), NeoBrain::setTarget(), OutputFrameSeries::shouldWait(), InputFrameSeries::shouldWait(), SimulationViewerCompress::SimulationViewerCompress(), SingleChannel::SingleChannel(), SaliencyMapFeatureExtractor::smDims(), SaliencyMapFeatureExtractor::start1(), SingleChannelSurprise< SMODEL >::start1(), ScorbotController::start1(), RobotBrainStimulator::start1(), EyeTrackerTIL::start1(), EyeTrackerISCAN::start1(), EyeTrackerEyeLink::start1(), EyeTrackerDML::start1(), VisualCortexEyeMvt::start1(), VisualBufferStd::start1(), TaskRelevanceMapKillN::start1(), TargetChecker::start1(), SimulationViewerEyeSim::start1(), SimulationViewerEyeMvt2::start1(), SimulationViewerEyeMvt::start1(), SimulationViewerCompress::start1(), ThresholdSaccadeController::start1(), RetinaToWorld::start1(), Retina::start1(), PrefrontalCortexSB::start1(), InferoTemporalSalBayes::start1(), InferoTemporalHmax::start1(), InferoTemporalStd::start1(), EyeTrackerEyeHeadController::start1(), XCgrabberFlex::start1(), XCgrabber::start1(), VCC4::start1(), V4Lgrabber::start1(), IEEE1394grabber::start1(), DC1394Grabber2::start1(), ModelManager::start1(), SingleChannel::start1(), RawVisualCortex::start1(), IntegerSimpleChannel::start1(), IntegerDirectionChannel::start1(), ImagizeColorChannel::start1(), DKLcolorChannel::start1(), DisparityChannel::start1(), DirectFeedChannel::start1(), ContourChannel::start1(), CompositeColorChannel::start1(), TCPcommunicator::start1(), SubController::start1(), BeoSub::start1(), SaliencyMT::start1(), TigsJob::start2(), Context::start2(), FeatureExtractor::start2(), RobotBrainComponent::start2(), EyeTrackerISCAN::start2(), EyeSFile::start2(), SimulationViewerStd::start2(), SimulationViewerRecStats::start2(), SimulationViewerNerdCam::start2(), RetinaSpaceVariant::start2(), RetinaStd::start2(), NeoBrain::start2(), SDLdisplay::start2(), SerialAdvanced::start2(), Serial::start2(), DiskDataStream::start2(), AudioMixer::start2(), AudioGrabber::start2(), IntegerComplexChannel::start2(), DirectionChannel::start2(), ComplexChannel::start2(), BeoSonar::start3(), BeoPilot::start3(), EyeTrackerISCAN::startTracking(), Context::stop1(), FeatureExtractor::stop1(), EyeTrackerEyeLink::stop1(), InferoTemporalHmax::stop1(), InferoTemporalStd::stop1(), XCgrabber::stop2(), EventLog::stop2(), EyeTrackerISCAN::stopTracking(), SingleChannel::storePyramid(), SingleOpponentChannel::storePyramid2(), SubController::SubController(), submain(), TaskRelevanceMapGistClassify::TaskRelevanceMapGistClassify(), TaskRelevanceMapTigs::TaskRelevanceMapTigs(), TaskRelevanceMapTigs2::TaskRelevanceMapTigs2(), Context::temporalMax(), Context::testFrame(), NeoBrain::trackObject(), VisualTrackerI::trackObjects(), VisualTracker::trackObjects(), Context::trainingFrame(), SiftRec::trainObject(), OutputFrameSeries::update(), InputFrameSeries::update(), NeoBrain::updateExcitement(), SaliencyModuleI::updateFrame(), VisionBrainComponentI::updateMessage(), MovementControllerI::updateMessage(), RetinaI::updateMessage(), SubController::updatePID(), VisualCortexSurprise::VisualCortexSurprise(), SDLdisplay::waitNextRequestedFrameTime(), SDLdisplay::waitNextRequestedVsync(), RasterOutputSeries::writeFrame(), OutputFrameSeries::writeFrame(), SDLdisplayStream::writeFrame(), QtDisplayStream::writeFrame(), ImageDisplayStream::writeFrame(), DiskDataStream::writeFrame(), OutputMbariFrameSeries::writeMbariFloat(), OutputMbariFrameSeries::writeMbariGray(), OutputMbariFrameSeries::writeMbariRGB(), and GaborChannel::writeTo().

template<class T>
void OModelParam< T >::getValGeneric RefHolder ref  )  const [inline, virtual]
 

Get the current value through a dynamically-typed RefHolder.

Implements ModelParamBase.

Definition at line 636 of file ModelParam.H.

References OModelParam< T >::getVal(), SRC_POS, rutz::throw_bad_cast(), and RefHolder::type().

template<class T>
virtual std::string OModelParam< T >::getValString  )  const [inline, virtual]
 

Get the value as a string.

Implements ModelParamBase.

Definition at line 511 of file ModelParam.H.

Referenced by SaliencyMapFeatureExtractor::paramChanged(), VisualBufferStd::start1(), and TCPcommunicator::start1().

template<class T>
static rutz::shared_ptr<OModelParam<T> > OModelParam< T >::make const ModelOptionDef def,
ParamClient client,
const T &  initval,
const ParamFlag  flags
[inline, static]
 

A "pseudo-constructor" that makes a rutz::shared_ptr<OModelParam>.

Definition at line 441 of file ModelParam.H.

template<class T>
static rutz::shared_ptr<OModelParam<T> > OModelParam< T >::make const ModelOptionDef def,
ParamClient client,
const ParamFlag  flags = 0
[inline, static]
 

A "pseudo-constructor" that makes a rutz::shared_ptr<OModelParam>.

Definition at line 433 of file ModelParam.H.

Referenced by ModelManager::ModelManager().

template<class T>
virtual void OModelParam< T >::printout std::ostream &  s,
const std::string prefix = ""
const [inline, virtual]
 

Print out our name and contents, mostly for debugging.

Implements ModelParamBase.

Definition at line 547 of file ModelParam.H.

template<class T>
virtual void OModelParam< T >::readFrom const ParamMap pmap,
const bool  noerr = true
[inline, virtual]
 

Get parameter value from ParamMap.

Implements ModelParamBase.

Definition at line 556 of file ModelParam.H.

template<class T>
bool OModelParam< T >::setVal const T &  v  )  [inline]
 

Set the value.

Returns:
true if the change succeeded; false otherwise.

Definition at line 482 of file ModelParam.H.

Referenced by VCC4::CameraInitialize(), PsychoDisplay::changeBackgroundColor(), SerialAdvanced::configure(), DescriptorVec::DescriptorVec(), LeastSquaresLearner::dontSave(), MbariResultViewer::freeMem(), NeoBrain::gotoSleep(), AttentionGuidanceMapSC::initialize(), modelmanager_xx_defaultvalue_xx_1(), EnvSimulationViewer::paramChanged(), GaborChannel::readFrom(), NeoBrain::setBoringnessThresh(), EnvVisualCortex2::setColorSmoothing(), EnvVisualCortex::setColorSmoothing(), SDLdisplay::setDesiredRefreshDelayUsec(), DescriptorVec::setFoveaSize(), ModelManager::setFPE(), EnvSaliencyMap::setInertiaHalfLife(), EnvSaliencyMap::setInertiaRadius(), EnvSaliencyMap::setInertiaShiftThresh(), EnvSaliencyMap::setInertiaStrength(), EnvSaliencyMap::setIorHalfLife(), EnvSaliencyMap::setIorRadius(), EnvSaliencyMap::setIorStrength(), NeoBrain::setKeepTracking(), SpectralResidualChannel::setOutputBlur(), SpectralResidualChannel::setOutputResizeSpec(), SpectralResidualChannel::setResizeSpec(), NeoBrain::setStopTrackDelayFrames(), NeoBrain::setTrackDelayFrames(), VCC4::setUnitNo(), EnvSaliencyMap::setUseFixed(), OModelParam< T >::setValGeneric(), OModelParam< Point2D< int > >::setValString(), V4Lgrabber::start1(), SingleChannel::start1(), PedestrianChannel::start1(), IntegerSimpleChannel::start1(), DirectFeedChannel::start1(), TCPcommunicator::start1(), EyeSFile::start2(), NeoBrain::start2(), Serial::start2(), DiskDataStream::start2(), IntegerComplexChannel::start2(), ComplexChannel::start2(), TaskRelevanceMapTigs::TaskRelevanceMapTigs(), TaskRelevanceMapTigs2::TaskRelevanceMapTigs2(), NeoBrain::updateExcitement(), and NeoBrain::wakeUp().

template<class T>
bool OModelParam< T >::setValGeneric const RefHolder ref  )  [inline, virtual]
 

Set the current value through a dynamically-typed RefHolder.

Returns:
true if the change succeeded; false otherwise.

Implements ModelParamBase.

Definition at line 647 of file ModelParam.H.

References OModelParam< T >::setVal(), SRC_POS, rutz::throw_bad_cast(), and RefHolder::type().

template<class T>
virtual bool OModelParam< T >::setValString const std::string textval  )  [inline, virtual]
 

Set the parameter value from a textual representation, notify clients of the change.

Returns:
true if the change succeeded; false otherwise.

Implements ModelParamBase.

Definition at line 518 of file ModelParam.H.

Referenced by EyeSFile::start2().

template<class T>
virtual void OModelParam< T >::writeTo ParamMap pmap  )  const [inline, virtual]
 

Write parameter value to ParamMap.

Implements ModelParamBase.

Definition at line 552 of file ModelParam.H.


The documentation for this class was generated from the following file:
Generated on Sat Nov 21 13:48:51 2009 for iLab Neuromorphic Vision Toolkit by  doxygen 1.4.4