TAO_CosNotification 4.0.0
Loading...
Searching...
No Matches
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>

Public Member Functions

 TAO_Notify_ID_Factory ()
 Constructor.
 
 ~TAO_Notify_ID_Factory ()
 Destructor.
 
TAO_Notify_Object::ID id ()
 
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.
 
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::TAO_Notify_ID_Factory ( )

Constructor.

◆ ~TAO_Notify_ID_Factory()

TAO_Notify_ID_Factory::~TAO_Notify_ID_Factory ( )

Destructor.

Member Function Documentation

◆ id()

TAO_Notify_Object::ID TAO_Notify_ID_Factory::id ( )

◆ set_last_used()

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

Member Data Documentation

◆ mtx_

TAO_SYNCH_MUTEX TAO_Notify_ID_Factory::mtx_
private

◆ seed_

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: