AbstractRemoteReferenceCountControlBlock Class Reference

#include <ArmarXCore/core/RemoteReferenceCount.h>

+ Inheritance diagram for AbstractRemoteReferenceCountControlBlock:

Public Types

using ArmarXManagerPtr = IceUtil::Handle< ArmarXManager >
 
- Public Types inherited from RemoteReferenceCountControlBlockManagementInterface
using ArmarXManagerPtr = IceUtil::Handle< ArmarXManager >
 

Public Member Functions

void addCounter (const std::string &counterId, const Ice::Current &=Ice::emptyCurrent) final override
 
RemoteReferenceCounterBasePtr getReferenceCounter ()
 
void heartbeat (const std::string &counterId, const Ice::Current &=Ice::emptyCurrent) final override
 
void removeCounter (const std::string &counterId, const Ice::Current &=Ice::emptyCurrent) final override
 
- Public Member Functions inherited from RemoteReferenceCountControlBlockManagementInterface
void activateCounting ()
 
Ice::ObjectPrx getProxy () const
 
bool hasCountReachedZero () const
 
bool isCountingActivated () const
 
 RemoteReferenceCountControlBlockManagementInterface (const ArmarXManagerPtr &manager, const std::string &id)
 
 ~RemoteReferenceCountControlBlockManagementInterface () override
 

Protected Member Functions

 AbstractRemoteReferenceCountControlBlock (const ArmarXManagerPtr &manager, const std::string &id, IceUtil::Time deletionDelay, IceUtil::Time orphantDeletionDelay, long heartBeatMs)
 
- Protected Member Functions inherited from RemoteReferenceCountControlBlockManagementInterface
void countReachedZero ()
 
virtual void onCountReachedZero ()=0
 

Additional Inherited Members

- Protected Attributes inherited from RemoteReferenceCountControlBlockManagementInterface
ArmarXManagerPtr armarXManager
 
const std::string id
 
IceUtil::Time lastTimeReachedZero
 
std::mutex mtx
 
Ice::ObjectPrx selfProxy
 

Detailed Description

Definition at line 107 of file RemoteReferenceCount.h.

Member Typedef Documentation

◆ ArmarXManagerPtr

Constructor & Destructor Documentation

◆ AbstractRemoteReferenceCountControlBlock()

AbstractRemoteReferenceCountControlBlock ( const ArmarXManagerPtr manager,
const std::string &  id,
IceUtil::Time  deletionDelay,
IceUtil::Time  orphantDeletionDelay,
long  heartBeatMs 
)
protected

Definition at line 419 of file RemoteReferenceCount.cpp.

Member Function Documentation

◆ addCounter()

void addCounter ( const std::string &  counterId,
const Ice::Current &  = Ice::emptyCurrent 
)
finaloverride

Definition at line 376 of file RemoteReferenceCount.cpp.

◆ getReferenceCounter()

RemoteReferenceCounterBasePtr getReferenceCounter ( )

Definition at line 445 of file RemoteReferenceCount.cpp.

◆ heartbeat()

void heartbeat ( const std::string &  counterId,
const Ice::Current &  = Ice::emptyCurrent 
)
finaloverride

Definition at line 390 of file RemoteReferenceCount.cpp.

◆ removeCounter()

void removeCounter ( const std::string &  counterId,
const Ice::Current &  = Ice::emptyCurrent 
)
finaloverride

Definition at line 400 of file RemoteReferenceCount.cpp.


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