14 #include <boost/bind.hpp>
34 mPluginContext(pluginContext),
37 this->initServiceListener();
41 void UsReconstructionServiceProxy::initServiceListener()
45 boost::bind(&UsReconstructionServiceProxy::onServiceAdded,
this, _1),
47 boost::bind(&UsReconstructionServiceProxy::onServiceRemoved,
this, _1)
49 mServiceListener->open();
51 void UsReconstructionServiceProxy::onServiceAdded(UsReconstructionService* service)
53 mUsReconstructionService.reset(service, null_deleter());
63 if(mUsReconstructionService->isNull())
64 reportWarning(
"UsReconstructionServiceProxy::onServiceAdded mVideoService->isNull()");
70 void UsReconstructionServiceProxy::onServiceRemoved(UsReconstructionService *service)
88 return mUsReconstructionService->isNull();
95 mUsReconstructionService->selectData(filename, calFilesPath);
100 mUsReconstructionService->selectData(data);
105 return mUsReconstructionService->getSelectedFilename();
110 return mUsReconstructionService->getSelectedFileData();
115 return mUsReconstructionService->getParam(uid);
125 return mUsReconstructionService->getAlgoOptions();
130 return mUsReconstructionService->getSettings();
135 return mUsReconstructionService->getOutputVolumeParams();
140 mUsReconstructionService->setOutputVolumeParams(par);
155 mUsReconstructionService->startReconstruction();
160 return mUsReconstructionService->getThreadedReconstruction();
165 return mUsReconstructionService->createAlgorithm();
170 return mUsReconstructionService->createCoreParameters();
175 return mUsReconstructionService->newDataOnDisk(mhdFilename);