3.4.0
tigl::CTiglUIDObject Class Referenceabstract

Abstract base class of all classes providing an UID. More...

#include <CTiglUIDObject.h>

+ Inheritance diagram for tigl::CTiglUIDObject:

Public Member Functions

virtual CTiglUIDObjectGetNextUIDParent ()=0
 
virtual const CTiglUIDObjectGetNextUIDParent () const =0
 
virtual boost::optional< std::string > GetObjectUID () const =0
 
virtual CTiglUIDManagerGetUIDManager ()=0
 
virtual const CTiglUIDManagerGetUIDManager () const =0
 
TIGL_EXPORT void Invalidate (const boost::optional< std::string > &source=boost::none) const
 

Protected Member Functions

 ~CTiglUIDObject ()=default
 

Private Member Functions

virtual void InvalidateImpl (const boost::optional< std::string > &source) const
 
virtual TIGL_EXPORT void InvalidateReferences (const boost::optional< std::string > &source) const
 

Private Attributes

std::atomic< bool > m_isInvalidating {false}
 

Detailed Description

Abstract base class of all classes providing an UID.

This class is used by the cpacs code generator as base class for all classes which provide a UID. It allows to get the UID of an object without explicitly knowing the current type, to navigate upwards in the CPACS tree (e.g. for checking if an object is a child of another object), as well as to invalidate the derived classes in a generic way. The class is mainly used by the CTiglUIDManager for managing the hierarchy of objects with a uid as well as for providing a list of all objects referencing a specific uid.

Constructor & Destructor Documentation

◆ ~CTiglUIDObject()

tigl::CTiglUIDObject::~CTiglUIDObject ( )
protecteddefault

Member Function Documentation

◆ GetNextUIDParent() [1/2]

virtual CTiglUIDObject* tigl::CTiglUIDObject::GetNextUIDParent ( )
pure virtual

Implemented in tigl::generated::CPACSTransformation, tigl::generated::CPACSNacelleSection, tigl::generated::CPACSProfileGeometry, tigl::generated::CPACSProfileGeometry2D, tigl::generated::CPACSWing, tigl::generated::CPACSComponentSegment, tigl::generated::CPACSDeckElementBase, tigl::generated::CPACSPoint, tigl::generated::CPACSStrutAssembly, tigl::generated::CPACSDeckElementMass, tigl::generated::CPACSControlSurfaceTrackType, tigl::generated::CPACSPointAbsRel, tigl::generated::CPACSPointXY, tigl::generated::CPACSStringerFramePosition, tigl::generated::CPACSTransformation2D, tigl::generated::CPACSAxle, tigl::generated::CPACSPositioning, tigl::generated::CPACSProfileBasedStructuralElement, tigl::generated::CPACSPointX, tigl::generated::CPACSRotor, tigl::generated::CPACSAlignmentCrossBeam, tigl::generated::CPACSRotationCurve, tigl::generated::CPACSWingCell, tigl::generated::CPACSTrailingEdgeDevice, tigl::generated::CPACSGuideCurveProfileGeometry, tigl::generated::CPACSWingSection, tigl::generated::CPACSAircraftModel, tigl::generated::CPACSWingElement, tigl::generated::CPACSRotorcraftModel, tigl::generated::CPACSStructuralProfile, tigl::generated::CPACSSparPosition, tigl::generated::CPACSFuselage, tigl::generated::CPACSGenericGeometricComponent, tigl::generated::CPACSSparCell, tigl::generated::CPACSWingShell, tigl::generated::CPACSEngineNacelle, tigl::generated::CPACSLandingGearBase, tigl::generated::CPACSGuideCurve, tigl::generated::CPACSWingRibsDefinition, tigl::generated::CPACSEnginePylon, tigl::generated::CPACSNacelleCowl, tigl::generated::CPACSPointPerformanceDefinition, tigl::generated::CPACSWingSegment, tigl::generated::CPACSDuct, tigl::generated::CPACSGlobalBeamProperties, tigl::generated::CPACSLongFloorBeamPosition, tigl::generated::CPACSGalleyElement, tigl::generated::CPACSGenericSystem, tigl::generated::CPACSRotorBladeAttachment, tigl::generated::CPACSSeatElement, tigl::generated::CPACSCargoContainerElement, tigl::generated::CPACSComposite, tigl::generated::CPACSCrossBeamAssemblyPosition, tigl::generated::CPACSCrossBeamStrutAssemblyPosition, tigl::generated::CPACSDeckComponent2DBase, tigl::generated::CPACSDoorAssemblyPosition, tigl::generated::CPACSEnginePosition, tigl::generated::CPACSFuselageSegment, tigl::generated::CPACSPiston, tigl::generated::CPACSRotorHubHinge, tigl::generated::CPACSSheet, tigl::generated::CPACSSparSegment, tigl::generated::CPACSVehicleConfiguration, tigl::generated::CPACSDuctAssembly, tigl::generated::CPACSFuselageSection, tigl::generated::CPACSRotorHub, tigl::generated::CPACSSkinSegment, tigl::generated::CPACSWingRibCell, tigl::generated::CPACSBogie, tigl::generated::CPACSCutOut, tigl::generated::CPACSDeckStructuralMount, tigl::generated::CPACSDoorSurroundStructurePosition, tigl::generated::CPACSEngine, tigl::generated::CPACSFuselageElement, tigl::generated::CPACSGlobalFlightPoint, tigl::generated::CPACSLandingGearExtensionFunction, tigl::generated::CPACSLandingGearSteeringFunction, tigl::generated::CPACSLongFloorBeam, tigl::generated::CPACSPressureBulkhead, tigl::generated::CPACSSheet3D, tigl::generated::CPACSStringer, tigl::generated::CPACSStructuralProfile3D, tigl::generated::CPACSWindows, tigl::generated::CPACSDoorCutOut, tigl::generated::CPACSFrame, tigl::generated::CPACSNacelleCenterCowl, tigl::generated::CPACSPointXZ, tigl::generated::CPACSPointZ, tigl::generated::CPACSRivet, tigl::generated::CPACSSheetBasedStructuralElement, tigl::generated::CPACSStrut, tigl::generated::CPACSTrackActuator, tigl::generated::CPACSWallSegment, tigl::generated::CPACSAlignmentStringFrame, tigl::generated::CPACSAlignmentStructMember, tigl::generated::CPACSBeamCrossSection, tigl::generated::CPACSBeamStiffness, tigl::generated::CPACSMainActuator, tigl::generated::CPACSPointXYZ, tigl::generated::CPACSPressureBulkheadAssemblyPosition, tigl::generated::CPACSStructuralWallElement, tigl::generated::CPACSLandingGearBrakingState, tigl::generated::CPACSWheel, tigl::generated::CPACSCompartment, and tigl::generated::CPACSWallPosition.

