Public Member Functions | Protected Attributes | Friends

ACE_OS_Log_Msg_Attributes Class Reference

The attributes required by ACE_Log_Msg. More...

#include <OS_Log_Msg_Attributes.h>

Inheritance diagram for ACE_OS_Log_Msg_Attributes:
Inheritance graph
[legend]
Collaboration diagram for ACE_OS_Log_Msg_Attributes:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ACE_OS_Log_Msg_Attributes (void)
 Constructor.

Protected Attributes

ACE_OSTREAM_TYPE * ostream_
 Ostream where the new TSS Log_Msg will use.
void * ostream_refcount_
unsigned long priority_mask_
 Priority_mask to be used in new TSS Log_Msg.
int tracing_enabled_
 Are we allowing tracing in this thread?
bool restart_
int trace_depth_
 Depth of the nesting for printing traces.

Friends

class ACE_Log_Msg

Detailed Description

The attributes required by ACE_Log_Msg.

When a new thread is created the TSS resources for the Log_Msg class in the new thread may be inherited by the creator thread. The base_attributes are encapsulated in this class to simplify their manipulation and destruction.

The contents of the class must be made available to the OS layer, because they are part of the thread descriptor.

Definition at line 43 of file OS_Log_Msg_Attributes.h.


Constructor & Destructor Documentation

ACE_OS_Log_Msg_Attributes::ACE_OS_Log_Msg_Attributes ( void   ) 

Constructor.

Definition at line 8 of file OS_Log_Msg_Attributes.inl.

                                                          :
  ostream_ (0),
  ostream_refcount_ (0),
  priority_mask_ (0),
  tracing_enabled_ (0),
  restart_ (true),
  trace_depth_ (0)
#   if defined (ACE_HAS_WIN32_STRUCTURAL_EXCEPTIONS)
  , seh_except_selector_ (0),
  seh_except_handler_ (0)
#   endif /* ACE_HAS_WIN32_STRUCTURAL_EXCEPTIONS */
{
}


Friends And Related Function Documentation

friend class ACE_Log_Msg [friend]

Definition at line 50 of file OS_Log_Msg_Attributes.h.


Member Data Documentation

ACE_OSTREAM_TYPE* ACE_OS_Log_Msg_Attributes::ostream_ [protected]

Ostream where the new TSS Log_Msg will use.

Definition at line 53 of file OS_Log_Msg_Attributes.h.

Definition at line 54 of file OS_Log_Msg_Attributes.h.

unsigned long ACE_OS_Log_Msg_Attributes::priority_mask_ [protected]

Priority_mask to be used in new TSS Log_Msg.

Definition at line 57 of file OS_Log_Msg_Attributes.h.

Indicates whether we should restart system calls that are interrupted.

Definition at line 64 of file OS_Log_Msg_Attributes.h.

Depth of the nesting for printing traces.

Definition at line 67 of file OS_Log_Msg_Attributes.h.

Are we allowing tracing in this thread?

Definition at line 60 of file OS_Log_Msg_Attributes.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines