mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0028832: MMgt_TShared can be replaced by Standard_Transient
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
#include <TColStd_MapIteratorOfPackedMapOfInteger.hxx>
|
||||
#include <TColStd_SequenceOfInteger.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Message_Algorithm,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Message_Algorithm,Standard_Transient)
|
||||
|
||||
//=======================================================================
|
||||
//function : Message_Algorithm
|
||||
|
@@ -21,7 +21,7 @@
|
||||
|
||||
#include <Message_ExecStatus.hxx>
|
||||
#include <TColStd_HArray1OfTransient.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <Message_Status.hxx>
|
||||
#include <Standard_Integer.hxx>
|
||||
#include <Standard_CString.hxx>
|
||||
@@ -43,7 +43,7 @@ class TColStd_HPackedMapOfInteger;
|
||||
|
||||
|
||||
class Message_Algorithm;
|
||||
DEFINE_STANDARD_HANDLE(Message_Algorithm, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(Message_Algorithm, Standard_Transient)
|
||||
|
||||
//! Class Message_Algorithm is intended to be the base class for
|
||||
//! classes implementing algorithms or any operations that need
|
||||
@@ -86,7 +86,7 @@ DEFINE_STANDARD_HANDLE(Message_Algorithm, MMgt_TShared)
|
||||
//! The messages are output to the messenger, stored in the field;
|
||||
//! though messenger can be changed, it is guaranteed to be non-null.
|
||||
//! By default, Message::DefaultMessenger() is used.
|
||||
class Message_Algorithm : public MMgt_TShared
|
||||
class Message_Algorithm : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -200,7 +200,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(Message_Algorithm,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(Message_Algorithm,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -21,7 +21,7 @@
|
||||
#include <TCollection_AsciiString.hxx>
|
||||
#include <TCollection_ExtendedString.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Message_Messenger,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Message_Messenger,Standard_Transient)
|
||||
|
||||
//=======================================================================
|
||||
//function : Message_Messenger
|
||||
|
@@ -20,7 +20,7 @@
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <Message_SequenceOfPrinters.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <Standard_Integer.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
@@ -36,7 +36,7 @@ class TCollection_ExtendedString;
|
||||
#endif
|
||||
|
||||
class Message_Messenger;
|
||||
DEFINE_STANDARD_HANDLE(Message_Messenger, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(Message_Messenger, Standard_Transient)
|
||||
|
||||
//! Messenger is API class providing general-purpose interface for
|
||||
//! libraries that may issue text messages without knowledge
|
||||
@@ -50,7 +50,7 @@ DEFINE_STANDARD_HANDLE(Message_Messenger, MMgt_TShared)
|
||||
//! argument being Handle(Message_Messenger); thus it can be used
|
||||
//! with syntax similar to C++ streams.
|
||||
//! Note that all these operators use trace level Warning.
|
||||
class Message_Messenger : public MMgt_TShared
|
||||
class Message_Messenger : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -104,7 +104,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(Message_Messenger,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(Message_Messenger,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -19,7 +19,7 @@
|
||||
#include <TCollection_AsciiString.hxx>
|
||||
#include <TCollection_ExtendedString.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Message_Printer,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Message_Printer,Standard_Transient)
|
||||
|
||||
//=======================================================================
|
||||
//function : Constructor
|
||||
|
@@ -20,7 +20,7 @@
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <Message_Gravity.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <Standard_CString.hxx>
|
||||
class TCollection_ExtendedString;
|
||||
@@ -28,13 +28,13 @@ class TCollection_AsciiString;
|
||||
|
||||
|
||||
class Message_Printer;
|
||||
DEFINE_STANDARD_HANDLE(Message_Printer, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(Message_Printer, Standard_Transient)
|
||||
|
||||
//! Abstract interface class defining printer as output context for text messages
|
||||
//!
|
||||
//! The message, besides being text string, has associated gravity
|
||||
//! level, which can be used by printer to decide either to process a message or ignore it.
|
||||
class Message_Printer : public MMgt_TShared
|
||||
class Message_Printer : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -66,7 +66,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(Message_Printer,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(Message_Printer,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -17,7 +17,7 @@
|
||||
#include <Standard_Type.hxx>
|
||||
#include <TCollection_HAsciiString.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Message_ProgressIndicator,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Message_ProgressIndicator,Standard_Transient)
|
||||
|
||||
//=======================================================================
|
||||
//function : Message_ProgressIndicator
|
||||
|
@@ -21,7 +21,7 @@
|
||||
|
||||
#include <Standard_Real.hxx>
|
||||
#include <Message_SequenceOfProgressScale.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <Standard_CString.hxx>
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <Standard_Integer.hxx>
|
||||
@@ -30,7 +30,7 @@ class Message_ProgressScale;
|
||||
|
||||
|
||||
class Message_ProgressIndicator;
|
||||
DEFINE_STANDARD_HANDLE(Message_ProgressIndicator, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(Message_ProgressIndicator, Standard_Transient)
|
||||
|
||||
//! Defines abstract interface from program to the "user".
|
||||
//! That includes progress indication and user break mechanisms
|
||||
@@ -77,7 +77,7 @@ DEFINE_STANDARD_HANDLE(Message_ProgressIndicator, MMgt_TShared)
|
||||
//! progress indicator (e.g. show total position at the graphical bar,
|
||||
//! and/or print all scopes in text mode), and for implementation
|
||||
//! of user break mechanism (if defined).
|
||||
class Message_ProgressIndicator : public MMgt_TShared
|
||||
class Message_ProgressIndicator : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -171,7 +171,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(Message_ProgressIndicator,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(Message_ProgressIndicator,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
Reference in New Issue
Block a user