RTCORBA::ThreadpoolPolicy Interface Reference

import "RTCORBA.pidl";

Inheritance diagram for RTCORBA::ThreadpoolPolicy:

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef ThreadpoolPolicy_ptr _ptr_type
typedef ThreadpoolPolicy_var _var_type

Public Member Functions

virtual RTCORBA::ThreadpoolId threadpool ()=0 throw ( CORBA::SystemException )
virtual::CORBA::Policy_ptr copy ()=0 throw ( CORBA::SystemException )
virtual void destroy ()=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

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

Public Attributes

readonly attribute ThreadpoolId threadpool

Protected Member Functions

 ThreadpoolPolicy (void)
virtual ~ThreadpoolPolicy (void)

Private Member Functions

 ThreadpoolPolicy (const ThreadpoolPolicy &)
void operator= (const ThreadpoolPolicy &)

Member Typedef Documentation

typedef ThreadpoolPolicy_ptr RTCORBA::ThreadpoolPolicy::_ptr_type
 

Implements CORBA::Policy.

Definition at line 411 of file RTCORBAC.h.

typedef ThreadpoolPolicy_var RTCORBA::ThreadpoolPolicy::_var_type
 

Implements CORBA::Policy.

Definition at line 412 of file RTCORBAC.h.


Constructor & Destructor Documentation

RTCORBA::ThreadpoolPolicy::ThreadpoolPolicy void   )  [protected]
 

Definition at line 305 of file RTCORBAC.cpp.

00306 {}

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

Definition at line 308 of file RTCORBAC.cpp.

00309 {}

RTCORBA::ThreadpoolPolicy::ThreadpoolPolicy const ThreadpoolPolicy  )  [private]
 


Member Function Documentation

RTCORBA::ThreadpoolPolicy_ptr RTCORBA::ThreadpoolPolicy::_duplicate ThreadpoolPolicy_ptr  obj  )  [static]
 

Definition at line 342 of file RTCORBAC.cpp.

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

Referenced by operator<<=().

00343 {
00344   if (! ::CORBA::is_nil (obj))
00345     {
00346       obj->_add_ref ();
00347     }
00348 
00349   return obj;
00350 }

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

Implements CORBA::Policy.

Definition at line 391 of file RTCORBAC.cpp.

00392 {
00393   return "IDL:omg.org/RTCORBA/ThreadpoolPolicy:1.0";
00394 }

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

Implements CORBA::Policy.

Definition at line 359 of file RTCORBAC.cpp.

References ACE_OS::strcmp().

00363 {
00364   if (
00365       !ACE_OS::strcmp (
00366           value,
00367           "IDL:omg.org/CORBA/Policy:1.0"
00368         ) ||
00369       !ACE_OS::strcmp (
00370           value,
00371           "IDL:omg.org/RTCORBA/ThreadpoolPolicy:1.0"
00372         ) ||
00373       !ACE_OS::strcmp (
00374           value,
00375           "IDL:omg.org/CORBA/LocalObject:1.0"
00376         ) ||
00377       !ACE_OS::strcmp (
00378           value,
00379           "IDL:omg.org/CORBA/Object:1.0"
00380         )
00381     )
00382     {
00383       return true; // success using local knowledge
00384     }
00385   else
00386     {
00387       return false;
00388     }
00389 }

RTCORBA::ThreadpoolPolicy_ptr RTCORBA::ThreadpoolPolicy::_narrow CORBA::Object_ptr  obj  )  [static]
 

Implements CORBA::Policy.

Definition at line 320 of file RTCORBAC.cpp.

00324 {
00325   return ThreadpoolPolicy::_duplicate (
00326       dynamic_cast<ThreadpoolPolicy_ptr> (_tao_objref)
00327     );
00328 }

ThreadpoolPolicy_ptr RTCORBA::ThreadpoolPolicy::_nil void   )  [inline, static]
 

Implements CORBA::Policy.

Definition at line 429 of file RTCORBAC.h.

References RTCORBA::ThreadpoolPolicy_ptr.

00430     {
00431       return static_cast<ThreadpoolPolicy_ptr> (0);
00432     }

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

Implements CORBA::Policy.

Definition at line 312 of file RTCORBAC.cpp.

00313 {
00314   ThreadpoolPolicy *_tao_tmp_pointer =
00315     static_cast<ThreadpoolPolicy *> (_tao_void_pointer);
00316   ::CORBA::release (_tao_tmp_pointer);
00317 }

void RTCORBA::ThreadpoolPolicy::_tao_release ThreadpoolPolicy_ptr  obj  )  [static]
 

Definition at line 353 of file RTCORBAC.cpp.

References RTCORBA::ThreadpoolPolicy_ptr.

00354 {
00355   ::CORBA::release (obj);
00356 }

RTCORBA::ThreadpoolPolicy_ptr RTCORBA::ThreadpoolPolicy::_unchecked_narrow CORBA::Object_ptr  obj  )  [static]
 

Implements CORBA::Policy.

Definition at line 331 of file RTCORBAC.cpp.

00335 {
00336   return ThreadpoolPolicy::_duplicate (
00337       dynamic_cast<ThreadpoolPolicy_ptr> (_tao_objref)
00338     );
00339 }

virtual ::CORBA::Policy_ptr RTCORBA::ThreadpoolPolicy::copy  )  throw ( CORBA::SystemException ) [pure virtual]
 

Implements CORBA::Policy.

Implemented in TAO_ThreadpoolPolicy.

virtual void RTCORBA::ThreadpoolPolicy::destroy  )  throw ( CORBA::SystemException ) [pure virtual]
 

Implements CORBA::Policy.

Implemented in TAO_ThreadpoolPolicy.

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

Implements CORBA::Policy.

Definition at line 397 of file RTCORBAC.cpp.

00398 {
00399   return false;
00400 }

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

virtual RTCORBA::ThreadpoolId RTCORBA::ThreadpoolPolicy::threadpool  )  throw ( CORBA::SystemException ) [pure virtual]
 

Implemented in TAO_ThreadpoolPolicy.


Member Data Documentation

readonly attribute ThreadpoolId RTCORBA::ThreadpoolPolicy::threadpool
 

Definition at line 106 of file RTCORBA.pidl.


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