// File: Message_Algorithm.lxx // Created: 06.07.07 10:27:14 // Author: Pavel TELKOV // Copyright: Open CASCADE S.A. 2007 #include #include //======================================================================= //function : SetStatus //purpose : //======================================================================= inline void Message_Algorithm::SetStatus (const Message_Status& theStat, const Standard_CString theStr, const Standard_Boolean noRepetitions) { SetStatus ( theStat, new TCollection_HExtendedString ( theStr ), noRepetitions ); } //======================================================================= //function : SetStatus //purpose : //======================================================================= inline void Message_Algorithm::SetStatus (const Message_Status& theStat, const TCollection_AsciiString &theStr, const Standard_Boolean noRepetitions) { SetStatus ( theStat, new TCollection_HExtendedString ( theStr ), noRepetitions ); } //======================================================================= //function : SetStatus //purpose : //======================================================================= inline void Message_Algorithm::SetStatus (const Message_Status& theStat, const Handle(TCollection_HAsciiString) &theStr, const Standard_Boolean noRepetitions) { SetStatus ( theStat, new TCollection_HExtendedString ( theStr ), noRepetitions ); } //======================================================================= //function : SetStatus //purpose : //======================================================================= inline void Message_Algorithm::SetStatus (const Message_Status& theStat, const TCollection_ExtendedString &theStr, const Standard_Boolean noRepetitions) { SetStatus ( theStat, new TCollection_HExtendedString ( theStr ), noRepetitions ); } //======================================================================= //function : GetStatus //purpose : //======================================================================= inline const Message_ExecStatus& Message_Algorithm::GetStatus() const { return myStatus; } //======================================================================= //function : ChangeStatus //purpose : //======================================================================= inline Message_ExecStatus& Message_Algorithm::ChangeStatus() { return myStatus; } //======================================================================= //function : GetMessenger //purpose : //======================================================================= inline Handle(Message_Messenger) Message_Algorithm::GetMessenger() const { return myMessenger; }