
#include <Channels/ChannelFacet.H>
Inheritance diagram for ChannelFacetMap:


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.
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. | |
Classes | |
| struct | Impl |
|
|
Default constructor.
Definition at line 63 of file ChannelFacet.C. |
|
|
Virtual destructor.
Definition at line 69 of file ChannelFacet.C. |
|
|||||||||
|
Get the facet of type T. Will throw an exception if there is no such facet (check hasFacet() first). Definition at line 137 of file ChannelFacet.H. References ASSERT, rutz::demangled_name(), rutz::shared_ptr< T >::get(), and LFATAL. Referenced by OptimalGainsFinder::visitComplexChannel(), GuidedSearchBiaser::visitComplexChannel(), OptimalGainsFinder::visitSingleChannel(), and GuidedSearchBiaser::visitSingleChannel(). |
|
|||||||||
|
Query if we have a facet of type T.
Definition at line 130 of file ChannelFacet.H. Referenced by OptimalGainsFinder::visitComplexChannel(), GuidedSearchBiaser::visitComplexChannel(), ChannelVisitorInstallFacet< CFS, CFC >::visitComplexChannel(), OptimalGainsFinder::visitSingleChannel(), GuidedSearchBiaser::visitSingleChannel(), and ChannelVisitorInstallFacet< CFS, CFC >::visitSingleChannel(). |
|
|
Number of installed facets.
Definition at line 104 of file ChannelFacet.C. References ChannelFacetMap::Impl::facets. |
|
|
Read our facets back in from a ParamMap.
Definition at line 88 of file ChannelFacet.C. References ChannelFacetMap::Impl::facets, ParamMap::getSubpmap(), ParamMap::hasParam(), LFATAL, name, and lobot::stop(). Referenced by SingleChannel::readFrom(), IntegerSimpleChannel::readFrom(), IntegerComplexChannel::readFrom(), and ComplexChannel::readFrom(). |
|
||||||||||
|
Install a facet of type T. This will replace any previous such facet. Definition at line 157 of file ChannelFacet.H. |
|
|
Write our facets out to a ParamMap.
Definition at line 75 of file ChannelFacet.C. References ChannelFacetMap::Impl::facets, ParamMap::putSubpmap(), and lobot::stop(). Referenced by SingleChannel::writeTo(), IntegerSimpleChannel::writeTo(), IntegerComplexChannel::writeTo(), and ComplexChannel::writeTo(). |
1.4.4