ACE_Null_Condition Class Reference

Implement a do nothing ACE_Condition variable wrapper, i.e., all methods are no ops. This class is necessary since some C++ compilers are *very* lame... More...

#include <Null_Condition.h>

Collaboration diagram for ACE_Null_Condition:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ACE_Null_Condition (const ACE_Null_Mutex &m, const ACE_TCHAR *=0, void *=0)
 ~ACE_Null_Condition (void)
int remove (void)
 Returns 0.

int wait (const ACE_Time_Value *=0)
 Returns -1 with == .

int wait (ACE_Null_Mutex &, const ACE_Time_Value *=0)
 Returns -1 with == .

int signal (void)
 Returns 0.

int broadcast (void)
 Returns 0.

ACE_Null_Mutexmutex (void)
void dump (void) const
 Dump the state of an object.


Protected Attributes

ACE_Null_Mutexmutex_

Private Member Functions

void operator= (const ACE_Null_Condition &)
 ACE_Null_Condition (const ACE_Null_Condition &)

Detailed Description

Implement a do nothing ACE_Condition variable wrapper, i.e., all methods are no ops. This class is necessary since some C++ compilers are *very* lame...

Definition at line 40 of file Null_Condition.h.


Constructor & Destructor Documentation

ACE_Null_Condition::ACE_Null_Condition const ACE_Null_Mutex m,
const ACE_TCHAR = 0,
void *  = 0
[inline]
 

Definition at line 43 of file Null_Condition.h.

References ACE_TCHAR.

00046     : mutex_ ((ACE_Null_Mutex &) m) {}

ACE_Null_Condition::~ACE_Null_Condition void   )  [inline]
 

Definition at line 48 of file Null_Condition.h.

00048 {}

ACE_Null_Condition::ACE_Null_Condition const ACE_Null_Condition  )  [private]
 


Member Function Documentation

int ACE_Null_Condition::broadcast void   )  [inline]
 

Returns 0.

Definition at line 64 of file Null_Condition.h.

00064 {return 0;}

void ACE_Null_Condition::dump void   )  const [inline]
 

Dump the state of an object.

Definition at line 68 of file Null_Condition.h.

00068 {}

ACE_Null_Mutex& ACE_Null_Condition::mutex void   )  [inline]
 

Definition at line 65 of file Null_Condition.h.

Referenced by ACE_Token_Proxy::acquire(), ACE_Token_Proxy::handle_options(), ACE_Token_Proxy::renew(), and ACE_Token_Proxy::token_acquired().

00065 {return this->mutex_;};

void ACE_Null_Condition::operator= const ACE_Null_Condition  )  [private]
 

int ACE_Null_Condition::remove void   )  [inline]
 

Returns 0.

Definition at line 51 of file Null_Condition.h.

00051 {return 0;}

int ACE_Null_Condition::signal void   )  [inline]
 

Returns 0.

Definition at line 61 of file Null_Condition.h.

Referenced by ACE_Token_Proxy::token_acquired().

00061 {return 0;}

int ACE_Null_Condition::wait ACE_Null_Mutex ,
const ACE_Time_Value = 0
[inline]
 

Returns -1 with == .

Definition at line 57 of file Null_Condition.h.

References ETIME.

00058                                         {errno = ETIME; return -1;}

int ACE_Null_Condition::wait const ACE_Time_Value = 0  )  [inline]
 

Returns -1 with == .

Definition at line 54 of file Null_Condition.h.

References ETIME.

Referenced by ACE_Token_Proxy::handle_options().

00054 {errno = ETIME; return -1;}


Member Data Documentation

ACE_Null_Mutex& ACE_Null_Condition::mutex_ [protected]
 

Definition at line 74 of file Null_Condition.h.


The documentation for this class was generated from the following file:
Generated on Thu Nov 9 11:25:59 2006 for ACE by doxygen 1.3.6