|
static const Handle< Message_Messenger > & | DefaultMessenger () |
| Defines default messenger for OCCT applications. This is global static instance of the messenger. By default, it contains single printer directed to std::cout. It can be customized according to the application needs.
|
|
|
static Message_Messenger::StreamBuffer | Send (Message_Gravity theGravity) |
| Returns the string filled with values of hours, minutes and seconds. Example:
|
|
static void | Send (const TCollection_AsciiString &theMessage, Message_Gravity theGravity) |
| Returns the string filled with values of hours, minutes and seconds. Example:
|
|
static Message_Messenger::StreamBuffer | SendFail () |
| Returns the string filled with values of hours, minutes and seconds. Example:
|
|
static Message_Messenger::StreamBuffer | SendAlarm () |
| Returns the string filled with values of hours, minutes and seconds. Example:
|
|
static Message_Messenger::StreamBuffer | SendWarning () |
| Returns the string filled with values of hours, minutes and seconds. Example:
|
|
static Message_Messenger::StreamBuffer | SendInfo () |
| Returns the string filled with values of hours, minutes and seconds. Example:
|
|
static Message_Messenger::StreamBuffer | SendTrace () |
| Returns the string filled with values of hours, minutes and seconds. Example:
|
|
static void | SendFail (const TCollection_AsciiString &theMessage) |
| Returns the string filled with values of hours, minutes and seconds. Example:
|
|
static void | SendAlarm (const TCollection_AsciiString &theMessage) |
| Returns the string filled with values of hours, minutes and seconds. Example:
|
|
static void | SendWarning (const TCollection_AsciiString &theMessage) |
| Returns the string filled with values of hours, minutes and seconds. Example:
|
|
static void | SendInfo (const TCollection_AsciiString &theMessage) |
| Returns the string filled with values of hours, minutes and seconds. Example:
|
|
static void | SendTrace (const TCollection_AsciiString &theMessage) |
| Returns the string filled with values of hours, minutes and seconds. Example:
|
|
static TCollection_AsciiString | FillTime (const Standard_Integer Hour, const Standard_Integer Minute, const Standard_Real Second) |
| Returns the string filled with values of hours, minutes and seconds. Example:
|
|
static const Handle< Message_Report > & | DefaultReport (const Standard_Boolean theToCreate=Standard_False) |
| returns the only one instance of Report When theToCreate is true - automatically creates message report when not exist.
|
|
static Standard_Boolean | MetricFromString (const Standard_CString theString, Message_MetricType &theType) |
| Determines the metric from the given string identifier.
|
|
static Standard_CString | MetricToString (const Message_MetricType theType) |
| Returns the string name for a given metric type.
|
|
static Message_MetricType | MetricFromString (const Standard_CString theString) |
| Returns the metric type from the given string identifier.
|
|
static Standard_Boolean | ToOSDMetric (const Message_MetricType theMetric, OSD_MemInfo::Counter &theMemInfo) |
| Converts message metric to OSD memory info type.
|
|
static Standard_Boolean | ToMessageMetric (const OSD_MemInfo::Counter theMemInfo, Message_MetricType &theMetric) |
| Converts OSD memory info type to message metric.
|
|