1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-29 14:00:49 +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

@@ -20,7 +20,7 @@
#include <VrmlConverter_PointAspect.hxx>
#include <VrmlConverter_ShadingAspect.hxx>
IMPLEMENT_STANDARD_RTTIEXT(VrmlConverter_Drawer,MMgt_TShared)
IMPLEMENT_STANDARD_RTTIEXT(VrmlConverter_Drawer,Standard_Transient)
VrmlConverter_Drawer::VrmlConverter_Drawer():
myNbPoints(17),

View File

@@ -24,7 +24,7 @@
#include <Standard_Boolean.hxx>
#include <Aspect_TypeOfDeflection.hxx>
#include <Standard_Real.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
class VrmlConverter_IsoAspect;
class VrmlConverter_LineAspect;
class VrmlConverter_ShadingAspect;
@@ -32,12 +32,12 @@ class VrmlConverter_PointAspect;
class VrmlConverter_Drawer;
DEFINE_STANDARD_HANDLE(VrmlConverter_Drawer, MMgt_TShared)
DEFINE_STANDARD_HANDLE(VrmlConverter_Drawer, Standard_Transient)
//! qualifies the aspect properties for
//! the VRML conversation of a specific kind of object.
//! This includes for example color, maximal chordial deviation, etc...
class VrmlConverter_Drawer : public MMgt_TShared
class VrmlConverter_Drawer : public Standard_Transient
{
public:
@@ -212,7 +212,7 @@ public:
//! sets LineAspect for the seen lines.
Standard_EXPORT void SetSeenLineAspect (const Handle(VrmlConverter_LineAspect)& anAspect);
DEFINE_STANDARD_RTTIEXT(VrmlConverter_Drawer,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(VrmlConverter_Drawer,Standard_Transient)
private:

View File

@@ -16,7 +16,7 @@
#include <Vrml_Material.hxx>
#include <VrmlConverter_LineAspect.hxx>
IMPLEMENT_STANDARD_RTTIEXT(VrmlConverter_LineAspect,MMgt_TShared)
IMPLEMENT_STANDARD_RTTIEXT(VrmlConverter_LineAspect,Standard_Transient)
VrmlConverter_LineAspect::VrmlConverter_LineAspect()
{

View File

@@ -21,16 +21,16 @@
#include <Standard_Type.hxx>
#include <Standard_Boolean.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
class Vrml_Material;
class VrmlConverter_LineAspect;
DEFINE_STANDARD_HANDLE(VrmlConverter_LineAspect, MMgt_TShared)
DEFINE_STANDARD_HANDLE(VrmlConverter_LineAspect, Standard_Transient)
//! qualifies the aspect properties for
//! the VRML conversation of a Curve and a DeflectionCurve .
class VrmlConverter_LineAspect : public MMgt_TShared
class VrmlConverter_LineAspect : public Standard_Transient
{
public:
@@ -57,7 +57,7 @@ public:
DEFINE_STANDARD_RTTIEXT(VrmlConverter_LineAspect,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(VrmlConverter_LineAspect,Standard_Transient)
protected:

View File

@@ -16,7 +16,7 @@
#include <Vrml_Material.hxx>
#include <VrmlConverter_PointAspect.hxx>
IMPLEMENT_STANDARD_RTTIEXT(VrmlConverter_PointAspect,MMgt_TShared)
IMPLEMENT_STANDARD_RTTIEXT(VrmlConverter_PointAspect,Standard_Transient)
VrmlConverter_PointAspect::VrmlConverter_PointAspect()
{

View File

@@ -21,16 +21,16 @@
#include <Standard_Type.hxx>
#include <Standard_Boolean.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
class Vrml_Material;
class VrmlConverter_PointAspect;
DEFINE_STANDARD_HANDLE(VrmlConverter_PointAspect, MMgt_TShared)
DEFINE_STANDARD_HANDLE(VrmlConverter_PointAspect, Standard_Transient)
//! qualifies the aspect properties for
//! the VRML conversation of a Point Set.
class VrmlConverter_PointAspect : public MMgt_TShared
class VrmlConverter_PointAspect : public Standard_Transient
{
public:
@@ -57,7 +57,7 @@ public:
DEFINE_STANDARD_RTTIEXT(VrmlConverter_PointAspect,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(VrmlConverter_PointAspect,Standard_Transient)
protected:

View File

@@ -30,7 +30,7 @@
#include <Vrml_TransformSeparator.hxx>
#include <VrmlConverter_Projector.hxx>
IMPLEMENT_STANDARD_RTTIEXT(VrmlConverter_Projector,MMgt_TShared)
IMPLEMENT_STANDARD_RTTIEXT(VrmlConverter_Projector,Standard_Transient)
VrmlConverter_Projector::VrmlConverter_Projector (const TopTools_Array1OfShape& Shapes,
const Standard_Real Focus,

View File

@@ -29,14 +29,14 @@
#include <VrmlConverter_TypeOfCamera.hxx>
#include <VrmlConverter_TypeOfLight.hxx>
#include <Vrml_MatrixTransform.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
#include <TopTools_Array1OfShape.hxx>
#include <Standard_OStream.hxx>
class HLRAlgo_Projector;
class VrmlConverter_Projector;
DEFINE_STANDARD_HANDLE(VrmlConverter_Projector, MMgt_TShared)
DEFINE_STANDARD_HANDLE(VrmlConverter_Projector, Standard_Transient)
//! defines projector and calculates properties of cameras and lights from Vrml
@@ -44,7 +44,7 @@ DEFINE_STANDARD_HANDLE(VrmlConverter_Projector, MMgt_TShared)
//! and MatrixTransform ) to display all scene shapes with arbitrary locations
//! for requested the Projection Vector, High Point Direction and the Focus
//! and adds them ( method Add ) to anOSream.
class VrmlConverter_Projector : public MMgt_TShared
class VrmlConverter_Projector : public Standard_Transient
{
public:
@@ -72,7 +72,7 @@ public:
Standard_EXPORT HLRAlgo_Projector Projector() const;
DEFINE_STANDARD_RTTIEXT(VrmlConverter_Projector,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(VrmlConverter_Projector,Standard_Transient)
private:

View File

@@ -17,7 +17,7 @@
#include <Vrml_ShapeHints.hxx>
#include <VrmlConverter_ShadingAspect.hxx>
IMPLEMENT_STANDARD_RTTIEXT(VrmlConverter_ShadingAspect,MMgt_TShared)
IMPLEMENT_STANDARD_RTTIEXT(VrmlConverter_ShadingAspect,Standard_Transient)
VrmlConverter_ShadingAspect::VrmlConverter_ShadingAspect()
{

View File

@@ -22,17 +22,17 @@
#include <Vrml_ShapeHints.hxx>
#include <Standard_Boolean.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
class Vrml_Material;
class Vrml_ShapeHints;
class VrmlConverter_ShadingAspect;
DEFINE_STANDARD_HANDLE(VrmlConverter_ShadingAspect, MMgt_TShared)
DEFINE_STANDARD_HANDLE(VrmlConverter_ShadingAspect, Standard_Transient)
//! qualifies the aspect properties for
//! the VRML conversation of ShadedShape .
class VrmlConverter_ShadingAspect : public MMgt_TShared
class VrmlConverter_ShadingAspect : public Standard_Transient
{
public:
@@ -72,7 +72,7 @@ public:
DEFINE_STANDARD_RTTIEXT(VrmlConverter_ShadingAspect,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(VrmlConverter_ShadingAspect,Standard_Transient)
protected: