00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef ACE_OS_LOG_MSG_ATTRIBUTES_H
00015 #define ACE_OS_LOG_MSG_ATTRIBUTES_H
00016 #include "ace/pre.h"
00017
00018 #include "ace/config-all.h"
00019 #include "ace/streams.h"
00020 #include <stdarg.h> // LynxOS requires this before stdio.h
00021 #include <stdio.h>
00022
00023 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00024 # pragma once
00025 #endif
00026
00027 #if !defined (ACE_OSTREAM_TYPE)
00028 # if defined (ACE_LACKS_IOSTREAM_TOTALLY)
00029 # define ACE_OSTREAM_TYPE FILE
00030 # else
00031 # define ACE_OSTREAM_TYPE ostream
00032 # endif
00033 #endif
00034
00035
00036 #include "ace/OS_Export.h"
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048 class ACE_OS_Export ACE_OS_Log_Msg_Attributes
00049 {
00050 public:
00051
00052 ACE_OS_Log_Msg_Attributes (void);
00053
00054 protected:
00055 friend class ACE_Log_Msg;
00056
00057
00058 ACE_OSTREAM_TYPE *ostream_;
00059
00060
00061 unsigned long priority_mask_;
00062
00063
00064 int tracing_enabled_;
00065
00066
00067
00068 int restart_;
00069
00070
00071 int trace_depth_;
00072
00073 # if defined (ACE_HAS_WIN32_STRUCTURAL_EXCEPTIONS)
00074
00075 ACE_SEH_EXCEPT_HANDLER seh_except_selector_;
00076 ACE_SEH_EXCEPT_HANDLER seh_except_handler_;
00077 # endif
00078 };
00079
00080 # if defined (ACE_HAS_INLINED_OSCALLS)
00081 # if defined (ACE_INLINE)
00082 # undef ACE_INLINE
00083 # endif
00084 # define ACE_INLINE inline
00085 # include "ace/OS_Log_Msg_Attributes.inl"
00086 # endif
00087
00088 #include "ace/post.h"
00089 #endif