◆ GetNextUIDParent() [2/2]

virtual const CTiglUIDObject* tigl::CTiglUIDObject::GetNextUIDParent ( ) const
pure virtual

Implemented in tigl::generated::CPACSTransformation, tigl::generated::CPACSNacelleSection, tigl::generated::CPACSProfileGeometry, tigl::generated::CPACSProfileGeometry2D, tigl::generated::CPACSWing, tigl::generated::CPACSComponentSegment, tigl::generated::CPACSDeckElementBase, tigl::generated::CPACSPoint, tigl::generated::CPACSStrutAssembly, tigl::generated::CPACSDeckElementMass, tigl::generated::CPACSControlSurfaceTrackType, tigl::generated::CPACSPointAbsRel, tigl::generated::CPACSPointXY, tigl::generated::CPACSStringerFramePosition, tigl::generated::CPACSTransformation2D, tigl::generated::CPACSAxle, tigl::generated::CPACSPositioning, tigl::generated::CPACSProfileBasedStructuralElement, tigl::generated::CPACSPointX, tigl::generated::CPACSRotor, tigl::generated::CPACSAlignmentCrossBeam, tigl::generated::CPACSRotationCurve, tigl::generated::CPACSWingCell, tigl::generated::CPACSTrailingEdgeDevice, tigl::generated::CPACSGuideCurveProfileGeometry, tigl::generated::CPACSWingSection, tigl::generated::CPACSAircraftModel, tigl::generated::CPACSWingElement, tigl::generated::CPACSRotorcraftModel, tigl::generated::CPACSStructuralProfile, tigl::generated::CPACSSparPosition, tigl::generated::CPACSFuselage, tigl::generated::CPACSGenericGeometricComponent, tigl::generated::CPACSSparCell, tigl::generated::CPACSWingShell, tigl::generated::CPACSEngineNacelle, tigl::generated::CPACSLandingGearBase, tigl::generated::CPACSGuideCurve, tigl::generated::CPACSWingRibsDefinition, tigl::generated::CPACSEnginePylon, tigl::generated::CPACSNacelleCowl, tigl::generated::CPACSPointPerformanceDefinition, tigl::generated::CPACSWingSegment, tigl::generated::CPACSDuct, tigl::generated::CPACSGlobalBeamProperties, tigl::generated::CPACSLongFloorBeamPosition, tigl::generated::CPACSGalleyElement, tigl::generated::CPACSGenericSystem, tigl::generated::CPACSRotorBladeAttachment, tigl::generated::CPACSSeatElement, tigl::generated::CPACSCargoContainerElement, tigl::generated::CPACSComposite, tigl::generated::CPACSCrossBeamAssemblyPosition, tigl::generated::CPACSCrossBeamStrutAssemblyPosition, tigl::generated::CPACSDeckComponent2DBase, tigl::generated::CPACSDoorAssemblyPosition, tigl::generated::CPACSEnginePosition, tigl::generated::CPACSFuselageSegment, tigl::generated::CPACSPiston, tigl::generated::CPACSRotorHubHinge, tigl::generated::CPACSSheet, tigl::generated::CPACSSparSegment, tigl::generated::CPACSVehicleConfiguration, tigl::generated::CPACSDuctAssembly, tigl::generated::CPACSFuselageSection, tigl::generated::CPACSRotorHub, tigl::generated::CPACSSkinSegment, tigl::generated::CPACSWingRibCell, tigl::generated::CPACSBogie, tigl::generated::CPACSCutOut, tigl::generated::CPACSDeckStructuralMount, tigl::generated::CPACSDoorSurroundStructurePosition, tigl::generated::CPACSEngine, tigl::generated::CPACSFuselageElement, tigl::generated::CPACSGlobalFlightPoint, tigl::generated::CPACSLandingGearExtensionFunction, tigl::generated::CPACSLandingGearSteeringFunction, tigl::generated::CPACSLongFloorBeam, tigl::generated::CPACSPressureBulkhead, tigl::generated::CPACSSheet3D, tigl::generated::CPACSStringer, tigl::generated::CPACSStructuralProfile3D, tigl::generated::CPACSWindows, tigl::generated::CPACSDoorCutOut, tigl::generated::CPACSFrame, tigl::generated::CPACSNacelleCenterCowl, tigl::generated::CPACSPointXZ, tigl::generated::CPACSPointZ, tigl::generated::CPACSRivet, tigl::generated::CPACSSheetBasedStructuralElement, tigl::generated::CPACSStrut, tigl::generated::CPACSTrackActuator, tigl::generated::CPACSWallSegment, tigl::generated::CPACSAlignmentStringFrame, tigl::generated::CPACSAlignmentStructMember, tigl::generated::CPACSBeamCrossSection, tigl::generated::CPACSBeamStiffness, tigl::generated::CPACSMainActuator, tigl::generated::CPACSPointXYZ, tigl::generated::CPACSPressureBulkheadAssemblyPosition, tigl::generated::CPACSStructuralWallElement, tigl::generated::CPACSLandingGearBrakingState, tigl::generated::CPACSWheel, tigl::generated::CPACSCompartment, and tigl::generated::CPACSWallPosition.

