TAO_ESF_Busy_Lock_Adapter< Adaptee > Class Template Reference

#include <ESF_Busy_Lock.h>

Collaboration diagram for TAO_ESF_Busy_Lock_Adapter< Adaptee >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 TAO_ESF_Busy_Lock_Adapter (Adaptee *adaptee)
 Constructor.
The ACE_Lock methods
Check the documentation in ace/Synch.h for details.

int remove (void)
int acquire (void)
int tryacquire (void)
int release (void)
int acquire_read (void)
int acquire_write (void)
int tryacquire_read (void)
int tryacquire_write (void)

Private Attributes

Adaptee * adaptee_


Detailed Description

template<class Adaptee>
class TAO_ESF_Busy_Lock_Adapter< Adaptee >

Adapt classes that implement the "busy lock" protocol, to conform to the ACE Lock interface. The ACE Lock interface allows us to use any mutex-like object with the ACE synchronization components (such as guards, Lock_Adapter, etc.). One of the synchronization protocols used in the event services uses the following protocol:

Constructor & Destructor Documentation

template<class T>
TAO_ESF_Busy_Lock_Adapter< T >::TAO_ESF_Busy_Lock_Adapter ( T *  adaptee  )  [inline]

Constructor.


Member Function Documentation

template<class T >
int TAO_ESF_Busy_Lock_Adapter< T >::acquire ( void   )  [inline]

template<class T >
int TAO_ESF_Busy_Lock_Adapter< T >::acquire_read ( void   )  [inline]

template<class T >
int TAO_ESF_Busy_Lock_Adapter< T >::acquire_write ( void   )  [inline]

template<class T >
int TAO_ESF_Busy_Lock_Adapter< T >::release ( void   )  [inline]

template<class T >
int TAO_ESF_Busy_Lock_Adapter< T >::remove ( void   )  [inline]

template<class T >
int TAO_ESF_Busy_Lock_Adapter< T >::tryacquire ( void   )  [inline]

template<class T >
int TAO_ESF_Busy_Lock_Adapter< T >::tryacquire_read ( void   )  [inline]

template<class T >
int TAO_ESF_Busy_Lock_Adapter< T >::tryacquire_write ( void   )  [inline]


Member Data Documentation

template<class Adaptee>
Adaptee* TAO_ESF_Busy_Lock_Adapter< Adaptee >::adaptee_ [private]


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

Generated on Thu Jul 23 03:07:20 2009 for TAO_ESF by  doxygen 1.5.8