26#include <ArmarXCore/interface/operations/RobotControlIceBase.h>
42 "XMLStatechartProfile",
44 "Name of the statechart profile to be used. This is used as prefix to the "
45 "proxyName. So GraspGroupRemoteStateOfferer will be "
46 "Armar3aGraspGroupRemoteStateOfferer");
64 virtual public RobotControlIceBase
76 return "RobotControl";
79 void onInitRemoteStateOfferer()
override;
80 void onConnectRemoteStateOfferer()
override;
81 void onExitRemoteStateOfferer()
override;
82 void startRobotStatechart();
84 void hardReset(
const Ice::Current& = Ice::emptyCurrent)
override;
89 void createStaticInstance();
#define ARMARXCOMPONENT_IMPORT_EXPORT
#define DEFINEEVENT(NEWEVENT)
this macro declares a new event-class derived vom Event, to have a compiletime check for typos in eve...
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)
RobotControl is used for dynamically loading and starting robot programs.
StateBasePtr robotFunctionalState
Refernce to the currently active Functionsl state.
std::string getStateOffererName() const override
Implement this function to specify the RemoteStateOfferer prefix.
IceUtil::Handle< RunningTask< T > > pointer_type
Shared pointer type for convenience.
StatechartContextPropertyDefinitions(std::string prefix)
This file offers overloads of toIce() and fromIce() functions for STL container types.
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.
IceInternal::Handle< StateBase > StateBasePtr
Class that holds states, which offer functionality for other states over Ice.
RobotControlContextProperties(std::string prefix)
void onEnter() override
Virtual function, in which the behaviour of state is defined, when it is entered. Can be overridden,...
Statechart which describes the operational states of a robot program.
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.
Statechart which describes the most basic states of a robot:
void defineState() override
Virtual function, in which this state can be configured.
void defineSubstates() override
Virtual function, in which substates, transition and mappings can be added.