Diana Software
Public Member Functions | Private Attributes | List of all members
QGSessionHandler Class Reference

Class to handle saving and opening sessions. More...

Public Member Functions

 QGSessionHandler ()
 Constructor. More...
 
virtual ~QGSessionHandler ()
 Destructor. More...
 
void OpenSession (QGCanvasWindow *window=0)
 Open session. More...
 
void OpenSession (std::string filename, QGCanvasWindow *window=0)
 Open session. More...
 
void SaveSession ()
 Save session. More...
 
void SaveSession (std::string filename)
 Save session. More...
 

Private Attributes

std::map< std::string, QGCanvasWindow * > fCanvasWindowsMap
 Collection of canvas windows created by OpenSession. More...
 
QGCalibrationWindowfCurrentCalibrationWindow
 Current calibration window being created by OpenSession. More...
 
QGCanvasWindowfCurrentCanvasWindow
 Current canvas window being created by OpenSession. More...
 
QGPlotfCurrentPlot
 Current plot being created by OpenSession. More...
 

Detailed Description

Class to handle saving and opening sessions.

Author
Adam Bryant (adam_.nosp@m.brya.nosp@m.nt@be.nosp@m.rkel.nosp@m.ey.ed.nosp@m.u)

Definition at line 20 of file QGSessionHandler.hh.

Constructor & Destructor Documentation

◆ QGSessionHandler()

QGSessionHandler::QGSessionHandler ( )

Constructor.

Definition at line 33 of file QGSessionHandler.cc.

◆ ~QGSessionHandler()

QGSessionHandler::~QGSessionHandler ( )
virtual

Destructor.

Definition at line 38 of file QGSessionHandler.cc.

Member Function Documentation

◆ OpenSession() [1/2]

void QGSessionHandler::OpenSession ( QGCanvasWindow window = 0)

◆ OpenSession() [2/2]

void QGSessionHandler::OpenSession ( std::string  filename,
QGCanvasWindow window = 0 
)

Open session.

◆ SaveSession() [1/2]

void QGSessionHandler::SaveSession ( )

◆ SaveSession() [2/2]

void QGSessionHandler::SaveSession ( std::string  filename)

Save session.

Member Data Documentation

◆ fCanvasWindowsMap

std::map<std::string, QGCanvasWindow*> QGSessionHandler::fCanvasWindowsMap
private

Collection of canvas windows created by OpenSession.

Definition at line 42 of file QGSessionHandler.hh.

◆ fCurrentCalibrationWindow

QGCalibrationWindow* QGSessionHandler::fCurrentCalibrationWindow
private

Current calibration window being created by OpenSession.

Definition at line 45 of file QGSessionHandler.hh.

◆ fCurrentCanvasWindow

QGCanvasWindow* QGSessionHandler::fCurrentCanvasWindow
private

Current canvas window being created by OpenSession.

Definition at line 48 of file QGSessionHandler.hh.

◆ fCurrentPlot

QGPlot* QGSessionHandler::fCurrentPlot
private

Current plot being created by OpenSession.

Definition at line 51 of file QGSessionHandler.hh.


The documentation for this class was generated from the following files: