41 return "RemoteAccessable";
45 void onInitRemoteStateOfferer()
override;
#define ARMARXCOMPONENT_IMPORT_EXPORT
std::string getStateOffererName() const override
Implement this function to specify the RemoteStateOfferer prefix.
void sendEvent(const EventPtr event, StateBasePtr eventProcessor=nullptr)
Function to send an event to a specific state from an onEnter()-function. Must not be called anywhere...
void setOutput(std::string const &key, const Variant &value)
setOuput() sets an output parameter of this state.
StateBasePtr addState(StateBasePtr pNewState)
bool addToInput(const std::string &key, const ContainerType &type, bool optional, VariantContainerBasePtr defaultValue=VariantContainerBasePtr())
Adds a key,type-pair to the input parameters.
std::enable_if_t< std::is_base_of_v< VariantDataClass, T >, IceInternal::Handle< T > > getInput(const std::string &key) const
getInput can be used to access a specific input parameter.
StateBasePtr setInitState(StateBasePtr initState, ParameterMappingPtr initialStateMapping=ParameterMappingPtr())
Sets the initial substate of this state.
bool addToOutput(const std::string &key, VariantTypeId type, bool optional)
Adds a key,type-pair to the output parameters.
#define ARMARX_INFO
The normal logging level.
const VariantTypeId Float
This file offers overloads of toIce() and fromIce() functions for STL container types.
Class that holds states, which offer functionality for other states over Ice.
void defineParameters() override
Virtual function, in which input/local/output parameters can be specified.
void onEnter() override
Virtual function, in which the behaviour of state is defined, when it is entered. Can be overridden,...
void defineSubstates() override
Virtual function, in which substates, transition and mappings can be added.