◆ GetObjectUID()

virtual boost::optional<std::string> tigl::CTiglUIDObject::GetObjectUID ( ) const
pure virtual

◆ GetUIDManager() [1/2]

virtual CTiglUIDManager& tigl::CTiglUIDObject::GetUIDManager ( )
pure virtual

Implemented in tigl::generated::CPACSTransformation, tigl::generated::CPACSNacelleSection, tigl::generated::CPACSProfileGeometry, tigl::generated::CPACSProfileGeometry2D, tigl::generated::CPACSWing, tigl::generated::CPACSComponentSegment, tigl::generated::CPACSDeckElementBase, tigl::generated::CPACSPoint, tigl::generated::CPACSStrutAssembly, tigl::generated::CPACSDeckElementMass, tigl::generated::CPACSControlSurfaceTrackType, tigl::generated::CPACSPointAbsRel, tigl::generated::CPACSPointXY, tigl::generated::CPACSStringerFramePosition, tigl::generated::CPACSTransformation2D, tigl::generated::CPACSAxle, tigl::generated::CPACSPositioning, tigl::generated::CPACSProfileBasedStructuralElement, tigl::generated::CPACSPointX, tigl::generated::CPACSRotor, tigl::generated::CPACSAlignmentCrossBeam, tigl::generated::CPACSRotationCurve, tigl::generated::CPACSWingCell, tigl::generated::CPACSTrailingEdgeDevice, tigl::generated::CPACSGuideCurveProfileGeometry, tigl::generated::CPACSWingSection, tigl::generated::CPACSAircraftModel, tigl::generated::CPACSWingElement, tigl::generated::CPACSRotorcraftModel, tigl::generated::CPACSStructuralProfile, tigl::generated::CPACSSparPosition, tigl::generated::CPACSFuselage, tigl::generated::CPACSGenericGeometricComponent, tigl::generated::CPACSSparCell, tigl::generated::CPACSWingShell, tigl::generated::CPACSEngineNacelle, tigl::generated::CPACSLandingGearBase, tigl::generated::CPACSGuideCurve, tigl::generated::CPACSWingRibsDefinition, tigl::generated::CPACSEnginePylon, tigl::generated::CPACSNacelleCowl, tigl::generated::CPACSPointPerformanceDefinition, tigl::generated::CPACSWingSegment, tigl::generated::CPACSDuct, tigl::generated::CPACSGlobalBeamProperties, tigl::generated::CPACSLongFloorBeamPosition, tigl::generated::CPACSGalleyElement, tigl::generated::CPACSGenericSystem, tigl::generated::CPACSRotorBladeAttachment, tigl::generated::CPACSSeatElement, tigl::generated::CPACSCargoContainerElement, tigl::generated::CPACSComposite, tigl::generated::CPACSCrossBeamAssemblyPosition, tigl::generated::CPACSCrossBeamStrutAssemblyPosition, tigl::generated::CPACSDeckComponent2DBase, tigl::generated::CPACSDoorAssemblyPosition, tigl::generated::CPACSEnginePosition, tigl::generated::CPACSFuselageSegment, tigl::generated::CPACSPiston, tigl::generated::CPACSRotorHubHinge, tigl::generated::CPACSSheet, tigl::generated::CPACSSparSegment, tigl::generated::CPACSVehicleConfiguration, tigl::generated::CPACSDuctAssembly, tigl::generated::CPACSFuselageSection, tigl::generated::CPACSRotorHub, tigl::generated::CPACSSkinSegment, tigl::generated::CPACSWingRibCell, tigl::generated::CPACSBogie, tigl::generated::CPACSCutOut, tigl::generated::CPACSDeckStructuralMount, tigl::generated::CPACSDoorSurroundStructurePosition, tigl::generated::CPACSEngine, tigl::generated::CPACSFuselageElement, tigl::generated::CPACSGlobalFlightPoint, tigl::generated::CPACSLandingGearExtensionFunction, tigl::generated::CPACSLandingGearSteeringFunction, tigl::generated::CPACSLongFloorBeam, tigl::generated::CPACSPressureBulkhead, tigl::generated::CPACSSheet3D, tigl::generated::CPACSStringer, tigl::generated::CPACSStructuralProfile3D, tigl::generated::CPACSWindows, tigl::generated::CPACSDoorCutOut, tigl::generated::CPACSFrame, tigl::generated::CPACSNacelleCenterCowl, tigl::generated::CPACSPointXZ, tigl::generated::CPACSPointZ, tigl::generated::CPACSRivet, tigl::generated::CPACSSheetBasedStructuralElement, tigl::generated::CPACSStrut, tigl::generated::CPACSTrackActuator, tigl::generated::CPACSWallSegment, tigl::generated::CPACSAlignmentStringFrame, tigl::generated::CPACSAlignmentStructMember, tigl::generated::CPACSBeamCrossSection, tigl::generated::CPACSBeamStiffness, tigl::generated::CPACSMainActuator, tigl::generated::CPACSPointXYZ, tigl::generated::CPACSPressureBulkheadAssemblyPosition, tigl::generated::CPACSStructuralWallElement, tigl::generated::CPACSLandingGearBrakingState, tigl::generated::CPACSWheel, tigl::generated::CPACSCompartment, and tigl::generated::CPACSWallPosition.

