#include <VisFramework/VisFrameworkBase/interface/VisConfigurable.h>
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 | |
VisConfigurable & | operator= (const VisConfigurable &rh) |
Private Attributes | |
IgState * | m_state |
Definition at line 18 of file VisConfigurable.h.
VisConfigurable::VisConfigurable | ( | IgState * | state | ) | [inline] |
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 }
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] |
VisConfigurable& VisConfigurable::operator= | ( | const VisConfigurable & | rh | ) | [private] |
virtual void VisConfigurable::set | ( | const std::string & | input | ) | [pure virtual] |
IgState* VisConfigurable::m_state [private] |
Definition at line 35 of file VisConfigurable.h.
Referenced by baseInit(), VisConfigurable(), and ~VisConfigurable().