OModelParam< T > Class Template Reference

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

#include <Component/ModelParam.H>

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

List of all members.

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.

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>.

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.


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]
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(), InferoTemporalStd::attentionShift(), InferoTemporalSIFT::attentionShift(), BeoSubSaliency::BeoSubSaliency(), Beowulf::Beowulf(), SaliencyMapTrivial::blinkSuppression(), WinnerTakeAllFast::blinkSuppression(), WinnerTakeAllTempNote::blinkSuppression(), WinnerTakeAllStd::blinkSuppression(), WinnerTakeAllStdOptim::blinkSuppression(), SaliencyMapFast::blinkSuppression(), VisualBufferStd::bufferToRetinal(), DescriptorVec::buildDV(), DescriptorVec::buildRawDV(), MultiColorBandChannel::buildSubChans(), IntensityBandChannel::buildSubChans(), IntegerMotionChannel::buildSubChans(), DepthMotionChannel::buildSubChans(), EndPointChannel::buildSubChans(), FoeMSTChannel::buildSubChans(), LJunctionChannel::buildSubChans(), StereoChannel::buildSubChans(), SoxChannel::buildSubChans(), MotionSpatioTemporalChannel::buildSubChans(), XJunctionChannel::buildSubChans(), IntegerOrientationChannel::buildSubChans(), OrientationChannel::buildSubChans(), MotionOpticalFlowChannel::buildSubChans(), MotionChannel::buildSubChans(), TJunctionChannel::buildSubChans(), CudaSaliency::calcInertia(), CudaSaliency::calcInhibition(), VCC4::CameraInitialize(), SingleOpponentChannel::centerSurround(), SingleChannel::centerSurround(), DummyChannel::centerSurround(), SingleChannelBeoServer::check(), ThresholdSaccadeController::checkPercepts(), SpaceVariantEdgeModule::clear(), FovealTransformModule::clear(), SDLdisplay::clearBackBuffer(), PsychoDisplay::clearScreen(), SDLdisplay::closeDisplay(), ComplexChannel::combineOutputs(), MultiDirectFeedChannel::combineOutputs(), RawVisualCortex::combineOutputs(), SoxChannel::combineOutputs(), IntegerRawVisualCortex::combineOutputsInt(), IntegerComplexChannel::combineOutputsInt(), HueChannel::combineSubMaps(), SingleChannel::combineSubMaps(), SimulationViewerStats::computeAGStats(), TaskRelevanceMapGistClassify::computeGistDist(), DirectionChannel::computePyramid(), SingleSvChannel::computePyramid(), RGBConvolveChannel::computePyramid(), FrictionSaccadeController::computeWhenNewDecision(), ThresholdFrictionSaccadeController::computeWhenNewDecision(), TrivialSaccadeController::computeWhenNewDecision(), IntegerSimpleChannel::csToIndex(), ModelManager::debugMode(), SpatialMetrics::deg2pix(), SaliencyMapFast::depress(), SaliencyMapTrivial::depress(), DirectionChannel::DirectionChannel(), PsychoDisplay::displayCircle(), PsychoDisplay::displayColorDotFixation(), PsychoDisplay::displayColorDotFixationBlink(), PsychoDisplay::displayEyeTrackerCalibration(), PsychoDisplay::displayFilledCircle(), PsychoDisplay::displayFixation(), PsychoDisplay::displayFixationIcon(), MbariResultViewer::displayImage(), PsychoDisplay::displayISCANcalib(), PsychoDisplay::displayNumbers(), PsychoDisplay::displayRedDotFixation(), PsychoDisplay::displaySmoothPursuitCalibration(), SDLdisplay::displayText(), PsychoDisplay::displayText(), PsychoDisplay::displayWhiteDotFixation(), SDLdisplay::displayYUVoverlay(), SimulationViewerStd::doEventRetinaImage(), SimulationViewerEyeMvtNeuro::doEventRetinaImage(), FrictionSaccadeController::doEvolve(), MichelsonChannel::doInput(), MultiColorBandChannel::doInput(), PN03contrastChannel::doInput(), DummyChannel::doInput(), H2SVChannel::doInput(), JunctionChannel::doInput(), RawVisualCortex::doInput(), ObjDetChannel::doInput(), StereoChannel::doInput(), TcorrChannel::doInput(), ScorrChannel::doInput(), VarianceChannel::doInput(), DepthChannel::doInput(), DirectFeedChannel::doInput(), EntropyChannel::doInput(), IntensityBandChannel::doInput(), InformationChannel::doInput(), MotionSpatioTemporalChannel::doInput(), ContourChannel::doInput(), ColorChannel::doInput(), MSTChannel::doInput(), OrientationChannel::doInteractions(), SimulationViewerStd::drawEye(), SimulationViewerNerdCam::drawFOA(), SimulationViewerStd::drawFOA(), SimulationViewerStd::drawHead(), SimulationViewerStd::drawMegaCombo(), SimEventQueue::evolve(), QT_Navigation::evolve(), MovementControllerI::evolve(), VisionBrainComponentI::evolve(), ParticleFilter::evolve(), CornerNavigation::evolve(), LoggerModule::evolve(), StereoRetinaI::evolve(), VisualBufferStd::evolve(), BeoPilot::evolve(), RetinaI::evolve(), TemplateMatchChannel::findBestMatch(), OutputFrameSeries::frame(), SimulationViewerAdapter::fromRetinal(), SimulationViewerAdapter::fromRetinalMap(), MbariResultViewer::getAvgCacheSize(), PsychoDisplay::getBlackUint32(), EyeTrackerISCAN::getCalibEyePos(), RawVisualCortex::getChannelOutputMap(), IntegerRawVisualCortex::getChannelOutputMap(), SaccadeController::getDecision(), SDLdisplay::getDims(), GistEstimatorGen::getFeatureVector(), SpatialMetrics::getFOAradius(), SpatialMetrics::getFoveaRadius(), DescriptorVec::getFoveaSize(), InputFrameSeries::getFrameRange(), PsychoDisplay::getGrey(), PsychoDisplay::getGreyUint32(), SDLdisplay::getHeight(), SpatialMetrics::getInputFrameDims(), IntegerSimpleChannel::getLevelSpec(), SingleChannel::getLevelSpec(), SimulationViewer::getMap(), SingleChannel::getMapDims(), SpectralResidualChannel::getMapDims(), ContourChannel::getMapDims(), ObjDetChannel::getMapDims(), ZeroChannel::getMapDims(), ForegroundDetectionChannel::getMapDims(), IntegerSimpleChannel::getMapDims(), SingleSvChannel::getMapDims(), SimulationViewerStd::getMegaComboMaps(), XCgrabber::getNaturalFrameTime(), DC1394Grabber2::getNaturalFrameTime(), RTSPGrabber::getNaturalFrameTime(), XCgrabberFlex::getNaturalFrameTime(), IEEE1394grabber::getNaturalFrameTime(), SoxChannel::getNonlinearResponse(), SingleChannel::getNormType(), VCC4::getOneAngle(), ContourChannel::getOutput(), SpectralResidualChannel::getOutput(), IntegerRawVisualCortex::getOutput(), RetinaAdapter::getOutput(), TcorrChannel::getOutput(), VisualCortexEyeMvt::getOutput(), ScorbotI::getPort(), EyeSFile::getPos(), SpatialMetrics::getPPD(), SpatialMetrics::getPPDX(), SpatialMetrics::getPPDY(), VCC4::getPulseRatio(), GenericRasterOutputSeries::getRasterFileFormat(), SingleChannel::getRawCSmap(), DirectionSpatioTemporalChannel::getRawCSmap(), IntegerSimpleChannel::getRawCSmapInt(), EyeSFile::getRawInputDims(), RetinaAdapter::getRawInputRectangle(), RetinaAdapter::getRawToRetinalOffset(), IntegerSimpleChannel::getSubmapName(), ContourChannel::getSubmapName(), SingleChannel::getSubmapName(), SingleChannel::getSubmapNameShort(), IntegerSimpleChannel::getSubmapNameShort(), ContourChannel::getSubmapNameShort(), SingleChannelSurprise< SMODEL >::getSurpriseMap(), FovealTransformModule::getSVDims(), SimulationViewerEyeHand::getTraj(), SimulationViewerHand::getTraj(), SimulationViewerEyeMvtNeuro::getTraj(), SimulationViewerStd::getTraj(), SimulationViewerNerdCam::getTraj(), SimulationViewerEyeRegion::getTraj(), SimulationViewerCompress::getTraj(), SimulationViewerEyeMvt::getTraj(), VCC4::getTwoAngles(), VCC4::getUnitNo(), OModelParam< T >::getValGeneric(), OModelParam< Point2D< float > >::getValString(), AttentionGateStd::getValue(), PsychoDisplay::getWhiteUint32(), SDLdisplay::getWidth(), AudioGrabber::grab(), IEEE1394grabber::grabPrealloc(), V4Lgrabber::grabRaw(), IEEE1394grabber::grabRaw(), XCgrabber::grabRaw(), XCgrabberFlex::grabRaw(), DC1394Grabber2::grabRaw(), V4L2grabber::grabRaw(), V4L2grabber::grabSingleRaw(), V4Lgrabber::grabSingleRaw(), VisualBufferStd::inhibit(), SimulationViewerSurpCont::init(), SimulationViewerNerdCam::init(), SaliencyMapFast::input(), EnvVisualCortexFloat::input(), SaliencyMapTrivial::input(), VisualBufferStd::input(), EnvVisualCortex::input(), SaliencyMapStd::input(), TaskRelevanceMapKillStatic::inputFrame(), TaskRelevanceMapSocial::inputFrame(), IntegerDirectionChannel::IntegerDirectionChannel(), TaskRelevanceMapTigs2::integrate(), WinnerTakeAllGreedy::integrate(), SaliencyMapFast::integrate(), TaskRelevanceMapGistClassify::integrate(), TaskRelevanceMapTigs::integrate(), SimulationViewerAdapter::inverseMap(), SimulationViewerAdapter::inverseRetinal(), MbariResultViewer::isLoadEventsNameSet(), MbariResultViewer::isLoadPropertiesNameSet(), VisualBufferStd::isObjectBased(), MbariResultViewer::isSaveEventsNameSet(), MbariResultViewer::isSavePositionsNameSet(), MbariResultViewer::isSavePropertiesNameSet(), IntegerSimpleChannel::killCaches(), TrainingSet::load(), BeoPilot::loadFromLogFile(), MbariResultViewer::loadProperties(), TrainingSet::loadRebalanced(), MbariResultViewer::loadVisualEventSet(), main(), SDLdisplay::makeBlittableSurface(), UcbMpegOutputStream::makeEncoder(), SingleSvChannel::maxIndex(), MbariResultViewer::needFrames(), IntegerSimpleChannel::numSubmaps(), ContourChannel::numSubmaps(), ObjDetChannel::ObjDetChannel(), HTTPClient::openConnection(), SDLdisplay::openDisplay(), EyeTrackerEyeLink::openSDL(), MbariResultViewer::output(), MbariResultViewer::outputResultFrame(), RasterInputOptions::paramChanged(), TigsInputFrameSeries::paramChanged(), TigsJob::paramChanged(), SaliencyMapFeatureExtractor::paramChanged(), SimEventQueueConfigurator::paramChanged(), SingleChannel::paramChanged(), AttentionGuidanceMapConfigurator::paramChanged(), RawVisualCortex::paramChanged(), QtDisplayStream::paramChanged(), TaskRelevanceMapConfigurator::paramChanged(), EnvSaliencyMap::paramChanged(), SpatialMetrics::paramChanged(), EyeTrackerConfigurator::paramChanged(), ModelManager::paramChanged(), CudaSaliency::paramChanged(), OutputFrameSeries::paramChanged(), EndPointChannel::paramChanged(), SoxChannel::paramChanged(), EnvSegmenterConfigurator::paramChanged(), VisualCortexConfigurator::paramChanged(), MotionSpatioTemporalChannel::paramChanged(), StereoChannel::paramChanged(), EnvSimulationViewer::paramChanged(), SaccadeControllerHeadConfigurator::paramChanged(), TJunctionChannel::paramChanged(), RetinaConfigurator::paramChanged(), FoeMSTChannel::paramChanged(), IntensityBandChannel::paramChanged(), MotionChannel::paramChanged(), Beowulf::paramChanged(), IntegerMotionChannel::paramChanged(), IntegerRawVisualCortex::paramChanged(), EnvInferoTemporal::paramChanged(), SimulationViewerConfigurator::paramChanged(), MbariResultViewer::paramChanged(), InputFrameSeries::paramChanged(), AttentionGateConfigurator::paramChanged(), PrefrontalCortexConfigurator::paramChanged(), DepthMotionChannel::paramChanged(), XJunctionChannel::paramChanged(), VisualBufferConfigurator::paramChanged(), WinnerTakeAllConfigurator::paramChanged(), ColorChannel::paramChanged(), MultiColorBandChannel::paramChanged(), OrientationChannel::paramChanged(), EnvSegmenterColorRegion::paramChanged(), MultiSpectralResidualChannel::paramChanged(), GistEstimatorConfigurator::paramChanged(), NeoBrain::paramChanged(), SaliencyMapConfigurator::paramChanged(), VisualCortexSurprise::paramChanged(), IntegerMathEngine::paramChanged(), EnvVisualCortexBase::paramChanged(), HandControllerConfigurator::paramChanged(), SaccadeControllerEyeConfigurator::paramChanged(), LJunctionChannel::paramChanged(), MotionOpticalFlowChannel::paramChanged(), FrameGrabberConfigurator::paramChanged(), EyeHeadControllerConfigurator::paramChanged(), InferoTemporalConfigurator::paramChanged(), ContourChannel::paramChanged(), InputMbariFrameSeries::peekDims(), RasterInputSeries::peekFrameSpec(), RTSPGrabber::peekFrameSpec(), DC1394Grabber2::peekFrameSpec(), V4L2grabber::peekFrameSpec(), XCgrabberFlex::peekFrameSpec(), V4Lgrabber::peekFrameSpec(), IEEE1394grabber::peekFrameSpec(), QuickTimeGrabber::peekFrameSpec(), InputFrameSeries::peekFrameSpec(), XCgrabber::peekFrameSpec(), SpatialMetrics::pix2deg(), SingleChannel::postProcessMap(), RawVisualCortex::postProcessOutputMap(), VisualCortexSurprise::postProcessOutputMap(), IntegerRawVisualCortex::postProcessOutputMap(), SimulationViewerStd::prepMapForDisplay(), XMLInput::readFrame(), Stimulus2D::readFrame(), RasterInputSeries::readFrame(), GameOfLifeInput::readFrame(), BufferedFrameIstream::readFrame(), V4L2grabber::readFrame(), SequenceFileStream::readFrame(), V4Lgrabber::readFrame(), GaborChannel::readFrom(), InputMbariFrameSeries::readRGB(), ParticleFilter::registerTopics(), InputFrameSeries::reset1(), OutputFrameSeries::reset1(), AttentionGateStd::reset1(), VisualBufferStd::retinalToBuffer(), RTSPGrabber::RTSPGrabber(), TCPcommunicator::run(), RTSPGrabber::run(), QtDisplayStream::run(), CudaSaliency::runSaliency(), WinnerTakeAllStdOptim::saccadicSuppression(), WinnerTakeAllStd::saccadicSuppression(), WinnerTakeAllTempNote::saccadicSuppression(), SaliencyMapFast::saccadicSuppression(), WinnerTakeAllFast::saccadicSuppression(), SaliencyMapTrivial::saccadicSuppression(), TaskRelevanceMapTigs::save1(), SimulationViewerHand::save1(), SimulationViewerStd::save1(), TaskRelevanceMapAdapter::save1(), SimulationViewerEyeHand::save1(), SimulationViewerEyeMvt::save1(), AttentionGuidanceMap::save1(), SimulationViewerEyeMvtNeuro::save1(), TaskRelevanceMapKillStatic::save1(), TaskRelevanceMapTigs2::save1(), RetinaAdapter::save1(), SimulationViewerStats::save1(), SimulationViewerStats::saveAGMaskStats(), SimulationViewerStats::saveCompat(), MbariResultViewer::savePositions(), MbariResultViewer::saveProperties(), RawVisualCortex::saveResults(), ComplexChannel::saveResults(), IntegerComplexChannel::saveResults(), IntegerRawVisualCortex::saveResults(), IntegerSimpleChannel::saveResults(), SimulationViewerSurpCont::saveResults(), SingleChannel::saveResults(), SpectralResidualChannel::saveResults(), SingleChannel::saveStats(), MbariResultViewer::saveVisualEventSet(), Beowulf::send(), VCC4::SendRawCommand(), SimulationViewerSurpCont::setBrain(), SingleChannel::setClipPyramid(), SequenceFileStream::setFileName(), DescriptorVec::setFovea(), OutputFrameSeries::shouldWait(), InputFrameSeries::shouldWait(), SimulationViewerCompress::SimulationViewerCompress(), SingleChannel::SingleChannel(), SaliencyMapFeatureExtractor::start1(), SingleChannelSurprise< SMODEL >::start1(), SpaceVariantEdgeModule::start1(), V4Lgrabber::start1(), RetinaAdapter::start1(), EyeTrackerDML::start1(), IntegerDirectionChannel::start1(), InferoTemporalHmax::start1(), SimulationViewerEyeHand::start1(), ModelManager::start1(), InferoTemporalSIFT::start1(), SubController::start1(), TCPcommunicator::start1(), RawVisualCortex::start1(), NeuralFieldModule::start1(), ThresholdSaccadeController::start1(), SimulationViewerEyeMvt2::start1(), DC1394Grabber2::start1(), InferoTemporalCudaHmax::start1(), SimulationViewerEyeRegion::start1(), SimulationViewerEyeMvtNeuro::start1(), XCgrabberFlex::start1(), SimulationViewerCompress::start1(), VisualCortexEyeMvt::start1(), SaliencyMT::start1(), VCC4::start1(), EyeTrackerEyeLink::start1(), EyeTrackerISCAN::start1(), CompositeColorChannel::start1(), TargetChecker::start1(), TaskRelevanceMapKillN::start1(), ImagizeColorChannel::start1(), SupColliculusModule::start1(), EnvVisualCortexBase::start1(), PrefrontalCortexSB::start1(), SimulationViewerEyeMvt::start1(), VisualBufferStd::start1(), CornerNavigation::start1(), BeoSub::start1(), ContourChannel::start1(), DirectFeedChannel::start1(), SingleChannel::start1(), TrackerHandController::start1(), ScorbotController::start1(), DisparityChannel::start1(), DKLcolorChannel::start1(), HttpServer::start1(), V4L2grabber::start1(), TaskRelevanceMapSocial::start1(), EyeTrackerTIL::start1(), XCgrabber::start1(), IEEE1394grabber::start1(), EyeTrackerEyeHeadController::start1(), IntegerSimpleChannel::start1(), InferoTemporalStd::start1(), InferoTemporalSalBayes::start1(), SimulationViewerEyeSim::start1(), RobotBrainStimulator::start1(), TigsJob::start2(), Context::start2(), FeatureExtractor::start2(), AudioGrabber::start2(), SimulationViewerNerdCam::start2(), FuzzyART::start2(), DirectionChannel::start2(), IntegerComplexChannel::start2(), SDLdisplay::start2(), SerialAdvanced::start2(), EyeTrackerISCAN::start2(), SimulationViewerStd::start2(), AudioMixer::start2(), NeoBrain::start2(), SimulationViewerRecStats::start2(), SVMClassifierModule::start2(), DiskDataStream::start2(), Serial::start2(), GentleBoostComponent::start2(), ComplexChannel::start2(), EyeSFile::start2(), RobotBrainComponent::start2(), BeoPilot::start3(), BeoSonar::start3(), EyeTrackerISCAN::startTracking(), Context::stop1(), FeatureExtractor::stop1(), EyeTrackerEyeLink::stop1(), InferoTemporalHmax::stop1(), SVMClassifierModule::stop1(), InferoTemporalStd::stop1(), GentleBoostComponent::stop1(), SimulationViewerEyeMvtNeuro::stop1(), InferoTemporalSIFT::stop1(), EventLog::stop2(), XCgrabber::stop2(), EnvVisualCortexBase::stop2(), EyeTrackerISCAN::stopTracking(), SingleChannel::storePyramid(), SingleOpponentChannel::storePyramid2(), SubController::SubController(), TaskRelevanceMapGistClassify::TaskRelevanceMapGistClassify(), TaskRelevanceMapTigs::TaskRelevanceMapTigs(), TaskRelevanceMapTigs2::TaskRelevanceMapTigs2(), VisualTracker::trackObjects(), RetinaCT::transform(), SpaceVariantDoGModule::transformDoG(), SpaceVariantDoGModule::transformDoGPyramid(), SpaceVariantEdgeModule::transformEdge(), SpaceVariantEdgeModule::transformEdgePyramid(), InputFrameSeries::update(), OutputFrameSeries::update(), VisionBrainComponentI::updateMessage(), RetinaI::updateMessage(), MovementControllerI::updateMessage(), VisualCortexSurprise::VisualCortexSurprise(), SDLdisplay::waitNextRequestedFrameTime(), SDLdisplay::waitNextRequestedVsync(), RasterOutputSeries::writeFrame(), ImageDisplayStream::writeFrame(), OutputFrameSeries::writeFrame(), QtDisplayStream::writeFrame(), DiskDataStream::writeFrame(), SDLdisplayStream::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(), and SRC_POS.

template<class T>
virtual std::string OModelParam< T >::getValString (  )  const [inline, virtual]
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.

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]
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(), and SRC_POS.

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 Sun May 8 08:43:38 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3