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_

Detailed Description

template<class Adaptee>
class TAO_EC_Busy_Lock_Adapter< Adaptee >

Definition at line 29 of file EC_Busy_Lock.h.


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.inl.

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.

References TAO_EC_Busy_Lock_Adapter< Adaptee >::adaptee_.

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.

References TAO_EC_Busy_Lock_Adapter< Adaptee >::adaptee_.

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.

References TAO_EC_Busy_Lock_Adapter< Adaptee >::adaptee_.

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.

References TAO_EC_Busy_Lock_Adapter< Adaptee >::adaptee_.

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.

References TAO_EC_Busy_Lock_Adapter< Adaptee >::adaptee_.

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.

References TAO_EC_Busy_Lock_Adapter< Adaptee >::adaptee_.

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.

References TAO_EC_Busy_Lock_Adapter< Adaptee >::adaptee_.

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.

Referenced by TAO_EC_Busy_Lock_Adapter< Adaptee >::acquire(), TAO_EC_Busy_Lock_Adapter< Adaptee >::acquire_read(), TAO_EC_Busy_Lock_Adapter< Adaptee >::acquire_write(), TAO_EC_Busy_Lock_Adapter< Adaptee >::release(), TAO_EC_Busy_Lock_Adapter< Adaptee >::tryacquire(), TAO_EC_Busy_Lock_Adapter< Adaptee >::tryacquire_read(), and TAO_EC_Busy_Lock_Adapter< Adaptee >::tryacquire_write().


The documentation for this class was generated from the following files:
Generated on Tue Feb 2 17:44:26 2010 for TAO_RTEvent by  doxygen 1.4.7