TAO::Nested_Upcall_Guard Class Reference

: Magic class that sets the status of the thread in the TSS. More...

Collaboration diagram for TAO::Nested_Upcall_Guard:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Nested_Upcall_Guard (TAO_Transport *t)
 ~Nested_Upcall_Guard (void)

Private Member Functions

 Nested_Upcall_Guard (void)
 Nested_Upcall_Guard (const Nested_Upcall_Guard &)
 Disallow copying and assignment.

Nested_Upcall_Guardoperator= (const Nested_Upcall_Guard &)

Private Attributes

TAO_Transportt_
 Pointer to the transport that we plan to use.


Detailed Description

: Magic class that sets the status of the thread in the TSS.

Definition at line 26 of file Wait_On_LF_No_Upcall.cpp.


Constructor & Destructor Documentation

TAO::Nested_Upcall_Guard::Nested_Upcall_Guard TAO_Transport t  )  [inline]
 

Definition at line 31 of file Wait_On_LF_No_Upcall.cpp.

References ACE_DEBUG, TAO_ORB_Core::get_tss_resources(), LM_DEBUG, TAO_Transport::orb_core(), TAO_debug_level, and TAO_ORB_Core_TSS_Resources::upcalls_temporarily_suspended_on_this_thread_.

00032       : t_ (t)
00033     {
00034       TAO_ORB_Core_TSS_Resources *tss =
00035         t_->orb_core()->get_tss_resources ();
00036 
00037       tss->upcalls_temporarily_suspended_on_this_thread_ = true;
00038 
00039       if (TAO_debug_level > 6)
00040         ACE_DEBUG ((LM_DEBUG,
00041                     "TAO (%P|%t) - Wait_On_LF_No_Upcall::wait "
00042                     "disabling upcalls on thread %t\n"));
00043     }

TAO::Nested_Upcall_Guard::~Nested_Upcall_Guard void   )  [inline]
 

Definition at line 45 of file Wait_On_LF_No_Upcall.cpp.

References ACE_DEBUG, TAO_ORB_Core::get_tss_resources(), LM_DEBUG, TAO_Transport::orb_core(), TAO_debug_level, and TAO_ORB_Core_TSS_Resources::upcalls_temporarily_suspended_on_this_thread_.

00046     {
00047       TAO_ORB_Core_TSS_Resources *tss =
00048         t_->orb_core()->get_tss_resources ();
00049 
00050       tss->upcalls_temporarily_suspended_on_this_thread_ =
00051         false;
00052 
00053       if (TAO_debug_level > 6)
00054         ACE_DEBUG ((LM_DEBUG,
00055                     "TAO (%P|%t) - Wait_On_LF_No_Upcall::wait "
00056                     "re-enabling upcalls on thread %t\n"));
00057     }

TAO::Nested_Upcall_Guard::Nested_Upcall_Guard void   )  [inline, private]
 

Definition at line 61 of file Wait_On_LF_No_Upcall.cpp.

00061 {}

TAO::Nested_Upcall_Guard::Nested_Upcall_Guard const Nested_Upcall_Guard  )  [private]
 

Disallow copying and assignment.


Member Function Documentation

Nested_Upcall_Guard& TAO::Nested_Upcall_Guard::operator= const Nested_Upcall_Guard  )  [private]
 


Member Data Documentation

TAO_Transport* TAO::Nested_Upcall_Guard::t_ [private]
 

Pointer to the transport that we plan to use.

Definition at line 70 of file Wait_On_LF_No_Upcall.cpp.


The documentation for this class was generated from the following file:
Generated on Thu Nov 9 12:27:33 2006 for TAO by doxygen 1.3.6