58 std::string eventstring;
59 std::cout <<
"Please insert the event string: " << std::flush;
61 eventstring =
"EvLoadScenario";
63 if (eventstring ==
"q")
69 std::cout <<
"Please insert the state id of the state that should process the event: "
74 std::cout <<
"sending to id:" <<
id << std::endl;
An Event is used to communicate between e.g.
bool usingProxy(const std::string &name, const std::string &endpoints="")
Registers a proxy for retrieval after initialization and adds it to the dependency list.
Ice::ObjectPrx getProxy(long timeoutMs=0, bool waitForScheduler=true) const
Returns the proxy of this object (optionally it waits for the proxy)
void onInitComponent() override
Pure virtual hook for the subclass.
RobotControlInterfacePrx robotProxy
void onConnectComponent() override
Pure virtual hook for the subclass.
void onExitComponent() override
Hook for subclass.
bool addToDictionary(EventPtr event, const std::string key, const Variant &value)
Adds the (key,defaulfValue) pair to the event-dictionary.
This file offers overloads of toIce() and fromIce() functions for STL container types.
IceInternal::Handle< Event > EventPtr
Typedef of EventPtr as IceInternal::Handle<Event> for convenience.