Logo Search packages:      
Sourcecode: opencascade version File versions  Download package

MMgt_TShared Class Reference

#include <MMgt_TShared.hxx>

Inheritance diagram for MMgt_TShared:

Standard_Transient Adaptor2d_HCurve2d Adaptor3d_HCurve Adaptor3d_HSurface Adaptor3d_TopolTool AIS2D_GlobalStatus AIS2D_InteractiveContext AIS2D_LocalContext AIS2D_LocalStatus AIS_GlobalStatus AIS_InteractiveContext AIS_LocalContext AIS_LocalStatus AlienImage_AlienImage AppParCurves_SmoothCriterion Approx_CurvlinFunc Approx_SweepFunction Aspect_AspectFillArea Aspect_AspectLine Aspect_AspectMarker Aspect_ColorMap Aspect_Driver Aspect_FontMap Aspect_MarkMap Aspect_PixMap Aspect_TypeMap Aspect_WidthMap Aspect_Window BinMDF_ADriver BinMDF_ADriverTable BOP_Loop BRep_CurveRepresentation BRep_PointRepresentation BRepAlgo_AsDes BRepAlgo_EdgeConnector BRepBuilderAPI_Sewing BRepFill_LocationLaw BRepFill_PipeShell BRepFill_SectionLaw BRepMesh_FastDiscret BRepTools_Modification BRepTools_ReShape ChFiDS_Spine ChFiDS_Stripe DDataStd_DrawDriver DDF_Transaction Dynamic_DynamicClass Dynamic_DynamicInstance Dynamic_FuzzyClass Dynamic_FuzzyDefinitionsDictionary Dynamic_Method Dynamic_Parameter Dynamic_Variable Expr_GeneralExpression Expr_GeneralFunction Expr_GeneralRelation ExprIntrp_Generator FEmTool_Curve FEmTool_ElementaryCriterion FEmTool_SparseMatrix GccInt_Bisec Geom2d_Geometry Geom2d_Transformation Geom_Geometry Geom_Transformation GeomFill_Boundary GeomFill_CoonsAlgPatch GeomFill_LocationLaw GeomFill_SectionLaw GeomFill_TgtField GeomFill_TrihedronLaw GeomPlate_CurveConstraint GeomPlate_PointConstraint Graphic2d_Buffer Graphic2d_GraphicObject Graphic2d_Primitive Graphic2d_View Graphic2d_ViewMapping Graphic3d_ArrayOfPrimitives Graphic3d_AspectText3d Graphic3d_DataStructureManager Graphic3d_Group Graphic3d_Plotter Graphic3d_Structure Graphic3d_StructureManager Graphic3d_TextureRoot GraphTools_SC HLRAlgo_EdgesBlock HLRAlgo_PolyAlgo HLRAlgo_WiresBlock HLRBRep_AreaLimit HLRBRep_PolyAlgo HLRTest_ShapeData IFSelect_Activator IFSelect_AppliedModifiers IFSelect_Dispatch IFSelect_EditForm IFSelect_Editor IFSelect_GeneralModifier IFSelect_IntParam IFSelect_ListEditor IFSelect_ModelCopier IFSelect_PacketList IFSelect_Selection IFSelect_SessionDumper IFSelect_ShareOut IFSelect_SignatureList IFSelect_Transformer IFSelect_WorkSession IGESData_IGESEntity IGESData_ToolLocation IGESSelect_ViewSorter IGESToBRep_IGESBoundary Image_Image Interface_Check Interface_CopyControl Interface_EntityCluster Interface_FileReaderData Interface_GeneralModule Interface_GTool Interface_HGraph Interface_InterfaceModel Interface_IntVal Interface_ParamSet Interface_Protocol Interface_ReaderModule Interface_ReportEntity Interface_UndefinedContent IntPatch_Line IntStart_SITopolTool Law_BSpline Law_Function MAT2d_Circuit MAT2d_Connexion MAT_Arc MAT_BasicElt MAT_Graph MAT_Zone MDF_ARDriver MDF_ASDriver MeshVS_DataSource MeshVS_Drawer MeshVS_PrsBuilder Message_Algorithm Message_Messenger Message_Printer Message_ProgressIndicator MFT_FontManager MFT_TextManager MgtTopoDS_TranslateTool MgtTopoDS_TranslateTool1 MoniTool_CaseData MoniTool_Element MoniTool_IntVal MoniTool_Option MoniTool_Profile MoniTool_RealVal MoniTool_SignText MoniTool_Timer MoniTool_TypedValue NCollection_BaseAllocator NCollection_BaseAllocator NLPlate_HGPPConstraint PLib_Base Poly_Polygon2D Poly_Polygon3D Poly_PolygonOnTriangulation Poly_Triangulation Prs2d_AspectRoot Prs2d_Drawer Prs3d_BasicAspect Prs3d_CompositeAspect Prs3d_Drawer Prs3d_Projector PrsMgr_PresentableObject PrsMgr_PresentationManager Resource_Manager Select2D_Projector SelectBasics_EntityOwner SelectBasics_SensitiveEntity SelectMgr_Filter SelectMgr_Selection SelectMgr_SelectionManager SelectMgr_ViewerSelector ShapeAnalysis_FreeBoundData ShapeAnalysis_Surface ShapeAnalysis_TransferParameters ShapeAnalysis_Wire ShapeConstruct_ProjectCurveOnSurface ShapeCustom_RestrictionParameters ShapeExtend_BasicMsgRegistrator ShapeExtend_WireData ShapeFix_Edge ShapeFix_EdgeProjAux ShapeFix_Root ShapeProcess_Context ShapeProcess_Operator ShapeUpgrade_RemoveLocations ShapeUpgrade_SplitCurve ShapeUpgrade_SplitSurface ShapeUpgrade_Tool StepBasic_Action StepBasic_ActionAssignment StepBasic_ActionMethod StepBasic_ActionRequestAssignment StepBasic_ActionRequestSolution StepBasic_ApprovalDateTime StepBasic_Certification StepBasic_CertificationAssignment StepBasic_CertificationType StepBasic_CharacterizedObject StepBasic_Contract StepBasic_ContractAssignment StepBasic_ContractType StepBasic_DerivedUnit StepBasic_DerivedUnitElement StepBasic_Document StepBasic_DocumentProductAssociation StepBasic_DocumentRepresentationType StepBasic_EffectivityAssignment StepBasic_EulerAngles StepBasic_ExternallyDefinedItem StepBasic_ExternalSource StepBasic_GeneralProperty StepBasic_Group StepBasic_GroupAssignment StepBasic_GroupRelationship StepBasic_IdentificationAssignment StepBasic_IdentificationRole StepBasic_NameAssignment StepBasic_ObjectRole StepBasic_ProductCategoryRelationship StepBasic_ProductDefinitionFormationRelationship StepBasic_ProductDefinitionRelationship StepBasic_RoleAssociation StepBasic_VersionedActionRequest STEPCAFControl_ExternFile StepData_Described StepData_EDescr StepData_FreeFormEntity StepData_PDescr StepData_SelectMember StepData_UndefinedEntity StepDimTol_DatumReference StepDimTol_GeometricTolerance StepDimTol_GeometricToleranceRelationship StepElement_AnalysisItemWithinRepresentation StepElement_CurveElementEndReleasePacket StepElement_CurveElementSectionDefinition StepElement_ElementDescriptor StepElement_ElementMaterial StepElement_SurfaceElementProperty StepElement_SurfaceSection StepElement_SurfaceSectionField StepFEA_Curve3dElementProperty StepFEA_CurveElementEndOffset StepFEA_CurveElementEndRelease StepFEA_CurveElementInterval StepFEA_CurveElementLocation StepFEA_ElementGeometricRelationship StepFEA_FeaCurveSectionGeometricRelationship StepFEA_FeaSurfaceSectionGeometricRelationship StepFEA_FreedomAndCoefficient StepFEA_FreedomsList StepRepr_ConfigurationDesign StepRepr_ConfigurationItem StepRepr_DataEnvironment StepRepr_ItemDefinedTransformation StepRepr_ProductConcept StepRepr_PropertyDefinition StepRepr_PropertyDefinitionRelationship StepRepr_PropertyDefinitionRepresentation StepRepr_ShapeAspectRelationship StepShape_DimensionalCharacteristicRepresentation StepShape_DimensionalSize StepShape_LimitsAndFits StepShape_MeasureQualification StepShape_PlusMinusTolerance StepShape_PrecisionQualifier StepShape_ToleranceValue StepShape_TypeQualifier StepVisual_PresentationLayerUsage StepVisual_PresentedItemRepresentation StlMesh_Mesh StlMesh_MeshDomain StlMesh_MeshTriangle Storage_Data Storage_Root Storage_Schema TCollection_HAsciiString TCollection_HExtendedString TColStd_HPackedMapOfInteger TDataStd_HDataMapOfStringByte TDataStd_HDataMapOfStringHArray1OfInteger TDataStd_HDataMapOfStringHArray1OfReal TDataStd_HDataMapOfStringInteger TDataStd_HDataMapOfStringReal TDataStd_HDataMapOfStringString TDF_Attribute TDF_AttributeDelta TDF_Data TDF_DataSet TDF_Delta TDF_RelocationTable TDocStd_MultiTransactionManager TFunction_Driver TFunction_DriverTable TNaming_TranslateTool TObj_Model TObj_Model TObj_Object TObj_Object TObj_ObjectIterator TObj_ObjectIterator TopLoc_Datum3D TopoDS_HShape TopoDS_TShape TopOpeBRepBuild_HBuilder TopOpeBRepBuild_Loop TopOpeBRepDS_Check TopOpeBRepDS_Interference TPrsStd_Driver TPrsStd_DriverTable Transfer_Binder Transfer_Finder Transfer_ResultFromModel Transfer_ResultFromTransient TransferBRep_TransferResultInfo Units_Dimensions Units_Lexicon Units_Quantity Units_Token Units_Unit Units_UnitsDictionary Units_UnitsSystem V3d_Camera V3d_LayerMgr V3d_Light V3d_Plane Viewer_View Visual3d_ClipPlane Visual3d_Layer Visual3d_Light Visual3d_TransientManager Vrml_AsciiText Vrml_Coordinate3 Vrml_IndexedFaceSet Vrml_IndexedLineSet Vrml_LOD Vrml_Material Vrml_Normal Vrml_SFImage Vrml_TextureCoordinate2 VrmlConverter_Drawer VrmlConverter_LineAspect VrmlConverter_PointAspect VrmlConverter_Projector VrmlConverter_ShadingAspect WNT_FontMapEntry WNT_Image WNT_ImageManager WNT_WClass WOKBuilder_MSchema WOKDeliv_DeliveryList WOKernel_BaseEntity WOKernel_FileType WOKernel_FileTypeBase WOKernel_GlobalFileTypeBase WOKMake_DepItem WOKMake_Step WOKNT_RegExp WOKNT_Shell WOKUnix_Path WOKUnix_RegExp XmlMDF_ADriver XmlMDF_ADriverTable XSControl_Controller XSControl_TransferReader XSControl_TransferWriter XSControl_Vars Xw_ColorMap

List of all members.


Detailed Description

The abstract class TShared is the root class of
managed objects. TShared objects are managed
by a memory manager based on reference
counting. They have handle semantics. In other
words, the reference counter is transparently
incremented and decremented according to the
scope of handles. When all handles, which
reference a single object are out of scope, the
reference counter becomes null and the object is
automatically deleted. The deallocated memory is
not given back to the system though. It is
reclaimed for new objects of the same size.
Warning
This memory management scheme does not
work for cyclic data structures. In such cases
(with back pointers for example), you should
interrupt the cycle in a class by using a full C++
pointer instead of a handle.

Definition at line 58 of file MMgt_TShared.hxx.


Public Member Functions

virtual Standard_EXPORT void Delete () const
 Memory deallocator for transient classes.
virtual Standard_EXPORT const
Handle_Standard_Type & 
DynamicType () const
 Returns a type information object about this object.
virtual Standard_EXPORT const
Handle_Standard_Type & 
DynamicType () const
 Returns a type information object about this object.
Standard_EXPORT Standard_Integer GetRefCount () const
 Get the reference counter of this object.
Standard_EXPORT Standard_Integer GetRefCount () const
 Get the reference counter of this object.
Standard_EXPORT const Handle (Standard_Type)&DynamicType() const
virtual Standard_EXPORT
Standard_Integer 
HashCode (const Standard_Integer Upper) const
virtual Standard_EXPORT
Standard_Integer 
HashCode (const Standard_Integer Upper) const
Standard_EXPORT Standard_Boolean IsInstance (const Standard_CString theTypeName) const
 Returns a true value if this is an instance of TypeName.
Standard_EXPORT Standard_Boolean IsInstance (const Handle_Standard_Type &theType) const
 Returns a true value if this is an instance of Type.
Standard_EXPORT Standard_Boolean IsInstance (const Standard_CString theTypeName) const
 Returns a true value if this is an instance of TypeName.
Standard_EXPORT Standard_Boolean IsInstance (const Handle_Standard_Type &theType) const
 Returns a true value if this is an instance of Type.
Standard_EXPORT Standard_Boolean IsKind (const Standard_CString theTypeName) const
Standard_EXPORT Standard_Boolean IsKind (const Handle_Standard_Type &theType) const
Standard_EXPORT Standard_Boolean IsKind (const Standard_CString theTypeName) const
Standard_EXPORT Standard_Boolean IsKind (const Handle_Standard_Type &theType) const
void operator delete (void *anAddress)
 Operator delete symmetric to operator new.
void operator delete (void *anAddress)
 Operator delete symmetric to operator new.
void * operator new (size_t size)
 Operator new for memory allocation uses Open CASCADE memory manager.
void * operator new (size_t, void *anAddress)
 Operator new for placement in pre-allocated memory.
void * operator new (size_t size)
 Operator new for memory allocation uses Open CASCADE memory manager.
void * operator new (size_t, void *anAddress)
 Operator new for placement in pre-allocated memory.
virtual Standard_EXPORT void ShallowDump (Standard_OStream &) const
virtual Standard_EXPORT void ShallowDump (Standard_OStream &) const
virtual Standard_EXPORT
Handle_Standard_Transient 
This () const
virtual Standard_EXPORT
Handle_Standard_Transient 
This () const

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index