TAO_ESF 4.0.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
TAO_ESF_Busy_Lock_Adapter< Adaptee > Class Template Reference

#include <ESF_Busy_Lock.h>

Public Member Functions

 TAO_ESF_Busy_Lock_Adapter (Adaptee *adaptee)
 Constructor.
 

The ACE_Lock methods

Check the documentation in ace/Synch.h for details.

Adaptee * adaptee_
 
int remove ()
 
int acquire ()
 
int tryacquire ()
 
int release ()
 
int acquire_read ()
 
int acquire_write ()
 
int tryacquire_read ()
 
int tryacquire_write ()
 

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

◆ TAO_ESF_Busy_Lock_Adapter()

template<class Adaptee >
TAO_ESF_Busy_Lock_Adapter< T >::TAO_ESF_Busy_Lock_Adapter ( Adaptee * adaptee)

Constructor.

Member Function Documentation

◆ acquire()

template<class T >
int TAO_ESF_Busy_Lock_Adapter< T >::acquire ( )

◆ acquire_read()

template<class T >
int TAO_ESF_Busy_Lock_Adapter< T >::acquire_read ( )

◆ acquire_write()

template<class T >
int TAO_ESF_Busy_Lock_Adapter< T >::acquire_write ( )

◆ release()

template<class T >
int TAO_ESF_Busy_Lock_Adapter< T >::release ( )

◆ remove()

template<class T >
int TAO_ESF_Busy_Lock_Adapter< T >::remove ( )

◆ tryacquire()

template<class T >
int TAO_ESF_Busy_Lock_Adapter< T >::tryacquire ( )

◆ tryacquire_read()

template<class T >
int TAO_ESF_Busy_Lock_Adapter< T >::tryacquire_read ( )

◆ tryacquire_write()

template<class T >
int TAO_ESF_Busy_Lock_Adapter< T >::tryacquire_write ( )

Member Data Documentation

◆ adaptee_

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

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