SharedRemoteHandleState Struct Reference

This holds the shared state of all RemoteHandleControlBlocks for one armarx manager. More...

#include <ArmarXCore/core/util/distributed/RemoteHandle/RemoteHandleControlBlock.h>

Public Types

using PeriodicTaskType = PeriodicTask< SharedRemoteHandleState >
 

Public Member Functions

void add (RemoteHandleControlBlockPtr rh)
 
 SharedRemoteHandleState (unsigned int deletionDelayMs)
 
 ~SharedRemoteHandleState ()
 

Static Public Attributes

static const unsigned int DEFAULT_DELETION_DELAY
 The amount of time (in ms) required to pass after a RemoteHandleControlBlock's usecount has reacht zero, before it is deleted. More...
 

Detailed Description

This holds the shared state of all RemoteHandleControlBlocks for one armarx manager.

It holds a thread responsible for deleting them when their usecount reaches zero and the deletion delay has passed.

Definition at line 52 of file RemoteHandleControlBlock.h.

Member Typedef Documentation

◆ PeriodicTaskType

Constructor & Destructor Documentation

◆ SharedRemoteHandleState()

SharedRemoteHandleState ( unsigned int  deletionDelayMs)

Definition at line 69 of file RemoteHandleControlBlock.cpp.

◆ ~SharedRemoteHandleState()

Definition at line 76 of file RemoteHandleControlBlock.cpp.

Member Function Documentation

◆ add()

void add ( RemoteHandleControlBlockPtr  rh)

Definition at line 89 of file RemoteHandleControlBlock.cpp.

Member Data Documentation

◆ DEFAULT_DELETION_DELAY

const unsigned int DEFAULT_DELETION_DELAY
static
Initial value:
{
3000
}

The amount of time (in ms) required to pass after a RemoteHandleControlBlock's usecount has reacht zero, before it is deleted.

Definition at line 58 of file RemoteHandleControlBlock.h.


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