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