1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0028832: MMgt_TShared can be replaced by Standard_Transient

This commit is contained in:
kgv
2017-07-06 10:38:18 +03:00
committed by bugmaster
parent e958a649c6
commit 25e59720d6
980 changed files with 2451 additions and 2539 deletions

View File

@@ -17,7 +17,7 @@
#include <TDF_Label.hxx>
#include <TPrsStd_Driver.hxx>
IMPLEMENT_STANDARD_RTTIEXT(TPrsStd_Driver,MMgt_TShared)
IMPLEMENT_STANDARD_RTTIEXT(TPrsStd_Driver,Standard_Transient)
TPrsStd_Driver::TPrsStd_Driver()
{}

View File

@@ -20,14 +20,14 @@
#include <Standard.hxx>
#include <Standard_Type.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
#include <Standard_Boolean.hxx>
class TDF_Label;
class AIS_InteractiveObject;
class TPrsStd_Driver;
DEFINE_STANDARD_HANDLE(TPrsStd_Driver, MMgt_TShared)
DEFINE_STANDARD_HANDLE(TPrsStd_Driver, Standard_Transient)
//! Driver for AIS
//! ==============
@@ -44,7 +44,7 @@ DEFINE_STANDARD_HANDLE(TPrsStd_Driver, MMgt_TShared)
//! values (if Null) or Update (if !Null) an AIS_InteractiveObject
//! . Resources are found in attributes associated to a given
//! label.
class TPrsStd_Driver : public MMgt_TShared
class TPrsStd_Driver : public Standard_Transient
{
public:
@@ -58,7 +58,7 @@ public:
DEFINE_STANDARD_RTTIEXT(TPrsStd_Driver,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(TPrsStd_Driver,Standard_Transient)
protected:

View File

@@ -33,7 +33,7 @@
#include <TPrsStd_PlaneDriver.hxx>
#include <TPrsStd_PointDriver.hxx>
IMPLEMENT_STANDARD_RTTIEXT(TPrsStd_DriverTable,MMgt_TShared)
IMPLEMENT_STANDARD_RTTIEXT(TPrsStd_DriverTable,Standard_Transient)
static Handle(TPrsStd_DriverTable) drivertable;

View File

@@ -21,20 +21,20 @@
#include <Standard_Type.hxx>
#include <TPrsStd_DataMapOfGUIDDriver.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
#include <Standard_Boolean.hxx>
class Standard_GUID;
class TPrsStd_Driver;
class TPrsStd_DriverTable;
DEFINE_STANDARD_HANDLE(TPrsStd_DriverTable, MMgt_TShared)
DEFINE_STANDARD_HANDLE(TPrsStd_DriverTable, Standard_Transient)
//! This class is a container to record (AddDriver)
//! binding between GUID and TPrsStd_Driver.
//! You create a new instance of TPrsStd_Driver
//! and use the method AddDriver to load it into the driver table. the method
class TPrsStd_DriverTable : public MMgt_TShared
class TPrsStd_DriverTable : public Standard_Transient
{
public:
@@ -70,7 +70,7 @@ public:
DEFINE_STANDARD_RTTIEXT(TPrsStd_DriverTable,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(TPrsStd_DriverTable,Standard_Transient)
protected: