Home Previous Up Next Index

armarx::RemoteReferenceCounterBase

Overview

class RemoteReferenceCounterBase

@brief Performs reference counting on a associated RemoteReferenceCountControlBlock. This version uses a heartbeat. This causes a slight computation and network overhead. In case of a network problem, the RemoteReferenceCountControlBlock: may reach 0 even if a RemoteReferenceCounter still exists (e.g. the heartbeat did not reach the RemoteReferenceCountControlBlock). will reach 0 if the last Counter was deleted. If destructors were not called (e.g. because of a segfault) the RemoteReferenceCountControlBlock will reach 0. The id can be used by the programmer to associate a block with some data structure. It is not used internally.

Used By

copy

Operation Index

copy
getId

Data Member Index

block
id
heartBeatMs

Operations

RemoteReferenceCounterBase copy()

string getId()

Data Members

[ "protected" ] RemoteReferenceCountControlBlockInterface* block;

[ "protected" ] string id;

[ "protected" ] long heartBeatMs;


Home Previous Up Next Index