Go to the documentation of this file.
33 #define STATEOFFERERSUFFIX "RemoteStateOfferer"
38 struct XMLStateOffererFactoryBase;
48 defineRequiredProperty<std::string>(
"XMLStatechartGroupDefinitionFile",
"Path to statechart group definition file (*.scgxml) - relative to projects' source dir");
49 defineOptionalProperty<std::string>(
"XMLStatechartProfile",
"",
"Profile to use for state execution. Should be the same for all Statechart Groups in one scenario. This profile name is also added as a prefix to the Ice identifier of the RemoteStateOfferer of this statechart group.");
50 defineOptionalProperty<std::string>(
"XMLRemoteStateOffererName",
"",
"Name of the RemoteStateOfferer to start. The default name is [StatechartGroupName]RemoteStateOfferer.");
51 defineOptionalProperty<std::string>(
"StatesToEnter",
"",
"List of states that are directly entered and executed. Seperated by comma. These must not need any input parameters!");
52 defineOptionalProperty<std::string>(
"StateReportingTopic",
"StateReportingTopic",
"Topic on which state changes are published. Leave empty to disable reporting.");
126 bool loadLib(std::string libPath);
141 int stateIDStartedUsingExisitingPrx = -1;
void onConnectComponent() override
Pure virtual hook for the subclass.
void onInitComponent() override
Pure virtual hook for the subclass.
IceInternal::Handle< XMLStateOffererFactoryBase > XMLStateOffererFactoryBasePtr
std::string prefix
Prefix of the properties such as namespace, domain, component name, etc.
std::shared_ptr< class StatechartProfile > StatechartProfilePtr
std::map< std::string, DynamicLibraryPtr > libraries
XMLStateOffererFactoryBasePtr offerer
std::shared_ptr< StatechartProfiles > StatechartProfilesPtr
void createAndEnterInstance(const std::string &stateClassName, bool useExisitingPrx=false)
void onDisconnectComponent() override
Hook for subclass.
Baseclass for all ArmarX ManagedIceObjects requiring properties.
StatechartProfilesPtr profiles
Default component property definition container.
XMLStateComponentProperties(std::string prefix)
PropertyDefinitionsPtr createPropertyDefinitions() override
std::string getDefaultName() const override
Retrieve default name of component.
This file offers overloads of toIce() and fromIce() functions for STL container types.
bool loadLib(std::string libPath)
StatechartProfilePtr selectedProfile