ChannelFacetMap Class Reference

Mix-in class designed to be inherited to provide facets to the subclass. More...

#include <Channels/ChannelFacet.H>

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

List of all members.

Classes

struct  Impl

Public Member Functions

 ChannelFacetMap ()
 Default constructor.
virtual ~ChannelFacetMap ()
 Virtual destructor.
void writeFacetsTo (ParamMap &pmap) const
 Write our facets out to a ParamMap.
void readFacetsFrom (const ParamMap &pmap)
 Read our facets back in from a ParamMap.
template<class T >
bool hasFacet () const
 Query if we have a facet of type T.
template<class T >
rutz::shared_ptr< T > getFacet () const
 Get the facet of type T.
template<class T >
void setFacet (rutz::shared_ptr< T > f)
 Install a facet of type T.
unsigned int numFacets () const
 Number of installed facets.

Detailed Description

Mix-in class designed to be inherited to provide facets to the subclass.

This map can hold various ChannelFacet elements and provides a basic interface to add/retrieve ChannelFacet elements. SingleChannel and ComplexChannel both inherit from ChannelFacetMap.

Definition at line 79 of file ChannelFacet.H.


Constructor & Destructor Documentation

ChannelFacetMap::ChannelFacetMap (  ) 

Default constructor.

Definition at line 63 of file ChannelFacet.C.

ChannelFacetMap::~ChannelFacetMap (  )  [virtual]

Virtual destructor.

Definition at line 69 of file ChannelFacet.C.


Member Function Documentation

template<class T >
rutz::shared_ptr< T > ChannelFacetMap::getFacet (  )  const [inline]
template<class T >
bool ChannelFacetMap::hasFacet (  )  const [inline]
unsigned int ChannelFacetMap::numFacets (  )  const

Number of installed facets.

Definition at line 104 of file ChannelFacet.C.

void ChannelFacetMap::readFacetsFrom ( const ParamMap pmap  ) 
template<class T >
void ChannelFacetMap::setFacet ( rutz::shared_ptr< T >  f  )  [inline]
void ChannelFacetMap::writeFacetsTo ( ParamMap pmap  )  const

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