Warning, file /include/opencascade/Message_PrinterSystemLog.hxx was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014 #ifndef _Message_PrinterSystemLog_HeaderFile
0015 #define _Message_PrinterSystemLog_HeaderFile
0016
0017 #include <Message_Printer.hxx>
0018 #include <TCollection_AsciiString.hxx>
0019
0020 DEFINE_STANDARD_HANDLE(Message_PrinterSystemLog, Message_Printer)
0021
0022
0023
0024
0025
0026
0027 class Message_PrinterSystemLog : public Message_Printer
0028 {
0029 DEFINE_STANDARD_RTTIEXT(Message_PrinterSystemLog, Message_Printer)
0030 public:
0031
0032
0033 Standard_EXPORT Message_PrinterSystemLog (const TCollection_AsciiString& theEventSourceName,
0034 const Message_Gravity theTraceLevel = Message_Info);
0035
0036
0037 Standard_EXPORT virtual ~Message_PrinterSystemLog();
0038
0039 protected:
0040
0041
0042 Standard_EXPORT virtual void send (const TCollection_AsciiString& theString,
0043 const Message_Gravity theGravity) const Standard_OVERRIDE;
0044
0045 private:
0046
0047 TCollection_AsciiString myEventSourceName;
0048 #ifdef _WIN32
0049 Standard_Address myEventSource;
0050 #endif
0051
0052 };
0053
0054 #endif