7 #ifndef __ACTIVITIES_SACTIVITYSEQUENCER_HPP__ 8 #define __ACTIVITIES_SACTIVITYSEQUENCER_HPP__ 10 #include "activities/config.hpp" 12 #include <fwCom/Signal.hpp> 14 #include <fwMedData/ActivitySeries.hpp> 16 #include <fwServices/IController.hpp> 98 virtual
void starting() override;
101 virtual
void stopping() override;
110 virtual
void updating() override;
113 virtual
void configuring() override;
117 typedef
std::vector<
std::
string > ActivitesType;
118 typedef
std::map<
std::
string, ::
fwData::Object::sptr > RequirementsType;
127 void sendInfo() const;
130 void storeActivityData();
133 ::
fwMedData::ActivitySeries::sptr getActivity(
size_t index);
136 bool checkValidity(const ::
fwMedData::ActivitySeries::csptr& activity,
bool showDialog = true) const;
139 ActivitesType m_activityIds;
142 int m_currentActivity;
145 RequirementsType m_requirements;
147 ActivityCreatedSignalType::sptr m_sigActivityCreated;
148 EnabledPreviousSignalType::sptr m_sigEnabledPrevious;
149 EnabledNextSignalType::sptr m_sigEnabledNext;
155 #endif // __ACTIVITIES_SACTIVITYSEQUENCER_HPP__ This class is a helper to define the connections of a service and its data.
Namespace containing medical data.
Namespace containing fw4spl communication tools.
This interface defines control service API. Does nothing particularly, can be considered as a default...
The namespace activities contains helpers and services allowing to launch activities.
#define fwCoreServiceClassDefinitionsMacro(_classinfo_)
Generate common code for services classes.
Contains the representation of the data objects used in the framework.
This service allows to launch activities sequentially.