dlr::thread::ClientID< Type > Class Template Reference

This class is used to identify individual threads to individual BroadcastQueue instances. More...

#include <clientID.h>

List of all members.

Public Member Functions

 ClientID ()
 The default constructor creates a ClientID.
 ~ClientID ()
 The destructor destroys the ClientID instance and cleans up any associated system resources.

Friends

class BroadcastQueue< Type >
class DistributionQueue< Type >


Detailed Description

template<class Type>
class dlr::thread::ClientID< Type >

This class is used to identify individual threads to individual BroadcastQueue instances.

Each thread that wishes to interact with a particular BroadcastQueue instance must create a ClientID instance, and then pass the ClientID to the registerClient() member function of that BroadcastQueue instance exactly once. A particular ClientID must be used with only one BroadcastQueue instance. ClientID's public interface is completely opaque: the thread code should to nothing with the ClientID except pass it to the member functions of the associated BroadcastQueue instance.

Definition at line 40 of file clientID.h.


Constructor & Destructor Documentation

template<class Type>
dlr::thread::ClientID< Type >::ClientID (  )  [inline]

The default constructor creates a ClientID.

Definition at line 49 of file clientID.h.

template<class Type>
dlr::thread::ClientID< Type >::~ClientID (  )  [inline]

The destructor destroys the ClientID instance and cleans up any associated system resources.

Definition at line 57 of file clientID.h.


The documentation for this class was generated from the following file:
Generated on Mon Jul 9 20:34:22 2007 for dlrLibs Utility Libraries by  doxygen 1.5.2