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();
91 static bool isUbuntu2004();
99 void setApplicationComponent(ApplicationComponentPtr component);
107 void restartWithNewProfile(QString uid);
109 void restartServicesWithProfile(QString uid);
111 PluginFrameworkManagerPtr getPluginFramework();
112 ctkPluginContext* getPluginContext();
114 TrackingServicePtr getTrackingService();
115 SpaceProviderPtr getSpaceProvider();
116 PatientModelServicePtr getPatientModelService();
117 VideoServicePtr getVideoService();
118 StateServicePtr getStateService();
119 ViewServicePtr getViewService();
120 SessionStorageServicePtr getSessionStorageService();
124 void onRestartWithNewProfile(QString uid);
130 void initializeServices();
137 void shutdownServices();
138 void shutdownServicesLight();
141 void createLegacyStoredServices();
142 void shutdownLegacyStoredServices();
145 void shutdownService(boost::shared_ptr<T>& service, QString name);
157 SpaceProviderPtr mSpaceProvider;
158 PatientModelServicePtr mPatientModelService;
159 TrackingServicePtr mTrackingService;
160 VideoServicePtr mVideoService;
161 StateServicePtr mStateService;
162 ViewServicePtr mViewService;
163 SessionStorageServicePtr mSessionStorageService;
165 PluginFrameworkManagerPtr mPluginFramework;
166 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.