CMS 3D CMS Logo

IgViewCreator Class Reference

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

List of all members.

Public Slots

void createView (void)

Public Member Functions

 IgViewCreator (IgViewDB::Iterator &i, IgPage *page)

Private Attributes

IgViewDB::Iterator m_iterator
IgPagem_page


Detailed Description

Definition at line 22 of file IgViewCreator.h.


Constructor & Destructor Documentation

IgViewCreator::IgViewCreator ( IgViewDB::Iterator i,
IgPage page 
)

Definition at line 18 of file IgViewCreator.cc.

00019     : m_page (page),
00020       m_iterator (i)
00021 {
00022 }


Member Function Documentation

void IgViewCreator::createView ( void   )  [slot]

Definition at line 25 of file IgViewCreator.cc.

References m_page, and IgView::state().

00026 {
00027     // FIXME: IgView API is pretty small so that we have to explicitly
00028     // call show () in the Ig*View constructor in order to be able to
00029     // show the MDI window. It would be nice to have IgView::show() so
00030     // that view writers don't have to call it... But maybe
00031     // not...Let's wait for Lassi to see what he thinks...
00032     IgView* view = (*m_iterator)->create (m_page);
00033     if (!view->state ())
00034       delete view;
00035 }


Member Data Documentation

IgViewDB::Iterator IgViewCreator::m_iterator [private]

Definition at line 34 of file IgViewCreator.h.

IgPage* IgViewCreator::m_page [private]

Definition at line 33 of file IgViewCreator.h.

Referenced by createView().


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