Go to the documentation of this file.
45 observer->addObservablePredicateInstances(calcPredicates());
51 usingProxy(getProperty<std::string>(
"WorldStateObserverName").getValue());
58 worldStateObserver = getProxy<WorldStateObserverInterfacePrx>(getProperty<std::string>(
"WorldStateObserverName").getValue());
void requestUpdate(const WorldStateObserverInterfacePrx &observer, const Ice::Current &c=Ice::emptyCurrent) override
bool removeProxyDependency(const std::string &name)
This function removes the dependency of this object on the in parameter name specified object.
void onConnectComponent() override
Pure virtual hook for the subclass.
void setObserver(const WorldStateObserverInterfacePrx &worldStateObserver, const Ice::Current &) override
void onInitComponent() override
Pure virtual hook for the subclass.
virtual void onConnectWorldStateUpdater()=0
virtual void onInitWorldStateUpdater()=0
virtual std::string getDefaultName() const =0
Retrieve default name of component.
void requestUpdateOnRegisteredObserver(const Ice::Current &) override
Ice::ObjectPrx getProxy(long timeoutMs=0, bool waitForScheduler=true) const
Returns the proxy of this object (optionally it waits for the proxy)
WorldStateObserverInterfacePrx worldStateObserver
bool usingProxy(const std::string &name, const std::string &endpoints="")
Registers a proxy for retrieval after initialization and adds it to the dependency list.