CMS 3D CMS Logo

IgView Class Reference

#include <Iguana/Studio/interface/IgView.h>

Inheritance diagram for IgView:

Ig3DBaseWindow IgIVView Ig2DWindow Ig3DWindow IgLegoWindow IgRPhiWindow IgRZWindow IgSpareWindow

List of all members.

Public Member Functions

 IgView (IgPage *page)
IgPagepage (void)
void setTitle (const char *name)
virtual IgStatestate (void)
std::string title (void) const
virtual ~IgView (void)

Private Attributes

IgPagem_page
std::string m_title


Detailed Description

Definition at line 20 of file IgView.h.


Constructor & Destructor Documentation

IgView::IgView ( IgPage page  ) 

Definition at line 17 of file IgView.cc.

References ASSERT, and m_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 }

IgView::~IgView ( void   )  [virtual]

Definition at line 26 of file IgView.cc.

References ASSERT, and m_page.

00027 {
00028     // FIXME: deregister from page
00029     ASSERT (m_page);
00030 }


Member Function Documentation

IgPage * IgView::page ( void   ) 

Definition at line 33 of file IgView.cc.

References m_page.

Referenced by IgSpareWindow::initCategories(), Ig3DBaseWindow::initCategories(), IgRZWindow::initCategories(), Ig3DWindow::initCategories(), Ig2DWindow::initCategories(), IgRPhiWindow::initCategories(), IgLegoWindow::initCategories(), and Ig3DBaseWindow::watchBrowser().

00034 {
00035     return m_page;    
00036 }

void IgView::setTitle ( const char *  name  ) 

Definition at line 51 of file IgView.cc.

References ASSERT, and m_title.

Referenced by Ig2DWindow::Ig2DWindow(), Ig3DWindow::Ig3DWindow(), IgLegoWindow::IgLegoWindow(), IgRPhiWindow::IgRPhiWindow(), IgRZWindow::IgRZWindow(), IgSpareWindow::IgSpareWindow(), and Ig3DBaseWindow::watchBrowser().

00052 {
00053     ASSERT (title);    
00054     m_title = title;    
00055 }

IgState * IgView::state ( void   )  [virtual]

Reimplemented in Ig3DBaseWindow, and IgIVView.

Definition at line 39 of file IgView.cc.

References m_page, and IgPage::state().

Referenced by IgViewCreator::createView(), and IgQtFocusManager::windowActivated().

00040 {
00041     return m_page->state ();    
00042 }

std::string IgView::title ( void   )  const

Definition at line 45 of file IgView.cc.

References m_title.

Referenced by Ig3DBaseWindow::print(), IgPage::registerView(), and Ig3DBaseWindow::watchBrowser().

00046 {
00047     return m_title;    
00048 }


Member Data Documentation

IgPage* IgView::m_page [private]

Definition at line 36 of file IgView.h.

Referenced by IgView(), page(), state(), and ~IgView().

std::string IgView::m_title [private]

Definition at line 37 of file IgView.h.

Referenced by setTitle(), and title().


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