CMS 3D CMS Logo

IgView.cc

Go to the documentation of this file.
00001 //<<<<<< INCLUDES                                                       >>>>>>
00002 
00003 #include "Iguana/Studio/interface/IgView.h"
00004 #include "Iguana/Studio/interface/IgPage.h"
00005 #include <classlib/utils/DebugAids.h>
00006 
00007 //<<<<<< PRIVATE DEFINES                                                >>>>>>
00008 //<<<<<< PRIVATE CONSTANTS                                              >>>>>>
00009 //<<<<<< PRIVATE TYPES                                                  >>>>>>
00010 //<<<<<< PRIVATE VARIABLE DEFINITIONS                                   >>>>>>
00011 //<<<<<< PUBLIC VARIABLE DEFINITIONS                                    >>>>>>
00012 //<<<<<< CLASS STRUCTURE INITIALIZATION                                 >>>>>>
00013 //<<<<<< PRIVATE FUNCTION DEFINITIONS                                   >>>>>>
00014 //<<<<<< PUBLIC FUNCTION DEFINITIONS                                    >>>>>>
00015 //<<<<<< MEMBER FUNCTION DEFINITIONS                                    >>>>>>
00016 
00017 IgView::IgView (IgPage *page)
00018     : m_page (page),
00019       m_title ("")
00020 {
00021     ASSERT (m_page);
00022     // FIXME: register into the page    
00023     // FIXME: control panels, wizards etc.
00024 }
00025 
00026 IgView::~IgView (void)
00027 {
00028     // FIXME: deregister from page
00029     ASSERT (m_page);
00030 }
00031 
00032 IgPage *
00033 IgView::page (void)
00034 {
00035     return m_page;    
00036 }
00037 
00038 IgState *
00039 IgView::state (void)
00040 {
00041     return m_page->state ();    
00042 }
00043 
00044 std::string
00045 IgView::title (void) const
00046 {
00047     return m_title;    
00048 }
00049 
00050 void
00051 IgView::setTitle (const char *title)
00052 {
00053     ASSERT (title);    
00054     m_title = title;    
00055 }

Generated on Tue Jun 9 17:38:50 2009 for CMSSW by  doxygen 1.5.4