ChannelFacetScalarComplex Class Reference

Specialization of ChannelFacetScalar for ComplexChannel. More...

#include <Channels/ChannelFacetScalar.H>

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

List of all members.

Public Member Functions

virtual ~ChannelFacetScalarComplex ()
 Destructor.
void setVal (const uint subchan, const double val)
 Set a value.
double getVal (const uint subchan) const
 Get a value.
virtual void writeTo (ParamMap &pmap) const
 Write our data out to a ParamMap.
virtual void readFrom (const ParamMap &pmap)
 Read our data back in from a ParamMap.

Protected Member Functions

 ChannelFacetScalarComplex (const ComplexChannel &chan, const double initval)
 Constructor.

Detailed Description

Specialization of ChannelFacetScalar for ComplexChannel.

This class holds one or more named scalar parameters per subchannel of the ComplexChannel. Note that this should be called after the model has been start()'ed since we will in our constructor query the ComplexChannel to determine how many subchannels it has. Typically, PreFrontalCortex would be in charge of installing these facets by using a ChannelVisitor depending on the type of extra top-down attention components being used.

Definition at line 124 of file ChannelFacetScalar.H.


Constructor & Destructor Documentation

ChannelFacetScalarComplex::~ChannelFacetScalarComplex (  )  [virtual]

Destructor.

Definition at line 131 of file ChannelFacetScalar.C.

ChannelFacetScalarComplex::ChannelFacetScalarComplex ( const ComplexChannel chan,
const double  initval 
) [protected]

Constructor.

Definition at line 125 of file ChannelFacetScalar.C.


Member Function Documentation

double ChannelFacetScalarComplex::getVal ( const uint  subchan  )  const

Get a value.

Definition at line 144 of file ChannelFacetScalar.C.

References ASSERT.

void ChannelFacetScalarComplex::readFrom ( const ParamMap pmap  )  [virtual]

Read our data back in from a ParamMap.

Implements ChannelFacet.

Definition at line 161 of file ChannelFacetScalar.C.

References ParamMap::getDoubleParam(), ParamMap::hasParam(), and sformat().

void ChannelFacetScalarComplex::setVal ( const uint  subchan,
const double  val 
)

Set a value.

Definition at line 136 of file ChannelFacetScalar.C.

References ASSERT.

void ChannelFacetScalarComplex::writeTo ( ParamMap pmap  )  const [virtual]

Write our data out to a ParamMap.

Implements ChannelFacet.

Definition at line 151 of file ChannelFacetScalar.C.

References ParamMap::putDoubleParam(), and sformat().


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