11 #ifndef CXLOGICMANAGER_H_ 12 #define CXLOGICMANAGER_H_ 14 #include "cxLogicManagerExport.h" 16 #include <boost/shared_ptr.hpp> 19 class ctkPluginContext;
51 virtual bool exists()
const = 0;
76 static void initializeBasic();
85 static void shutdown();
93 void setApplicationComponent(ApplicationComponentPtr component);
101 void restartWithNewProfile(QString uid);
103 void restartServicesWithProfile(QString uid);
105 PluginFrameworkManagerPtr getPluginFramework();
106 ctkPluginContext* getPluginContext();
108 TrackingServicePtr getTrackingService();
109 SpaceProviderPtr getSpaceProvider();
110 PatientModelServicePtr getPatientModelService();
111 VideoServicePtr getVideoService();
112 StateServicePtr getStateService();
113 ViewServicePtr getViewService();
114 SessionStorageServicePtr getSessionStorageService();
118 void onRestartWithNewProfile(QString uid);
124 void initializeServices();
131 void shutdownServices();
134 void createLegacyStoredServices();
135 void shutdownLegacyStoredServices();
138 void shutdownService(boost::shared_ptr<T>& service, QString name);
150 SpaceProviderPtr mSpaceProvider;
151 PatientModelServicePtr mPatientModelService;
152 TrackingServicePtr mTrackingService;
153 VideoServicePtr mVideoService;
154 StateServicePtr mStateService;
155 ViewServicePtr mViewService;
156 SessionStorageServicePtr mSessionStorageService;
158 PluginFrameworkManagerPtr mPluginFramework;
159 ApplicationComponentPtr mComponent;
boost::shared_ptr< class SpaceProvider > SpaceProviderPtr
boost::shared_ptr< class FileManagerService > FileManagerServicePtr
boost::shared_ptr< class VideoService > VideoServicePtr
boost::shared_ptr< class ApplicationComponent > ApplicationComponentPtr
boost::shared_ptr< class AcquisitionService > AcquisitionServicePtr
boost::shared_ptr< class StateService > StateServicePtr
virtual bool exists() const =0
boost::shared_ptr< class TrackingService > TrackingServicePtr
Control the custusx backend.
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
LogicManager * logicManager()
boost::shared_ptr< class PluginFrameworkManager > PluginFrameworkManagerPtr
boost::shared_ptr< class SessionStorageService > SessionStorageServicePtr
virtual ~ApplicationComponent()
Namespace for all CustusX production code.