CMS 3D CMS Logo

VisAppearanceService Class Reference

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

Inheritance diagram for VisAppearanceService:

IgStateElement

List of all members.

Public Member Functions

const std::string configuration (void) const
void setConfiguration (const std::string config)
 VisAppearanceService (IgState *state)
 ~VisAppearanceService (void)

Private Member Functions

 IG_DECLARE_STATE_ELEMENT (VisAppearanceService)

Private Attributes

std::string m_config
IgStatem_state


Detailed Description

Definition at line 15 of file VisAppearanceService.h.


Constructor & Destructor Documentation

VisAppearanceService::VisAppearanceService ( IgState state  ) 

Definition at line 19 of file VisAppearanceService.cc.

References ASSERT, and IgState::put().

00020     : m_state (state),
00021       m_config ("Default")
00022 {    
00023     ASSERT (state);
00024     state->put (s_key, this);
00025 }

VisAppearanceService::~VisAppearanceService ( void   ) 

Definition at line 27 of file VisAppearanceService.cc.

References ASSERT, IgState::detach(), and m_state.

00028 {    
00029     ASSERT (m_state);
00030     m_state->detach (s_key);
00031 }


Member Function Documentation

const std::string VisAppearanceService::configuration ( void   )  const [inline]

Definition at line 36 of file VisAppearanceService.h.

References m_config.

00037 { return m_config; }

VisAppearanceService::IG_DECLARE_STATE_ELEMENT ( VisAppearanceService   )  [private]

void VisAppearanceService::setConfiguration ( const std::string  config  ) 

Definition at line 34 of file VisAppearanceService.cc.

References m_config.

Referenced by VisWebFrameworkService::doInitSession(), and VisMainProgram::init().

00035 { 
00036     m_config = config;
00037 }


Member Data Documentation

std::string VisAppearanceService::m_config [private]

Definition at line 29 of file VisAppearanceService.h.

Referenced by configuration(), and setConfiguration().

IgState* VisAppearanceService::m_state [private]

Definition at line 28 of file VisAppearanceService.h.

Referenced by ~VisAppearanceService().


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