AbstractSimpleRemoteReferenceCountControlBlock Class Reference

#include <ArmarXCore/core/RemoteReferenceCount.h>

+ Inheritance diagram for AbstractSimpleRemoteReferenceCountControlBlock:

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 &) final override
 
SimpleRemoteReferenceCounterBasePtr getReferenceCounter ()
 
void removeCounter (const std::string &counterId, const Ice::Current &) 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

 AbstractSimpleRemoteReferenceCountControlBlock (const ArmarXManagerPtr &manager, const std::string &id, IceUtil::Time deletionDelay)
 
- 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 136 of file RemoteReferenceCount.h.

Member Typedef Documentation

◆ ArmarXManagerPtr

Constructor & Destructor Documentation

◆ AbstractSimpleRemoteReferenceCountControlBlock()

AbstractSimpleRemoteReferenceCountControlBlock ( const ArmarXManagerPtr manager,
const std::string &  id,
IceUtil::Time  deletionDelay 
)
protected

Definition at line 487 of file RemoteReferenceCount.cpp.

Member Function Documentation

◆ addCounter()

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

Definition at line 454 of file RemoteReferenceCount.cpp.

◆ getReferenceCounter()

SimpleRemoteReferenceCounterBasePtr getReferenceCounter ( )

Definition at line 493 of file RemoteReferenceCount.cpp.

◆ removeCounter()

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

Definition at line 468 of file RemoteReferenceCount.cpp.


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