#include <ESF_Busy_Lock.h>
Collaboration diagram for TAO_ESF_Busy_Lock_Adapter< Adaptee >:
Public Member Functions | |
TAO_ESF_Busy_Lock_Adapter (Adaptee *adaptee) | |
Constructor. | |
The ACE_Lock methods | |
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_ |
busy
method of the object is invoked. idle
method of the object is invoked. idle
executes the changes.
Definition at line 40 of file ESF_Busy_Lock.h.
TAO_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE TAO_ESF_Busy_Lock_Adapter< T >::TAO_ESF_Busy_Lock_Adapter | ( | Adaptee * | adaptee | ) |
Constructor.
Definition at line 8 of file ESF_Busy_Lock.inl.
00009 : adaptee_ (adaptee) 00010 { 00011 }
int TAO_ESF_Busy_Lock_Adapter< T >::acquire | ( | void | ) |
Definition at line 21 of file ESF_Busy_Lock.cpp.
References TAO_ESF_Busy_Lock_Adapter< Adaptee >::adaptee_.
00022 { 00023 return this->adaptee_->busy (); 00024 }
int TAO_ESF_Busy_Lock_Adapter< T >::acquire_read | ( | void | ) |
Definition at line 39 of file ESF_Busy_Lock.cpp.
References TAO_ESF_Busy_Lock_Adapter< Adaptee >::adaptee_.
00040 { 00041 return this->adaptee_->busy (); 00042 }
int TAO_ESF_Busy_Lock_Adapter< T >::acquire_write | ( | void | ) |
Definition at line 45 of file ESF_Busy_Lock.cpp.
References TAO_ESF_Busy_Lock_Adapter< Adaptee >::adaptee_.
00046 { 00047 return this->adaptee_->busy (); 00048 }
int TAO_ESF_Busy_Lock_Adapter< T >::release | ( | void | ) |
Definition at line 33 of file ESF_Busy_Lock.cpp.
References TAO_ESF_Busy_Lock_Adapter< Adaptee >::adaptee_.
00034 { 00035 return this->adaptee_->idle (); 00036 }
TAO_BEGIN_VERSIONED_NAMESPACE_DECL int TAO_ESF_Busy_Lock_Adapter< T >::remove | ( | void | ) |
int TAO_ESF_Busy_Lock_Adapter< T >::tryacquire | ( | void | ) |
Definition at line 27 of file ESF_Busy_Lock.cpp.
References TAO_ESF_Busy_Lock_Adapter< Adaptee >::adaptee_.
00028 { 00029 return this->adaptee_->busy (); 00030 }
int TAO_ESF_Busy_Lock_Adapter< T >::tryacquire_read | ( | void | ) |
Definition at line 51 of file ESF_Busy_Lock.cpp.
References TAO_ESF_Busy_Lock_Adapter< Adaptee >::adaptee_.
00052 { 00053 return this->adaptee_->busy (); 00054 }
int TAO_ESF_Busy_Lock_Adapter< T >::tryacquire_write | ( | void | ) |
Definition at line 57 of file ESF_Busy_Lock.cpp.
References TAO_ESF_Busy_Lock_Adapter< Adaptee >::adaptee_.
00058 { 00059 return this->adaptee_->busy (); 00060 }
Adaptee* TAO_ESF_Busy_Lock_Adapter< Adaptee >::adaptee_ [private] |
Definition at line 63 of file ESF_Busy_Lock.h.
Referenced by TAO_ESF_Busy_Lock_Adapter< Adaptee >::acquire(), TAO_ESF_Busy_Lock_Adapter< Adaptee >::acquire_read(), TAO_ESF_Busy_Lock_Adapter< Adaptee >::acquire_write(), TAO_ESF_Busy_Lock_Adapter< Adaptee >::release(), TAO_ESF_Busy_Lock_Adapter< Adaptee >::tryacquire(), TAO_ESF_Busy_Lock_Adapter< Adaptee >::tryacquire_read(), and TAO_ESF_Busy_Lock_Adapter< Adaptee >::tryacquire_write().