Go to the documentation of this file.
32 #include <ArmarXCore/interface/statechart/RemoteStateIce.h>
33 #include <ArmarXCore/interface/statechart/RemoteStateOffererIce.h>
63 virtual public RemoteStateIceBase,
69 RemoteStateIceBasePrx myProxy;
72 RemoteStateOffererIceBasePrx stateOffererPrx;
116 void setOutput(const::armarx::StringVariantContainerBaseMap& properties, const::Ice::Current&
c = Ice::emptyCurrent);
118 void remoteProcessEvent(
const EventBasePtr& evt,
bool buffered, const ::Ice::Current&
c = Ice::emptyCurrent)
override;
119 void remoteEnqueueEvent(
const EventBasePtr& evt, const ::Ice::Current&
c = Ice::emptyCurrent)
override;
120 void remoteFinalize(
const StringVariantContainerBaseMap& properties,
const EventBasePtr& event, const ::Ice::Current&
c = Ice::emptyCurrent)
override;
StateParameterMap & getOutputParameters() override
bool waitForInitialization(int timeoutMS) const override
::Ice::Int getRemoteUnbreakableBufferSize(const ::Ice::Current &=Ice::emptyCurrent) const override
void setStateName(const std::string &stateName)
void remoteProcessEvent(const EventBasePtr &evt, bool buffered, const ::Ice::Current &c=Ice::emptyCurrent) override
std::string getDefaultName() const override
Retrieve default name of component.
StateBasePtr getRemoteStatePtr()
Function that retrieves a copy of the remoteState. Calling functions or setting members on this insta...
void remoteFinalize(const StringVariantContainerBaseMap &properties, const EventBasePtr &event, const ::Ice::Current &c=Ice::emptyCurrent) override
void _baseOnEnter() override
Overridden function to redirect this call to the real state in the other application.
StateBasePtr createEmptyCopy() const override
StateParameterMap getInputParameters() override
Not const because RemoteState implementation gets the current parameters via Ice and sets them.
StateIceBasePtr getParentStateLayout(const Ice::Current &) const override
void onConnectComponent() override
Pure virtual hook for the subclass.
void onInitComponent() override
Pure virtual hook for the subclass.
bool getRemoteUnbreakableBufferStati(const ::Ice::Current &=Ice::emptyCurrent) const override
QMap< QString, StateParameterPtr > StateParameterMap
void remoteRefetchSubstates(const ::Ice::Current &c=Ice::emptyCurrent)
void __updateGlobalStateIdRecursive() override
StateBasePtr clone() const override
Pure virtual function to clone of the derived class type.
This Statetype is used to create a state instance that represents a state that is located in another ...
DynamicRemoteStates can be used to connect to remote statecharts dynamically at runtime.
bool __breakActiveSubstate(const EventPtr event) override
Overridden function to redirect this call to the real state in the other application.
bool __hasSubstates() override
not used at the moment
bool __hasActiveSubstate() override
Overridden function to redirect this call to the real state in the other application.
bool isInitialized() const override
Returns the status of this state. Only if a state is initialized, it can be used.
void refetchSubstates() override
This functions updates the substates.
void setProxyName(const std::string &proxyName)
Vertex source(const detail::edge_base< Directed, Vertex > &e, const PCG &)
The ManagedIceObject is the base class for all ArmarX objects.
void __notifyEventBufferedDueToUnbreakableState(bool eventBuffered) override
Overridden function to redirect this call to the real state in the other application.
RemoteState & operator=(const RemoteState &source)
void onDisconnectComponent() override
Hook for subclass.
void remoteProcessBufferedEvents(const ::Ice::Current &c=Ice::emptyCurrent) override
void setOutput(const ::armarx::StringVariantContainerBaseMap &properties, const ::Ice::Current &c=Ice::emptyCurrent)
DEFINEEVENT(EvInit) struct StateRun
void remoteEnqueueEvent(const EventBasePtr &evt, const ::Ice::Current &c=Ice::emptyCurrent) override
bool _baseOnBreak(const EventPtr evt) override
Called by processEvent()-function or parentstate. Must NOT be called by user.
This file offers overloads of toIce() and fromIce() functions for STL container types.
void _baseOnExit() override
Overridden function to redirect this call to the real state in the other application.