Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

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 <Synch.h>

Collaboration diagram for ACE_Null_Condition:

Collaboration graph
[legend]
List of all members.

Public Methods

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

int wait (const ACE_Time_Value *=0)
 Returns -1 with <errno> == <ETIME>. More...

int signal (void)
 Returns 0. More...

int broadcast (void)
 Returns 0. More...

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


Protected Attributes

ACE_Null_Mutexmutex_

Private Methods

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 718 of file Synch.h.


Constructor & Destructor Documentation

ACE_INLINE ACE_Null_Condition::ACE_Null_Condition const ACE_Null_Mutex   m,
const ACE_TCHAR   = 0,
void *    = 0
 

Definition at line 861 of file Synch.i.

References ACE_TCHAR.

00864   : mutex_ ((ACE_Null_Mutex &) m)
00865 {
00866 }

ACE_INLINE ACE_Null_Condition::~ACE_Null_Condition void   
 

Definition at line 868 of file Synch.i.

References ACE_INLINE.

00869 {
00870 }

ACE_Null_Condition::ACE_Null_Condition const ACE_Null_Condition &    [private]
 


Member Function Documentation

ACE_INLINE int ACE_Null_Condition::broadcast void   
 

Returns 0.

Definition at line 891 of file Synch.i.

00892 {
00893   return 0;
00894 }

ACE_INLINE void ACE_Null_Condition::dump void    const
 

Dump the state of an object.

Definition at line 903 of file Synch.i.

00904 {
00905 }

ACE_INLINE ACE_Null_Mutex & ACE_Null_Condition::mutex void   
 

Definition at line 897 of file Synch.i.

References mutex_.

00898 {
00899   return this->mutex_;
00900 }

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

ACE_INLINE int ACE_Null_Condition::remove void   
 

Returns 0.

Definition at line 872 of file Synch.i.

References ACE_INLINE.

00873 {
00874   return 0;
00875 }

ACE_INLINE int ACE_Null_Condition::signal void   
 

Returns 0.

Definition at line 885 of file Synch.i.

00886 {
00887   return 0;
00888 }

ACE_INLINE int ACE_Null_Condition::wait const ACE_Time_Value   = 0
 

Returns -1 with <errno> == <ETIME>.

Definition at line 878 of file Synch.i.

References ETIME.

00879 {
00880   errno = ETIME;
00881   return -1;
00882 }


Member Data Documentation

ACE_Null_Mutex& ACE_Null_Condition::mutex_ [protected]
 

Definition at line 746 of file Synch.h.

Referenced by mutex.


The documentation for this class was generated from the following files:
Generated on Mon Jun 16 12:51:13 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002