RemoteReferenceCountControlBlockManagementInterface Class Referenceabstract

#include <ArmarXCore/core/RemoteReferenceCount.h>

+ Inheritance diagram for RemoteReferenceCountControlBlockManagementInterface:

Public Types

using ArmarXManagerPtr = IceUtil::Handle<ArmarXManager>
 

Public Member Functions

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

void countReachedZero ()
 
virtual IceUtil::Time nextCheckTimePoint ()=0
 Returns the next timepoint when this ControlBlock should be checked.
 
virtual void onCountReachedZero ()=0
 

Protected Attributes

ArmarXManagerPtr armarXManager
 
const std::string id
 
IceUtil::Time lastTimeReachedZero
 
std::mutex mtx
 
Ice::ObjectPrx selfProxy
 

Friends

class ::armarx::RemoteReferenceCountControlBlockManager
 

Member Typedef Documentation

◆ ArmarXManagerPtr

Constructor & Destructor Documentation

◆ RemoteReferenceCountControlBlockManagementInterface()

RemoteReferenceCountControlBlockManagementInterface ( const ArmarXManagerPtr & manager,
const std::string & id )

◆ ~RemoteReferenceCountControlBlockManagementInterface()

Member Function Documentation

◆ activateCounting()

void activateCounting ( )
inline

◆ countReachedZero()

void countReachedZero ( )
protected

◆ getProxy()

Ice::ObjectPrx getProxy ( ) const
inline

◆ hasCountReachedZero()

bool hasCountReachedZero ( ) const
inline

◆ isCountingActivated()

bool isCountingActivated ( ) const
inline

◆ nextCheckTimePoint()

virtual IceUtil::Time nextCheckTimePoint ( )
protectedpure virtual

Returns the next timepoint when this ControlBlock should be checked.

If the returned time is in the past and counting was activated, this Block is removed from counting and onCountReachedZero is called.

Returns

◆ onCountReachedZero()

virtual void onCountReachedZero ( )
protectedpure virtual

Friends And Related Symbol Documentation

◆ ::armarx::RemoteReferenceCountControlBlockManager

Member Data Documentation

◆ armarXManager

ArmarXManagerPtr armarXManager
protected

◆ id

const std::string id
protected

◆ lastTimeReachedZero

IceUtil::Time lastTimeReachedZero
protected

◆ mtx

std::mutex mtx
protected

◆ selfProxy

Ice::ObjectPrx selfProxy
protected

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