11 #ifndef CXLOGICMANAGER_H_ 12 #define CXLOGICMANAGER_H_ 14 #include "cxLogicManagerExport.h" 16 #include <boost/shared_ptr.hpp> 19 class ctkPluginContext;
50 virtual bool exists()
const = 0;
75 static void initializeBasic();
84 static void shutdown();
92 void setApplicationComponent(ApplicationComponentPtr component);
100 void restartWithNewProfile(QString uid);
102 void restartServicesWithProfile(QString uid);
104 PluginFrameworkManagerPtr getPluginFramework();
105 ctkPluginContext* getPluginContext();
107 TrackingServicePtr getTrackingService();
108 SpaceProviderPtr getSpaceProvider();
109 PatientModelServicePtr getPatientModelService();
110 VideoServicePtr getVideoService();
111 StateServicePtr getStateService();
112 ViewServicePtr getViewService();
113 SessionStorageServicePtr getSessionStorageService();
116 void onRestartWithNewProfile(QString uid);
122 void initializeServices();
129 void shutdownServices();
132 void createLegacyStoredServices();
133 void shutdownLegacyStoredServices();
136 void shutdownService(boost::shared_ptr<T>& service, QString name);
148 SpaceProviderPtr mSpaceProvider;
149 PatientModelServicePtr mPatientModelService;
150 TrackingServicePtr mTrackingService;
151 VideoServicePtr mVideoService;
152 StateServicePtr mStateService;
153 ViewServicePtr mViewService;
154 SessionStorageServicePtr mSessionStorageService;
156 PluginFrameworkManagerPtr mPluginFramework;
157 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.