mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
0031595: Foundation Classes - make methods Message_Report::SendMessages() virtual
This commit is contained in:
parent
9390642d49
commit
99ca2eec6b
@ -189,7 +189,7 @@ void Message_Report::Dump (Standard_OStream& theOS, Message_Gravity theGravity)
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Dump
|
||||
//function : SendMessages
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
@ -202,7 +202,7 @@ void Message_Report::SendMessages (const Handle(Message_Messenger)& theMessenger
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Dump
|
||||
//function : SendMessages
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
|
@ -82,11 +82,14 @@ public:
|
||||
//! Dumps collected alerts with specified gravity to stream
|
||||
Standard_EXPORT void Dump (Standard_OStream& theOS, Message_Gravity theGravity);
|
||||
|
||||
//! Sends all collected alerts to messenger
|
||||
Standard_EXPORT void SendMessages (const Handle(Message_Messenger)& theMessenger);
|
||||
//! Sends all collected alerts to messenger.
|
||||
Standard_EXPORT virtual void SendMessages (const Handle(Message_Messenger)& theMessenger);
|
||||
|
||||
//! Dumps collected alerts with specified gravity to messenger
|
||||
Standard_EXPORT void SendMessages (const Handle(Message_Messenger)& theMessenger, Message_Gravity theGravity);
|
||||
//! Dumps collected alerts with specified gravity to messenger.
|
||||
//! Default implementation creates Message_Msg object with a message
|
||||
//! key returned by alert, and sends it in the messenger.
|
||||
Standard_EXPORT virtual void SendMessages (const Handle(Message_Messenger)& theMessenger,
|
||||
Message_Gravity theGravity);
|
||||
|
||||
//! Merges data from theOther report into this
|
||||
Standard_EXPORT void Merge (const Handle(Message_Report)& theOther);
|
||||
|
Loading…
x
Reference in New Issue
Block a user