Go to the documentation of this file.
33 #define STATEOFFERERSUFFIX "RemoteStateOfferer"
38 struct XMLStateOffererFactoryBase;
46 defineRequiredProperty<std::string>(
"XMLStatechartGroupDefinitionFile",
47 "Path to statechart group definition file "
48 "(*.scgxml) - relative to projects' source dir");
49 defineOptionalProperty<std::string>(
50 "XMLStatechartProfile",
52 "Profile to use for state execution. Should be the same for all Statechart Groups "
53 "in one scenario. This profile name is also added as a prefix to the Ice "
54 "identifier of the RemoteStateOfferer of this statechart group.");
55 defineOptionalProperty<std::string>(
56 "XMLRemoteStateOffererName",
58 "Name of the RemoteStateOfferer to start. The default name is "
59 "[StatechartGroupName]RemoteStateOfferer.");
60 defineOptionalProperty<std::string>(
63 "List of states that are directly entered and executed. Seperated by comma. These "
64 "must not need any input parameters!");
65 defineOptionalProperty<std::string>(
66 "StateReportingTopic",
67 "StateReportingTopic",
68 "Topic on which state changes are published. Leave empty to disable reporting.");
141 bool loadLib(std::string libPath);
148 bool useExisitingPrx =
false);
159 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