32 #ifndef CXLOGICMANAGER_H_ 33 #define CXLOGICMANAGER_H_ 35 #include "cxLogicManagerExport.h" 37 #include <boost/shared_ptr.hpp> 40 class ctkPluginContext;
71 virtual bool exists()
const = 0;
96 static void initializeBasic();
105 static void shutdown();
113 void setApplicationComponent(ApplicationComponentPtr component);
121 void restartWithNewProfile(QString uid);
123 void restartServicesWithProfile(QString uid);
125 PluginFrameworkManagerPtr getPluginFramework();
126 ctkPluginContext* getPluginContext();
128 TrackingServicePtr getTrackingService();
129 SpaceProviderPtr getSpaceProvider();
130 PatientModelServicePtr getPatientModelService();
131 VideoServicePtr getVideoService();
132 StateServicePtr getStateService();
133 ViewServicePtr getViewService();
134 SessionStorageServicePtr getSessionStorageService();
137 void onRestartWithNewProfile(QString uid);
143 void initializeServices();
150 void shutdownServices();
153 void createLegacyStoredServices();
154 void shutdownLegacyStoredServices();
157 void shutdownService(boost::shared_ptr<T>& service, QString name);
169 SpaceProviderPtr mSpaceProvider;
170 PatientModelServicePtr mPatientModelService;
171 TrackingServicePtr mTrackingService;
172 VideoServicePtr mVideoService;
173 StateServicePtr mStateService;
174 ViewServicePtr mViewService;
175 SessionStorageServicePtr mSessionStorageService;
177 PluginFrameworkManagerPtr mPluginFramework;
178 ApplicationComponentPtr mComponent;
boost::shared_ptr< class SpaceProvider > SpaceProviderPtr
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.