CustusX  16.5
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::LogicManager Class Reference

Control the custusx backend. More...

#include <cxLogicManager.h>

Inheritance diagram for cx::LogicManager:

Public Member Functions

void setApplicationComponent (ApplicationComponentPtr component)
void restartWithNewProfile (QString uid)
PluginFrameworkManagerPtr getPluginFramework ()
ctkPluginContext * getPluginContext ()
TrackingServicePtr getTrackingService ()
SpaceProviderPtr getSpaceProvider ()
PatientModelServicePtr getPatientModelService ()
VideoServicePtr getVideoService ()
StateServicePtr getStateService ()
ViewServicePtr getViewService ()
SessionStorageServicePtr getSessionStorageService ()

Static Public Member Functions

static LogicManagergetInstance ()
static void initializeBasic ()
static void initialize (ApplicationComponentPtr component=ApplicationComponentPtr())
static void shutdown ()

Detailed Description

Control the custusx backend.

Definition at line 73 of file cxLogicManager.h.

Member Function Documentation

LogicManager * cx::LogicManager::getInstance ( )

Definition at line 270 of file cxLogicManager.cpp.

PatientModelServicePtr cx::LogicManager::getPatientModelService ( )

Definition at line 233 of file cxLogicManager.cpp.

ctkPluginContext * cx::LogicManager::getPluginContext ( )

Definition at line 265 of file cxLogicManager.cpp.

PluginFrameworkManagerPtr cx::LogicManager::getPluginFramework ( )

Definition at line 261 of file cxLogicManager.cpp.

SessionStorageServicePtr cx::LogicManager::getSessionStorageService ( )

Definition at line 257 of file cxLogicManager.cpp.

SpaceProviderPtr cx::LogicManager::getSpaceProvider ( )

Definition at line 249 of file cxLogicManager.cpp.

StateServicePtr cx::LogicManager::getStateService ( )

Definition at line 245 of file cxLogicManager.cpp.

TrackingServicePtr cx::LogicManager::getTrackingService ( )

Definition at line 237 of file cxLogicManager.cpp.

VideoServicePtr cx::LogicManager::getVideoService ( )

Definition at line 241 of file cxLogicManager.cpp.

ViewServicePtr cx::LogicManager::getViewService ( )

Definition at line 253 of file cxLogicManager.cpp.

void cx::LogicManager::initialize ( ApplicationComponentPtr  component = ApplicationComponentPtr())

Initialize the manager, including all services (calls initializeServices() ).

Definition at line 108 of file cxLogicManager.cpp.

void cx::LogicManager::initializeBasic ( )

Initialize the minimal manager, no services.

Add services manually afterwards using getPluginFramework()->start("", ctkPlugin::START_TRANSIENT);

In order to insert a main UI, remember to call setApplicationComponent()

Definition at line 103 of file cxLogicManager.cpp.

void cx::LogicManager::restartWithNewProfile ( QString  uid)

Do a complete restart of the system: Shutdown all components, Then restart all of them. This is done asynchronolusly.

Definition at line 178 of file cxLogicManager.cpp.

void cx::LogicManager::setApplicationComponent ( ApplicationComponentPtr  component)

Set an application component, intended to encapsulate the application's main window or similar. Must be called after initialize.

Component will be created here and destroyed in shutdown.

Definition at line 167 of file cxLogicManager.cpp.

void cx::LogicManager::shutdown ( )

Shutdown the manager, including all services (calls shutdownServices() ).

Definition at line 117 of file cxLogicManager.cpp.

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