28#include <ArmarXCore/interface/statechart/RemoteStateIce.h>
29#include <ArmarXCore/interface/statechart/RemoteStateOffererIce.h>
63 virtual public RemoteStateIceBase,
69 RemoteStateIceBasePrx myProxy;
72 RemoteStateOffererIceBasePrx stateOffererPrx;
116 void setOutput(const ::armarx::StringVariantContainerBaseMap& properties,
117 const ::Ice::Current&
c = Ice::emptyCurrent);
121 const ::Ice::Current&
c = Ice::emptyCurrent)
override;
123 const ::Ice::Current&
c = Ice::emptyCurrent)
override;
124 void remoteFinalize(
const StringVariantContainerBaseMap& properties,
125 const EventBasePtr& event,
126 const ::Ice::Current&
c = Ice::emptyCurrent)
override;
#define DEFINEEVENT(NEWEVENT)
this macro declares a new event-class derived vom Event, to have a compiletime check for typos in eve...
ManagedIceObject(ManagedIceObject const &other)
This Statetype is used to create a state instance that represents a state that is located in another ...
void onInitComponent() override
Pure virtual hook for the subclass.
StateParameterMap getInputParameters() override
Not const because RemoteState implementation gets the current parameters via Ice and sets them.
bool waitForInitialization(int timeoutMS) const override
void remoteRefetchSubstates(const ::Ice::Current &c=Ice::emptyCurrent)
RemoteState & operator=(const RemoteState &source)
void setProxyName(const std::string &proxyName)
void __updateGlobalStateIdRecursive() override
StateBasePtr clone() const override
Pure virtual function to clone of the derived class type.
void onDisconnectComponent() override
Hook for subclass.
bool isInitialized() const override
Returns the status of this state. Only if a state is initialized, it can be used.
bool _baseOnBreak(const EventPtr evt) override
Called by processEvent()-function or parentstate. Must NOT be called by user.
void refetchSubstates() override
This functions updates the substates.
void remoteFinalize(const StringVariantContainerBaseMap &properties, const EventBasePtr &event, const ::Ice::Current &c=Ice::emptyCurrent) override
bool __breakActiveSubstate(const EventPtr event) override
Overridden function to redirect this call to the real state in the other application.
StateBasePtr createEmptyCopy() const override
bool getRemoteUnbreakableBufferStati(const ::Ice::Current &=Ice::emptyCurrent) const override
void setOutput(const ::armarx::StringVariantContainerBaseMap &properties, const ::Ice::Current &c=Ice::emptyCurrent)
void setStateName(const std::string &stateName)
StateIceBasePtr getParentStateLayout(const Ice::Current &) const override
void onConnectComponent() override
Pure virtual hook for the subclass.
void remoteProcessEvent(const EventBasePtr &evt, bool buffered, const ::Ice::Current &c=Ice::emptyCurrent) override
void _baseOnExit() override
Overridden function to redirect this call to the real state in the other application.
void remoteEnqueueEvent(const EventBasePtr &evt, const ::Ice::Current &c=Ice::emptyCurrent) override
::Ice::Int getRemoteUnbreakableBufferSize(const ::Ice::Current &=Ice::emptyCurrent) const override
void __notifyEventBufferedDueToUnbreakableState(bool eventBuffered) override
Overridden function to redirect this call to the real state in the other application.
bool __hasSubstates() override
not used at the moment
StateBasePtr getRemoteStatePtr()
Function that retrieves a copy of the remoteState. Calling functions or setting members on this insta...
void remoteProcessBufferedEvents(const ::Ice::Current &c=Ice::emptyCurrent) override
friend class DynamicRemoteState
void _baseOnEnter() override
Overridden function to redirect this call to the real state in the other application.
std::string getDefaultName() const override
Retrieve default name of component.
bool __hasActiveSubstate() override
Overridden function to redirect this call to the real state in the other application.
StateParameterMap & getOutputParameters() override
This file offers overloads of toIce() and fromIce() functions for STL container types.
IceInternal::Handle< RemoteState > RemoteStatePtr
IceInternal::Handle< Event > EventPtr
Typedef of EventPtr as IceInternal::Handle<Event> for convenience.
IceInternal::Handle< StateBase > StateBasePtr