Public Member Functions | Private Member Functions | Private Attributes

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.

      : t_ (t)
    {
      TAO_ORB_Core_TSS_Resources *tss =
        t_->orb_core ()->get_tss_resources ();

      tss->upcalls_temporarily_suspended_on_this_thread_ = true;

      if (TAO_debug_level > 6)
        ACE_DEBUG ((LM_DEBUG,
                    "TAO (%P|%t) - Wait_On_LF_No_Upcall::wait "
                    "disabling upcalls on thread %t\n"));
    }

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

Definition at line 45 of file Wait_On_LF_No_Upcall.cpp.

    {
      TAO_ORB_Core_TSS_Resources *tss = t_->orb_core ()->get_tss_resources ();

      tss->upcalls_temporarily_suspended_on_this_thread_ = false;

      if (TAO_debug_level > 6)
        {
          ACE_DEBUG ((LM_DEBUG,
                      "TAO (%P|%t) - Wait_On_LF_No_Upcall::wait "
                      "re-enabling upcalls on thread %t\n"));
        }
    }

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

Definition at line 61 of file Wait_On_LF_No_Upcall.cpp.

    {
    }

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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines