ESF_Busy_Lock.cpp

Go to the documentation of this file.
00001 // ESF_Busy_Lock.cpp,v 1.4 2006/03/14 06:14:25 jtc Exp
00002 
00003 #ifndef TAO_ESF_BUSY_LOCK_CPP
00004 #define TAO_ESF_BUSY_LOCK_CPP
00005 
00006 #include "orbsvcs/ESF/ESF_Busy_Lock.h"
00007 
00008 #if ! defined (__ACE_INLINE__)
00009 #include "orbsvcs/ESF/ESF_Busy_Lock.i"
00010 #endif /* __ACE_INLINE__ */
00011 
00012 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00013 
00014 template<class T>
00015 int TAO_ESF_Busy_Lock_Adapter<T>::remove (void)
00016 {
00017   return 0;
00018 }
00019 
00020 template<class T>
00021 int TAO_ESF_Busy_Lock_Adapter<T>::acquire (void)
00022 {
00023   return this->adaptee_->busy ();
00024 }
00025 
00026 template<class T>
00027 int TAO_ESF_Busy_Lock_Adapter<T>::tryacquire (void)
00028 {
00029   return this->adaptee_->busy ();
00030 }
00031 
00032 template<class T>
00033 int TAO_ESF_Busy_Lock_Adapter<T>::release (void)
00034 {
00035   return this->adaptee_->idle ();
00036 }
00037 
00038 template<class T>
00039 int TAO_ESF_Busy_Lock_Adapter<T>::acquire_read (void)
00040 {
00041   return this->adaptee_->busy ();
00042 }
00043 
00044 template<class T>
00045 int TAO_ESF_Busy_Lock_Adapter<T>::acquire_write (void)
00046 {
00047   return this->adaptee_->busy ();
00048 }
00049 
00050 template<class T>
00051 int TAO_ESF_Busy_Lock_Adapter<T>::tryacquire_read (void)
00052 {
00053   return this->adaptee_->busy ();
00054 }
00055 
00056 template<class T>
00057 int TAO_ESF_Busy_Lock_Adapter<T>::tryacquire_write (void)
00058 {
00059   return this->adaptee_->busy ();
00060 }
00061 
00062 TAO_END_VERSIONED_NAMESPACE_DECL
00063 
00064 #endif /* TAO_ESF_BUSY_LOCK_CPP */

Generated on Thu Nov 9 13:08:12 2006 for TAO_ESF by doxygen 1.3.6