33#define STATEOFFERERSUFFIX "RemoteStateOfferer"
38 struct XMLStateOffererFactoryBase;
47 "Path to statechart group definition file "
48 "(*.scgxml) - relative to projects' source dir");
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.");
56 "XMLRemoteStateOffererName",
58 "Name of the RemoteStateOfferer to start. The default name is "
59 "[StatechartGroupName]RemoteStateOfferer.");
63 "List of states that are directly entered and executed. Seperated by comma. These "
64 "must not need any input parameters!");
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;
ComponentPropertyDefinitions(std::string prefix, bool hasObjectNameParameter=true)
Component()
Protected default constructor. Used for virtual inheritance. Use createManagedIceObject() instead.
std::string prefix
Prefix of the properties such as namespace, domain, component name, etc.
PropertyDefinition< PropertyType > & defineOptionalProperty(const std::string &name, PropertyType defaultValue, const std::string &description="", PropertyDefinitionBase::PropertyConstness constness=PropertyDefinitionBase::eConstant)
PropertyDefinition< PropertyType > & defineRequiredProperty(const std::string &name, const std::string &description="", PropertyDefinitionBase::PropertyConstness constness=PropertyDefinitionBase::eConstant)
XMLStateComponentProperties(std::string prefix)
void onInitComponent() override
Pure virtual hook for the subclass.
StatechartProfilePtr selectedProfile
void createAndEnterInstance(const std::string &stateClassName, bool useExisitingPrx=false)
void onDisconnectComponent() override
Hook for subclass.
XMLStateOffererFactoryBasePtr offerer
std::map< std::string, DynamicLibraryPtr > libraries
void onConnectComponent() override
Pure virtual hook for the subclass.
PropertyDefinitionsPtr createPropertyDefinitions() override
StatechartProfilesPtr profiles
bool loadLib(std::string libPath)
std::string getDefaultName() const override
Retrieve default name of component.
This file offers overloads of toIce() and fromIce() functions for STL container types.
std::shared_ptr< StatechartProfiles > StatechartProfilesPtr
IceInternal::Handle< XMLStateOffererFactoryBase > XMLStateOffererFactoryBasePtr
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.
std::shared_ptr< class StatechartProfile > StatechartProfilePtr