RTCORBA::Mutex Interface Reference

import "RTCORBA.pidl";

Inheritance diagram for RTCORBA::Mutex:

Inheritance graph
[legend]
Collaboration diagram for RTCORBA::Mutex:

Collaboration graph
[legend]
List of all members.

Public Types

typedef Mutex_ptr _ptr_type
typedef Mutex_var _var_type

Public Member Functions

void lock ()
void unlock ()
boolean try_lock (in TimeBase::TimeT max_wait)
virtual void lock ()=0 throw ( CORBA::SystemException )
virtual void unlock ()=0 throw ( CORBA::SystemException )
virtual CORBA::Boolean try_lock (::TimeBase::TimeT max_wait)=0 throw ( CORBA::SystemException )
virtual CORBA::Boolean _is_a (const char *type_id)
virtual const char * _interface_repository_id (void) const
virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr)

Static Public Member Functions

Mutex_ptr _duplicate (Mutex_ptr obj)
void _tao_release (Mutex_ptr obj)
Mutex_ptr _narrow (CORBA::Object_ptr obj)
Mutex_ptr _unchecked_narrow (CORBA::Object_ptr obj)
Mutex_ptr _nil (void)
void _tao_any_destructor (void *)

Protected Member Functions

 Mutex (void)
virtual ~Mutex (void)

Private Member Functions

 Mutex (const Mutex &)
void operator= (const Mutex &)

Member Typedef Documentation

typedef Mutex_ptr RTCORBA::Mutex::_ptr_type
 

Reimplemented from CORBA::Object.

Definition at line 2402 of file RTCORBAC.h.

typedef Mutex_var RTCORBA::Mutex::_var_type
 

Reimplemented from CORBA::Object.

Definition at line 2403 of file RTCORBAC.h.


Constructor & Destructor Documentation

RTCORBA::Mutex::Mutex void   )  [protected]
 

Definition at line 2162 of file RTCORBAC.cpp.

02163 {}

RTCORBA::Mutex::~Mutex void   )  [protected, virtual]
 

Definition at line 2165 of file RTCORBAC.cpp.

02166 {}

RTCORBA::Mutex::Mutex const Mutex  )  [private]
 


Member Function Documentation

RTCORBA::Mutex_ptr RTCORBA::Mutex::_duplicate Mutex_ptr  obj  )  [static]
 

Definition at line 2199 of file RTCORBAC.cpp.

References CORBA::Object::_add_ref(), and RTCORBA::Mutex_ptr.

Referenced by operator<<=().

02200 {
02201   if (! ::CORBA::is_nil (obj))
02202     {
02203       obj->_add_ref ();
02204     }
02205 
02206   return obj;
02207 }

const char * RTCORBA::Mutex::_interface_repository_id void   )  const [virtual]
 

Reimplemented from CORBA::Object.

Definition at line 2244 of file RTCORBAC.cpp.

02245 {
02246   return "IDL:omg.org/RTCORBA/Mutex:1.0";
02247 }

CORBA::Boolean RTCORBA::Mutex::_is_a const char *  type_id  )  [virtual]
 

Reimplemented from CORBA::Object.

Definition at line 2216 of file RTCORBAC.cpp.

References ACE_OS::strcmp().

02220 {
02221   if (
02222       !ACE_OS::strcmp (
02223           value,
02224           "IDL:omg.org/RTCORBA/Mutex:1.0"
02225         ) ||
02226       !ACE_OS::strcmp (
02227           value,
02228           "IDL:omg.org/CORBA/LocalObject:1.0"
02229         ) ||
02230       !ACE_OS::strcmp (
02231           value,
02232           "IDL:omg.org/CORBA/Object:1.0"
02233         )
02234     )
02235     {
02236       return true; // success using local knowledge
02237     }
02238   else
02239     {
02240       return false;
02241     }
02242 }

RTCORBA::Mutex_ptr RTCORBA::Mutex::_narrow CORBA::Object_ptr  obj  )  [static]
 

Reimplemented from CORBA::Object.

Definition at line 2177 of file RTCORBAC.cpp.

02181 {
02182   return Mutex::_duplicate (
02183       dynamic_cast<Mutex_ptr> (_tao_objref)
02184     );
02185 }

Mutex_ptr RTCORBA::Mutex::_nil void   )  [inline, static]
 

Reimplemented from CORBA::Object.

Definition at line 2420 of file RTCORBAC.h.

References RTCORBA::Mutex_ptr.

02421     {
02422       return static_cast<Mutex_ptr> (0);
02423     }

void RTCORBA::Mutex::_tao_any_destructor void *   )  [static]
 

Reimplemented from CORBA::Object.

Definition at line 2169 of file RTCORBAC.cpp.

02170 {
02171   Mutex *_tao_tmp_pointer =
02172     static_cast<Mutex *> (_tao_void_pointer);
02173   ::CORBA::release (_tao_tmp_pointer);
02174 }

void RTCORBA::Mutex::_tao_release Mutex_ptr  obj  )  [static]
 

Definition at line 2210 of file RTCORBAC.cpp.

References RTCORBA::Mutex_ptr.

02211 {
02212   ::CORBA::release (obj);
02213 }

RTCORBA::Mutex_ptr RTCORBA::Mutex::_unchecked_narrow CORBA::Object_ptr  obj  )  [static]
 

Definition at line 2188 of file RTCORBAC.cpp.

02192 {
02193   return Mutex::_duplicate (
02194       dynamic_cast<Mutex_ptr> (_tao_objref)
02195     );
02196 }

virtual void RTCORBA::Mutex::lock  )  throw ( CORBA::SystemException ) [pure virtual]
 

Implemented in TAO_RT_Mutex.

void RTCORBA::Mutex::lock  ) 
 

Implemented in TAO_RT_Mutex.

CORBA::Boolean RTCORBA::Mutex::marshal TAO_OutputCDR cdr  )  [virtual]
 

Reimplemented from CORBA::Object.

Definition at line 2250 of file RTCORBAC.cpp.

02251 {
02252   return false;
02253 }

void RTCORBA::Mutex::operator= const Mutex  )  [private]
 

virtual CORBA::Boolean RTCORBA::Mutex::try_lock ::TimeBase::TimeT  max_wait  )  throw ( CORBA::SystemException ) [pure virtual]
 

boolean RTCORBA::Mutex::try_lock in TimeBase::TimeT  max_wait  ) 
 

virtual void RTCORBA::Mutex::unlock  )  throw ( CORBA::SystemException ) [pure virtual]
 

Implemented in TAO_RT_Mutex.

void RTCORBA::Mutex::unlock  ) 
 

Implemented in TAO_RT_Mutex.


The documentation for this interface was generated from the following files:
Generated on Thu Nov 9 13:00:52 2006 for TAO_RTCORBA by doxygen 1.3.6