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 {3000}
 The amount of time (in ms) required to pass after a RemoteHandleControlBlock's usecount has reacht zero, before it is deleted.
 

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.

Member Typedef Documentation

◆ PeriodicTaskType

Constructor & Destructor Documentation

◆ SharedRemoteHandleState()

SharedRemoteHandleState ( unsigned int deletionDelayMs)

◆ ~SharedRemoteHandleState()

Member Function Documentation

◆ add()

Member Data Documentation

◆ DEFAULT_DELETION_DELAY

const unsigned int DEFAULT_DELETION_DELAY {3000}
static

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


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