Go to the documentation of this file.
28 #include <ArmarXCore/interface/statechart/StatechartIce.h>
37 class StateController;
66 virtual public EventListenerInterface,
99 void reportEvent(
const EventBasePtr& event,
const Ice::Current&)
override;
104 std::queue< std::pair<StateControllerPtr, EventPtr > >
eventBuffer;
109 void onInitComponent()
override;
110 void onConnectComponent()
override;
111 EventListenerInterfacePrx myProxy;
114 std::mutex eventMapMutex;
115 std::mutex eventBufferMutex;
void setStatechartManager(const StatechartManagerPtr &statechartManager)
void setName(std::string name)
Override name of well-known object.
StatechartEventDistributor()
std::string getUniqueEventIdentifier(const StateBasePtr &eventProcessor, const EventPtr &event, long visitId)
std::string registerEvent(const EventPtr &event, StateBasePtr eventProcessor, long visitId)
std::string statechartName
EventListenerInterfacePrx getListener()
An Event is used to communicate between e.g. condition handlers and statecharts.
std::string getDefaultName() const override
Retrieve default name of component.
The ManagedIceObject is the base class for all ArmarX objects.
EventListenerMap eventMap
std::queue< std::pair< StateControllerPtr, EventPtr > > eventBuffer
StateControllerPtr eventProcessor
std::map< std::string, EventListenerMapEntry > EventListenerMap
The StatechartEventDistributor class is used to distribute incomming events (via Ice) to the correct ...
void reportEvent(const EventBasePtr &event, const Ice::Current &) override
std::string globalEventIdentifier
This file offers overloads of toIce() and fromIce() functions for STL container types.
void setStatechartName(std::string statechartName)