TAO_RTCORBA  2.2.8
 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...
 
- Public Member Functions inherited from RTCORBA::Mutex
boolean try_lock (in TimeBase::TimeT max_wait)
 if max_wait = 0 then return immediately More...
 
- Public Member Functions inherited from CORBA::Object
virtual TAO::ObjectKey_key (void)
 
virtual CORBA::ULong _hash (CORBA::ULong maximum)
 
virtual CORBA::Boolean _is_equivalent (CORBA::Object_ptr other_obj)
 
virtual CORBA::Boolean _non_existent (void)
 
virtual InterfaceDef_ptr _get_interface (void)
 
virtual CORBA::Object_ptr _get_component (void)
 
virtual char * _repository_id (void)
 
virtual void _create_request (CORBA::Context_ptr ctx, const char *operation, CORBA::NVList_ptr arg_list, CORBA::NamedValue_ptr result, CORBA::Request_ptr &request, CORBA::Flags req_flags)
 
virtual void _create_request (CORBA::Context_ptr ctx, const char *operation, CORBA::NVList_ptr arg_list, CORBA::NamedValue_ptr result, CORBA::ExceptionList_ptr exclist, CORBA::ContextList_ptr ctxtlist, CORBA::Request_ptr &request, CORBA::Flags req_flags)
 
virtual CORBA::Request_ptr _request (const char *operation)
 
virtual CORBA::ORB_ptr _get_orb (void)
 

Protected Attributes

TAO_SYNCH_MUTEX mu_
 Synchronization lock. More...
 

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.

Implements RTCORBA::Mutex.

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.

Implements RTCORBA::Mutex.

Member Data Documentation

TAO_SYNCH_MUTEX TAO_RT_Mutex::mu_
protected

Synchronization lock.


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