CustusX
20.03-rc1
An IGT application
|
Control the custusx backend. More...
#include <cxLogicManager.h>
Public Member Functions | |
void | setApplicationComponent (ApplicationComponentPtr component) |
void | restartWithNewProfile (QString uid) |
void | restartServicesWithProfile (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 LogicManager * | getInstance () |
static void | initializeBasic () |
static void | initialize (ApplicationComponentPtr component=ApplicationComponentPtr()) |
static void | shutdown () |
Control the custusx backend.
Definition at line 60 of file cxLogicManager.h.
|
static |
Definition at line 234 of file cxLogicManager.cpp.
PatientModelServicePtr cx::LogicManager::getPatientModelService | ( | ) |
Definition at line 191 of file cxLogicManager.cpp.
ctkPluginContext * cx::LogicManager::getPluginContext | ( | ) |
Definition at line 229 of file cxLogicManager.cpp.
PluginFrameworkManagerPtr cx::LogicManager::getPluginFramework | ( | ) |
Definition at line 225 of file cxLogicManager.cpp.
SessionStorageServicePtr cx::LogicManager::getSessionStorageService | ( | ) |
Definition at line 215 of file cxLogicManager.cpp.
SpaceProviderPtr cx::LogicManager::getSpaceProvider | ( | ) |
Definition at line 207 of file cxLogicManager.cpp.
StateServicePtr cx::LogicManager::getStateService | ( | ) |
Definition at line 203 of file cxLogicManager.cpp.
TrackingServicePtr cx::LogicManager::getTrackingService | ( | ) |
Definition at line 195 of file cxLogicManager.cpp.
VideoServicePtr cx::LogicManager::getVideoService | ( | ) |
Definition at line 199 of file cxLogicManager.cpp.
ViewServicePtr cx::LogicManager::getViewService | ( | ) |
Definition at line 211 of file cxLogicManager.cpp.
|
static |
Initialize the manager, including all services (calls initializeServices() ).
Definition at line 52 of file cxLogicManager.cpp.
|
static |
Initialize the minimal manager, no services.
Add services manually afterwards using getPluginFramework()->start("org.custusx.plugin.name", ctkPlugin::START_TRANSIENT);
In order to insert a main UI, remember to call setApplicationComponent()
Definition at line 47 of file cxLogicManager.cpp.
void cx::LogicManager::restartServicesWithProfile | ( | QString | uid | ) |
Definition at line 138 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 124 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 113 of file cxLogicManager.cpp.
|
static |
Shutdown the manager, including all services (calls shutdownServices() ).
Definition at line 61 of file cxLogicManager.cpp.