TAO_RTCORBA  2.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes | List of all members
TAO_RT_Mutex Class Reference

Abstract base class for the TAO RT Mutex implementations. More...

#include <RT_Mutex.h>

Inheritance diagram for TAO_RT_Mutex:
Inheritance graph
Collaboration diagram for TAO_RT_Mutex:
Collaboration graph

Public Member Functions

virtual void lock (void)
 Acquire the lock. More...
 
virtual void unlock (void)
 Release the lock. More...
 
virtual CORBA::Boolean try_lock (TimeBase::TimeT max_wait)
 
virtual const char * name (void) const
 Returns the name of the mutex. More...
 
virtual ~TAO_RT_Mutex (void)
 Destructor. More...
 

Protected Attributes

TAO_SYNCH_MUTEX mu_
 Synchronization lock. More...
 

Additional Inherited Members

- Public Types inherited from CORBA::LocalObject
typedef Object_ptr _ptr_type
 
typedef Object_var _var_type
 
typedef Object_out _out_type
 
- Static Public Member Functions inherited from CORBA::LocalObject
static CORBA::Boolean marshal (const Object_ptr x, TAO_OutputCDR &cdr)
 
static void _tao_any_destructor (void *)
 
static CORBA::Boolean is_nil_i (CORBA::Object_ptr obj)
 
static void tao_object_initialize (Object *)
 
static CORBA::Object_ptr _duplicate (CORBA::Object_ptr obj)
 
static CORBA::Object_ptr _nil (void)
 
static CORBA::Object_ptr _narrow (CORBA::Object_ptr obj)
 
- Protected Member Functions inherited from CORBA::LocalObject
 Object (int dummy=0)
 
TAO::Object_Proxy_Brokerproxy_broker () const
 

Detailed Description

Abstract base class for the TAO RT Mutex implementations.

This class just serves as a base class for any of the TAO RT Mutex implementations. Instances of these classes should be created using the RTCORBA::create_mutex() method.

Constructor & Destructor Documentation

TAO_RT_Mutex::~TAO_RT_Mutex ( void  )
virtual

Destructor.

Member Function Documentation

void TAO_RT_Mutex::lock ( void  )
virtual

Acquire the lock.

const char * TAO_RT_Mutex::name ( void  ) const
virtual

Returns the name of the mutex.

CORBA::Boolean TAO_RT_Mutex::try_lock ( TimeBase::TimeT  max_wait)
virtual

Acquire the lock, but only wait up to max_wait time. Note that this operation may not be available on all OS platforms, so if you're interested in writing maximally portable programs avoid using this operation in your program designs.

void TAO_RT_Mutex::unlock ( void  )
virtual

Release the lock.

Member Data Documentation

TAO_SYNCH_MUTEX TAO_RT_Mutex::mu_
protected

Synchronization lock.


The documentation for this class was generated from the following files: