TAO_CosNotification  2.2.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
TAO_Notify_ID_Factory Class Reference

A simple factory for generating ID's for objects created by Notify. More...

#include <ID_Factory.h>

Collaboration diagram for TAO_Notify_ID_Factory:
Collaboration graph

Public Member Functions

 TAO_Notify_ID_Factory (void)
 Constructor. More...
 
 ~TAO_Notify_ID_Factory ()
 Destructor. More...
 
TAO_Notify_Object::ID id (void)
 
void set_last_used (const TAO_Notify_Object::ID id)
 

Private Attributes

TAO_Notify_Object::ID seed_
 Can't use atomic op, because we added the set_last_used() method. More...
 
TAO_SYNCH_MUTEX mtx_
 

Detailed Description

A simple factory for generating ID's for objects created by Notify.

Constructor & Destructor Documentation

TAO_Notify_ID_Factory::TAO_Notify_ID_Factory ( void  )

Constructor.

TAO_Notify_ID_Factory::~TAO_Notify_ID_Factory ( )

Destructor.

Member Function Documentation

TAO_Notify_Object::ID TAO_Notify_ID_Factory::id ( void  )
void TAO_Notify_ID_Factory::set_last_used ( const TAO_Notify_Object::ID  id)

Member Data Documentation

TAO_SYNCH_MUTEX TAO_Notify_ID_Factory::mtx_
private
TAO_Notify_Object::ID TAO_Notify_ID_Factory::seed_
private

Can't use atomic op, because we added the set_last_used() method.


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