◆ GetUIDManager() [2/2]

virtual const CTiglUIDManager& tigl::CTiglUIDObject::GetUIDManager ( ) const
pure virtual

Implemented in tigl::generated::CPACSTransformation, tigl::generated::CPACSNacelleSection, tigl::generated::CPACSProfileGeometry, tigl::generated::CPACSProfileGeometry2D, tigl::generated::CPACSWing, tigl::generated::CPACSComponentSegment, tigl::generated::CPACSDeckElementBase, tigl::generated::CPACSPoint, tigl::generated::CPACSStrutAssembly, tigl::generated::CPACSDeckElementMass, tigl::generated::CPACSControlSurfaceTrackType, tigl::generated::CPACSPointAbsRel, tigl::generated::CPACSPointXY, tigl::generated::CPACSStringerFramePosition, tigl::generated::CPACSTransformation2D, tigl::generated::CPACSAxle, tigl::generated::CPACSPositioning, tigl::generated::CPACSProfileBasedStructuralElement, tigl::generated::CPACSPointX, tigl::generated::CPACSRotor, tigl::generated::CPACSAlignmentCrossBeam, tigl::generated::CPACSRotationCurve, tigl::generated::CPACSWingCell, tigl::generated::CPACSTrailingEdgeDevice, tigl::generated::CPACSGuideCurveProfileGeometry, tigl::generated::CPACSWingSection, tigl::generated::CPACSAircraftModel, tigl::generated::CPACSWingElement, tigl::generated::CPACSRotorcraftModel, tigl::generated::CPACSStructuralProfile, tigl::generated::CPACSSparPosition, tigl::generated::CPACSFuselage, tigl::generated::CPACSGenericGeometricComponent, tigl::generated::CPACSSparCell, tigl::generated::CPACSWingShell, tigl::generated::CPACSEngineNacelle, tigl::generated::CPACSLandingGearBase, tigl::generated::CPACSGuideCurve, tigl::generated::CPACSWingRibsDefinition, tigl::generated::CPACSEnginePylon, tigl::generated::CPACSNacelleCowl, tigl::generated::CPACSPointPerformanceDefinition, tigl::generated::CPACSWingSegment, tigl::generated::CPACSDuct, tigl::generated::CPACSGlobalBeamProperties, tigl::generated::CPACSLongFloorBeamPosition, tigl::generated::CPACSGalleyElement, tigl::generated::CPACSGenericSystem, tigl::generated::CPACSRotorBladeAttachment, tigl::generated::CPACSSeatElement, tigl::generated::CPACSCargoContainerElement, tigl::generated::CPACSComposite, tigl::generated::CPACSCrossBeamAssemblyPosition, tigl::generated::CPACSCrossBeamStrutAssemblyPosition, tigl::generated::CPACSDeckComponent2DBase, tigl::generated::CPACSDoorAssemblyPosition, tigl::generated::CPACSEnginePosition, tigl::generated::CPACSFuselageSegment, tigl::generated::CPACSPiston, tigl::generated::CPACSRotorHubHinge, tigl::generated::CPACSSheet, tigl::generated::CPACSSparSegment, tigl::generated::CPACSVehicleConfiguration, tigl::generated::CPACSDuctAssembly, tigl::generated::CPACSFuselageSection, tigl::generated::CPACSRotorHub, tigl::generated::CPACSSkinSegment, tigl::generated::CPACSWingRibCell, tigl::generated::CPACSBogie, tigl::generated::CPACSCutOut, tigl::generated::CPACSDeckStructuralMount, tigl::generated::CPACSDoorSurroundStructurePosition, tigl::generated::CPACSEngine, tigl::generated::CPACSFuselageElement, tigl::generated::CPACSGlobalFlightPoint, tigl::generated::CPACSLandingGearExtensionFunction, tigl::generated::CPACSLandingGearSteeringFunction, tigl::generated::CPACSLongFloorBeam, tigl::generated::CPACSPressureBulkhead, tigl::generated::CPACSSheet3D, tigl::generated::CPACSStringer, tigl::generated::CPACSStructuralProfile3D, tigl::generated::CPACSWindows, tigl::generated::CPACSDoorCutOut, tigl::generated::CPACSFrame, tigl::generated::CPACSNacelleCenterCowl, tigl::generated::CPACSPointXZ, tigl::generated::CPACSPointZ, tigl::generated::CPACSRivet, tigl::generated::CPACSSheetBasedStructuralElement, tigl::generated::CPACSStrut, tigl::generated::CPACSTrackActuator, tigl::generated::CPACSWallSegment, tigl::generated::CPACSAlignmentStringFrame, tigl::generated::CPACSAlignmentStructMember, tigl::generated::CPACSBeamCrossSection, tigl::generated::CPACSBeamStiffness, tigl::generated::CPACSMainActuator, tigl::generated::CPACSPointXYZ, tigl::generated::CPACSPressureBulkheadAssemblyPosition, tigl::generated::CPACSStructuralWallElement, tigl::generated::CPACSLandingGearBrakingState, tigl::generated::CPACSWheel, tigl::generated::CPACSCompartment, and tigl::generated::CPACSWallPosition.

◆ Invalidate()

TIGL_EXPORT void tigl::CTiglUIDObject::Invalidate ( const boost::optional< std::string > &  source = boost::none) const

◆ InvalidateImpl()

◆ InvalidateReferences()

virtual TIGL_EXPORT void tigl::CTiglUIDObject::InvalidateReferences ( const boost::optional< std::string > &  source) const
privatevirtual

Field Documentation

◆ m_isInvalidating

std::atomic<bool> tigl::CTiglUIDObject::m_isInvalidating {false}
mutableprivate

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