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, LM_DEBUG, 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, LM_DEBUG, TAO_debug_level, and TAO_ORB_Core_TSS_Resources::upcalls_temporarily_suspended_on_this_thread_.

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

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

Definition at line 61 of file Wait_On_LF_No_Upcall.cpp.

00062     {
00063     }

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 72 of file Wait_On_LF_No_Upcall.cpp.


The documentation for this class was generated from the following file:
Generated on Tue Feb 2 17:39:15 2010 for TAO by  doxygen 1.4.7