9 #include "activities/config.hpp" 11 #include <fwActivities/registry/Activities.hpp> 12 #include <fwActivities/registry/ActivityMsg.hpp> 14 #include <fwData/Vector.hpp> 16 #include <fwGui/IActionSrv.hpp> 18 #include <fwRuntime/ConfigurationElement.hpp> 19 #include <fwRuntime/EConfigurationElement.hpp> 131 ACTIVITIES_API static const ::
fwCom::Slots::SlotKeyType s_LAUNCH_SERIES_SLOT;
132 ACTIVITIES_API static const ::
fwCom::Slots::SlotKeyType s_LAUNCH_ACTIVITY_SERIES_SLOT;
133 ACTIVITIES_API static const ::
fwCom::Slots::SlotKeyType s_UPDATE_STATE_SLOT;
143 ACTIVITIES_API static const ::
fwCom::Signals::SignalKeyType s_ACTIVITY_LAUNCHED_SIG;
167 virtual
void starting() override;
170 virtual
void stopping() override;
175 virtual
void updating() override;
181 virtual
void configuring() override;
183 typedef ::
fwActivities::
registry::ActivityAppConfig::ActivityAppConfigParamsType ParametersType;
185 typedef
std::vector<
std::
string > KeysType;
187 typedef
std::map<
std::
string,
std::
string > QuickLaunchType;
190 virtual
void updateState();
195 ParametersType translateParameters( const ParametersType& parameters);
203 bool launchAS(const ::
fwData::Vector::csptr& selection);
212 void launchSeries(::
fwMedData::Series::sptr series);
218 void launchActivitySeries(::
fwMedData::ActivitySeries::sptr series);
243 ActivityInfoContainer getEnabledActivities(const ActivityInfoContainer& infos);
245 ParametersType m_parameters;
251 std::
string m_filterMode;
257 ActivityLaunchedSignalType::sptr m_sigActivityLaunched;
263 QuickLaunchType m_quickLaunch;
Contains fwAtomsFilter::registry details.
This class is a helper to define the connections of a service and its data.
Namespace containing medical data.
Namespace containing fw4spl communication tools.
Defines the service interface managing the menu items.
This action launchs an activity according to the selected data.
The namespace activities contains helpers and services allowing to launch activities.
::fwCom::helper::SigSlotConnection::KeyConnectionsType KeyConnectionsType
Returns proposals to connect service slots to associated object signals, this method is used for obj/...
#define fwCoreServiceClassDefinitionsMacro(_classinfo_)
Generate common code for services classes.
Namespace containing activities data and builder.
Contains the representation of the data objects used in the framework.