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

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.

Definition at line 170 of file ManagedIceObjectDependency.h.

Constructor & Destructor Documentation

◆ ProxyDependency() [1/2]

ProxyDependency ( )
inline

Required by the ProxyDependencyFactory.

Definition at line 177 of file ManagedIceObjectDependency.h.

◆ ProxyDependency() [2/2]

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

Constructs a ProxyDependency.

Parameters
iceManagerpointer to the ice manager
proxyNamename of dependant proxy

Definition at line 185 of file ManagedIceObjectDependency.h.

Member Function Documentation

◆ checkDependency()

bool checkDependency ( )
inlineoverridevirtual

Implementation of the dependency check.

Returns
whether dependency is resolved

Implements ManagedIceObjectDependency.

Definition at line 197 of file ManagedIceObjectDependency.h.


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