00001 //<<<<<< INCLUDES >>>>>> 00002 00003 #include "VisFramework/VisFrameworkBase/interface/VisAppearanceService.h" 00004 #include "Iguana/Framework/interface/IgArgsElement.h" 00005 00006 //<<<<<< PRIVATE DEFINES >>>>>> 00007 //<<<<<< PRIVATE CONSTANTS >>>>>> 00008 //<<<<<< PRIVATE TYPES >>>>>> 00009 //<<<<<< PRIVATE VARIABLE DEFINITIONS >>>>>> 00010 //<<<<<< PUBLIC VARIABLE DEFINITIONS >>>>>> 00011 //<<<<<< CLASS STRUCTURE INITIALIZATION >>>>>> 00012 00013 IG_DEFINE_STATE_ELEMENT (VisAppearanceService, "Services/Framework/Appearance"); 00014 00015 //<<<<<< PRIVATE FUNCTION DEFINITIONS >>>>>> 00016 //<<<<<< PUBLIC FUNCTION DEFINITIONS >>>>>> 00017 //<<<<<< MEMBER FUNCTION DEFINITIONS >>>>>> 00018 00019 VisAppearanceService::VisAppearanceService (IgState *state) 00020 : m_state (state), 00021 m_config ("Default") 00022 { 00023 ASSERT (state); 00024 state->put (s_key, this); 00025 } 00026 00027 VisAppearanceService::~VisAppearanceService (void) 00028 { 00029 ASSERT (m_state); 00030 m_state->detach (s_key); 00031 } 00032 00033 void 00034 VisAppearanceService::setConfiguration (const std::string config) 00035 { 00036 m_config = config; 00037 }