Fraxinus  17.12-rc4
An IGT application
cx::SessionStorageServiceProxy Class Reference

#include <cxSessionStorageServiceProxy.h>

Inheritance diagram for cx::SessionStorageServiceProxy:
cx::SessionStorageService

Public Member Functions

 SessionStorageServiceProxy (ctkPluginContext *pluginContext)
 
virtual ~SessionStorageServiceProxy ()
 
virtual void load (QString dir)
 load session from dir, or create new session in this location if none exist More...
 
virtual void save ()
 Save all application data to XML file. More...
 
virtual void clear ()
 
virtual bool isValid () const
 
virtual QString getRootFolder () const
 
virtual bool isNull () const
 
- Public Member Functions inherited from cx::SessionStorageService
 SessionStorageService ()
 
virtual ~SessionStorageService ()
 
QString getSubFolder (QString relative)
 return and create a folder/path relative to root. Created if necessary. More...
 

Static Public Member Functions

static SessionStorageServicePtr create (ctkPluginContext *pluginContext)
 
- Static Public Member Functions inherited from cx::SessionStorageService
static SessionStorageServicePtr getNullObject ()
 

Additional Inherited Members

- Signals inherited from cx::SessionStorageService
void cleared ()
 emitted when session is cleared, before isLoading is called More...
 
void sessionChanged ()
 emitted after change to a new session (new or loaded or cleared) More...
 
void isSaving (QDomElement &root)
 xml storage is available More...
 
void isSavingSecond (QDomElement &root)
 Triggered after the isSaving signal, to allow for data that. More...
 
void isLoading (QDomElement &root)
 emitted while loading a session. Xml storage is available, getRootFolder() is set to loaded value. More...
 
void isLoadingSecond (QDomElement &root)
 Emitted after the isLoading signal, to allow for structures that must be loaded after core structures like PatientModel. More...
 

Detailed Description

Definition at line 48 of file cxSessionStorageServiceProxy.h.

Constructor & Destructor Documentation

cx::SessionStorageServiceProxy::SessionStorageServiceProxy ( ctkPluginContext *  pluginContext)

Definition at line 45 of file cxSessionStorageServiceProxy.cpp.

virtual cx::SessionStorageServiceProxy::~SessionStorageServiceProxy ( )
inlinevirtual

Definition at line 54 of file cxSessionStorageServiceProxy.h.

Member Function Documentation

void cx::SessionStorageServiceProxy::clear ( )
virtual

Implements cx::SessionStorageService.

Definition at line 100 of file cxSessionStorageServiceProxy.cpp.

SessionStorageServicePtr cx::SessionStorageServiceProxy::create ( ctkPluginContext *  pluginContext)
static

Definition at line 40 of file cxSessionStorageServiceProxy.cpp.

QString cx::SessionStorageServiceProxy::getRootFolder ( ) const
virtual

Implements cx::SessionStorageService.

Definition at line 110 of file cxSessionStorageServiceProxy.cpp.

bool cx::SessionStorageServiceProxy::isNull ( ) const
virtual

Implements cx::SessionStorageService.

Definition at line 115 of file cxSessionStorageServiceProxy.cpp.

bool cx::SessionStorageServiceProxy::isValid ( ) const
virtual

Implements cx::SessionStorageService.

Definition at line 105 of file cxSessionStorageServiceProxy.cpp.

void cx::SessionStorageServiceProxy::load ( QString  dir)
virtual

load session from dir, or create new session in this location if none exist

Implements cx::SessionStorageService.

Definition at line 90 of file cxSessionStorageServiceProxy.cpp.

void cx::SessionStorageServiceProxy::save ( )
virtual

Save all application data to XML file.

Implements cx::SessionStorageService.

Definition at line 95 of file cxSessionStorageServiceProxy.cpp.


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