7 #include "fwServices/SConfigController.hpp" 9 #include <fwServices/macros.hpp> 11 #include <boost/make_unique.hpp> 24 m_configLauncher = ::boost::make_unique< ::fwServices::helper::ConfigLauncher>();
37 m_configLauncher->startConfig(this->getSptr());
44 m_configLauncher->stopConfig();
51 m_configLauncher->stopConfig();
52 m_configLauncher->startConfig(this->getSptr());
59 m_configLauncher->parseConfig(this->
getConfigTree(), this->getSptr());
Namespace fwServices is dedicated to (mimic) the dynamic affectation of methods to (pure data) object...
FWSERVICES_API SConfigController() noexcept
Constructor. Does nothing.
virtual void configuring() override
Declare the configuration to associate with an operator type and a view config.
This interface defines control service API. Does nothing particularly, can be considered as a default...
virtual void updating() override
Does nothing.
virtual FWSERVICES_API ~SConfigController() noexcept
Destructor. Does nothing.
virtual void starting() override
Starts the config.
This service starts/stops a template configuration.
virtual void stopping() override
Stops the config.
virtual void info(std::ostream &_sstream) override
Overrides.
virtual void swapping() override
Swaps the config.
FWSERVICES_API ConfigType getConfigTree() const
Return the configuration, in an boost property tree.