CMS 3D CMS Logo

VisConfigurable Class Reference

#include <VisFramework/VisFrameworkBase/interface/VisConfigurable.h>

Inheritance diagram for VisConfigurable:

VisActiveConfigurable< T > VisActiveConfigurable< double > VisActiveConfigurable< int > VisActiveConfigurable< std::string > VisActiveConfigurable< unsigned int > VisAnimate VisAnnotateGeometry VisAutoPrint VisAutoStart VisCaloAnnotation VisCuTkAccessDbConnection VisCuTkAutoIntegrate VisCuTkCrossedModulesOnly VisGsfTrackDirection VisHcalShowHit VisHcalShowTower VisHiddenLineView VisMuonAnnotation VisShowDT4DSegmentChamber VisShowHitDets VisSimHitConnect VisSimTrackAnnotation VisTrackShowDets VisTrackShowHits VisTrackShowRefPoint VisVolatileGeometry VisBField VisCaloEnergyScale VisCaloJetEnergyCut VisCounterFrequency VisCounterMax VisCounterMin VisEcalEnergyCut VisEcalRMax VisEnergyCut VisHcalEnergyCut VisHcalRMax VisHFEnergyCut VisLegoScale VisMuonDt VisMuonT0 VisPhiDelta VisPhiStart VisPropagatorIn VisPropagatorOut VisPropagatorStep VisPtCut VisRMax VisSimTrackTime VisTrajectorySeedScale VisZMax VisSelectedTrackNumber VisAppMode VisBinningStrategy VisCuTkPixelClusterLabel VisCuTkPixelClusterProducer VisCuTkPixelDigiLabel VisCuTkPixelDigiProducer VisCuTkPixelRechitProducer VisCuTkSignalToIntegrate VisCuTkSimhitProducer VisCuTkStripClusterLabel VisCuTkStripClusterProducer VisCuTkStripDigiLabel VisCuTkStripDigiProducer VisCuTkStripRechitProducer VisCuTkTrackProducer VisExceptionMessage VisGsfTrackShape VisHcalColorCode VisSiStripCluster2dRep VisSiStripClusterRep VisTexture VisCuTkNevToIntegrate VisCuTkXSize VisCuTkYSize VisEventTimer VisPrintTimer VisSiStripClusterPointSize VisTrackerTrackLineThickness

List of all members.

Public Member Functions

virtual std::string get (void) const =0
virtual void set (const std::string &input)=0
 VisConfigurable (IgState *state)
virtual ~VisConfigurable (void)

Protected Member Functions

void baseInit (const std::string &iname)

Private Member Functions

VisConfigurableoperator= (const VisConfigurable &rh)

Private Attributes

IgStatem_state


Detailed Description

Definition at line 18 of file VisConfigurable.h.


Constructor & Destructor Documentation

VisConfigurable::VisConfigurable ( IgState state  )  [inline]

Definition at line 21 of file VisConfigurable.h.

References m_state.

00021 { m_state = state; }

VisConfigurable::~VisConfigurable ( void   )  [virtual]

Definition at line 17 of file VisConfigurable.cc.

References ASSERT, DBSPlugin::get(), and m_state.

00018 {
00019     VisConfiguration *configuration = VisConfiguration::get (m_state);
00020     ASSERT (configuration);
00021     (*configuration).erase (this);
00022 }


Member Function Documentation

void VisConfigurable::baseInit ( const std::string &  iname  )  [protected]

Definition at line 25 of file VisConfigurable.cc.

References ASSERT, DBSPlugin::get(), LFfwvis, LOG, m_state, and GsfMatrixTools::trace().

Referenced by VisActiveConfigurable< T >::VisActiveConfigurable().

00026 { 
00027     LOG (0, trace, LFfwvis, "VisConfigurable[" << iname 
00028          << "]::baseInit()\n");
00029 
00030     VisConfiguration *configuration = VisConfiguration::get (m_state);
00031     if (configuration == 0) 
00032     {
00033         configuration = new VisConfiguration (m_state);
00034     }
00035     
00036     ASSERT (configuration);
00037     (*configuration).insert (iname, this); 
00038 }

virtual std::string VisConfigurable::get ( void   )  const [pure virtual]

Implemented in VisActiveConfigurable< T >, VisActiveConfigurable< double >, VisActiveConfigurable< std::string >, VisActiveConfigurable< int >, and VisActiveConfigurable< unsigned int >.

VisConfigurable& VisConfigurable::operator= ( const VisConfigurable rh  )  [private]

virtual void VisConfigurable::set ( const std::string &  input  )  [pure virtual]

Implemented in VisActiveConfigurable< T >, VisActiveConfigurable< double >, VisActiveConfigurable< std::string >, VisActiveConfigurable< int >, and VisActiveConfigurable< unsigned int >.


Member Data Documentation

IgState* VisConfigurable::m_state [private]

Definition at line 35 of file VisConfigurable.h.

Referenced by baseInit(), VisConfigurable(), and ~VisConfigurable().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:35:10 2009 for CMSSW by  doxygen 1.5.4