ACE_OS_Log_Msg_Attributes Class Reference

The attributes required by ACE_Log_Msg. More...

#include <OS_Log_Msg_Attributes.h>

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.
ACE_SEH_EXCEPT_HANDLER seh_except_selector_
 Structured exception handling Callbacks, only used under Win32.
ACE_SEH_EXCEPT_HANDLER seh_except_handler_

Private Member Functions

 ACE_OS_Log_Msg_Attributes (const ACE_OS_Log_Msg_Attributes &)
ACE_OS_Log_Msg_Attributesoperator= (const ACE_OS_Log_Msg_Attributes &)

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 42 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.

00008                                                           :
00009   ostream_ (0),
00010   ostream_refcount_ (0),
00011   priority_mask_ (0),
00012   tracing_enabled_ (0),
00013   restart_ (true),
00014   trace_depth_ (0)
00015 #   if defined (ACE_HAS_WIN32_STRUCTURAL_EXCEPTIONS)
00016   , seh_except_selector_ (0),
00017   seh_except_handler_ (0)
00018 #   endif /* ACE_HAS_WIN32_STRUCTURAL_EXCEPTIONS */
00019 {
00020 }

ACE_OS_Log_Msg_Attributes::ACE_OS_Log_Msg_Attributes ( const ACE_OS_Log_Msg_Attributes  )  [private]

Member Function Documentation

ACE_OS_Log_Msg_Attributes& ACE_OS_Log_Msg_Attributes::operator= ( const ACE_OS_Log_Msg_Attributes  )  [private]

Friends And Related Function Documentation

friend class ACE_Log_Msg [friend]

Definition at line 49 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 52 of file OS_Log_Msg_Attributes.h.

Definition at line 53 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 56 of file OS_Log_Msg_Attributes.h.

Indicates whether we should restart system calls that are interrupted.

Definition at line 63 of file OS_Log_Msg_Attributes.h.

ACE_SEH_EXCEPT_HANDLER ACE_OS_Log_Msg_Attributes::seh_except_handler_ [protected]

Definition at line 71 of file OS_Log_Msg_Attributes.h.

ACE_SEH_EXCEPT_HANDLER ACE_OS_Log_Msg_Attributes::seh_except_selector_ [protected]

Structured exception handling Callbacks, only used under Win32.

Definition at line 70 of file OS_Log_Msg_Attributes.h.

Depth of the nesting for printing traces.

Definition at line 66 of file OS_Log_Msg_Attributes.h.

Are we allowing tracing in this thread?

Definition at line 59 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

Generated on Fri Nov 6 23:25:09 2009 for ACE by  doxygen 1.6.1