ProxyDependency Class Reference

The ProxyDependency class is part of the ManagedIceObjectConnectivity. More...

#include <ArmarXCore/core/ManagedIceObjectDependency.h>

+ Inheritance diagram for ProxyDependency:

Public Member Functions

bool checkDependency () override
 Implementation of the dependency check.
 
 ProxyDependency ()
 Required by the ProxyDependencyFactory.
 
 ProxyDependency (IceManagerPtr iceManager, std::string proxyName)
 Constructs a ProxyDependency.
 
- Public Member Functions inherited from ManagedIceObjectDependency
void check ()
 This method is called to check the dependency and update the resolved and statechanged members.
 
std::string getName (const Ice::Current &c=Ice::emptyCurrent) override
 Retrieve name of dependency.
 
bool getResolved (const Ice::Current &c=Ice::emptyCurrent) override
 Retrieve whether dependency is resolved.
 
bool getStateChanged ()
 Retrieve whether state has changed since the last call to the method.
 
std::string getType (const Ice::Current &c=Ice::emptyCurrent) override
 Retrieve type of dependency.
 
 ManagedIceObjectDependency ()
 Required by factory functions.
 
 ManagedIceObjectDependency (IceManagerPtr iceManager, std::string name, std::string type)
 Constructs a ManagedIceObjectDependency.
 

Additional Inherited Members

- Protected Attributes inherited from ManagedIceObjectDependency
IceManagerPtr iceManager
 

Detailed Description

The ProxyDependency class is part of the ManagedIceObjectConnectivity.

For each proxy used by a ManagedIceObject by calling ManagedIceObject::usingProxy, a ProxyDependency is inserted in the ManagedIceObjectConnectivity.

The dependency check is realized by pinging the well-known object.

Constructor & Destructor Documentation

◆ ProxyDependency() [1/2]

ProxyDependency ( )
inline

Required by the ProxyDependencyFactory.

◆ ProxyDependency() [2/2]

ProxyDependency ( IceManagerPtr iceManager,
std::string proxyName )
inline

Constructs a ProxyDependency.

Parameters
iceManagerpointer to the ice manager
proxyNamename of dependant proxy

Member Function Documentation

◆ checkDependency()

bool checkDependency ( )
inlineoverridevirtual

Implementation of the dependency check.

Returns
whether dependency is resolved

Implements ManagedIceObjectDependency.


The documentation for this class was generated from the following file: