TAO_EC_Busy_Lock_Adapter< Adaptee > Class Template Reference

#include <EC_Busy_Lock.h>

Collaboration diagram for TAO_EC_Busy_Lock_Adapter< Adaptee >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TAO_EC_Busy_Lock_Adapter (Adaptee *adaptee)
 Constructor.

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_

template<class Adaptee>
class TAO_EC_Busy_Lock_Adapter< Adaptee >


Constructor & Destructor Documentation

template<class T>
TAO_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE TAO_EC_Busy_Lock_Adapter< T >::TAO_EC_Busy_Lock_Adapter Adaptee *  adaptee  ) 
 

Constructor.

Definition at line 8 of file EC_Busy_Lock.i.

00009   :  adaptee_ (adaptee)
00010 {
00011 }


Member Function Documentation

template<class T>
int TAO_EC_Busy_Lock_Adapter< T >::acquire void   ) 
 

Definition at line 21 of file EC_Busy_Lock.cpp.

00022 {
00023   return this->adaptee_->busy ();
00024 }

template<class T>
int TAO_EC_Busy_Lock_Adapter< T >::acquire_read void   ) 
 

Definition at line 39 of file EC_Busy_Lock.cpp.

00040 {
00041   return this->adaptee_->busy ();
00042 }

template<class T>
int TAO_EC_Busy_Lock_Adapter< T >::acquire_write void   ) 
 

Definition at line 45 of file EC_Busy_Lock.cpp.

00046 {
00047   return this->adaptee_->busy ();
00048 }

template<class T>
int TAO_EC_Busy_Lock_Adapter< T >::release void   ) 
 

Definition at line 33 of file EC_Busy_Lock.cpp.

00034 {
00035   return this->adaptee_->idle ();
00036 }

template<class T>
TAO_BEGIN_VERSIONED_NAMESPACE_DECL int TAO_EC_Busy_Lock_Adapter< T >::remove void   ) 
 

Definition at line 15 of file EC_Busy_Lock.cpp.

00016 {
00017   return 0;
00018 }

template<class T>
int TAO_EC_Busy_Lock_Adapter< T >::tryacquire void   ) 
 

Definition at line 27 of file EC_Busy_Lock.cpp.

00028 {
00029   return this->adaptee_->busy ();
00030 }

template<class T>
int TAO_EC_Busy_Lock_Adapter< T >::tryacquire_read void   ) 
 

Definition at line 51 of file EC_Busy_Lock.cpp.

00052 {
00053   return this->adaptee_->busy ();
00054 }

template<class T>
int TAO_EC_Busy_Lock_Adapter< T >::tryacquire_write void   ) 
 

Definition at line 57 of file EC_Busy_Lock.cpp.

00058 {
00059   return this->adaptee_->busy ();
00060 }


Member Data Documentation

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

Definition at line 48 of file EC_Busy_Lock.h.


The documentation for this class was generated from the following files:
Generated on Thu Nov 9 13:14:25 2006 for TAO_RTEvent by doxygen 1.3.6