26 mTools.push_back(tool);
27 report(
"Running dummy tool " + tool->getUid());
38 std::vector<ToolPtr> retval;
39 std::copy(mTools.begin(), mTools.end(), back_inserter(retval));
56 for (
unsigned i=0; i<mTools.size(); ++i)
58 mTools[i]->setVisible(
true);
59 mTools[i]->startTracking(30);
64 for (
unsigned i=0; i<mTools.size(); ++i)
66 mTools[i]->setVisible(
false);
67 mTools[i]->stopTracking();
TrackingSystemDummyService(DummyToolPtr tool)
virtual TrackerConfigurationPtr getConfiguration()
virtual void setState(const Tool::State val)
asynchronously request a state. Wait for signal stateChanged()
void stateChanged()
Reset time synchronization. Used for resetting time synchronization of incoming timestamps in OpenIGT...
virtual std::vector< ToolPtr > getTools()
boost::shared_ptr< class DummyTool > DummyToolPtr
boost::shared_ptr< class TrackerConfiguration > TrackerConfigurationPtr
static TrackerConfigurationPtr getNullObject()
virtual ~TrackingSystemDummyService()
virtual void setLoggingFolder(QString loggingFolder)
virtual Tool::State getState() const
Namespace for all CustusX production code.