|
AGXDynamics
2.31.1.0
|
A needle valve represents a controllable orifice opening. More...
#include <NeedleValve.h>
Inheritance diagram for agxHydraulics::NeedleValve:Public Member Functions | |
| NeedleValve (agx::Real maxOpeningArea, agx::Real fluidDensity) | |
| Create a new needle valve with the given area and fluid density. More... | |
| virtual bool | addNotification (agxSDK::Simulation *simulation)=0 |
| void | addNotification (agxPowerLine::PowerLine *powerLine) |
| void | addPressure (agx::Real pressure, agxPowerLine::Side side) |
| Add extra pressure to the FlowUnit at the given side. More... | |
| AGXSTREAM_DECLARE_ABSTRACT_SERIALIZABLE (agxPowerLine::SubGraph) | |
| AGXSTREAM_DECLARE_ABSTRACT_SERIALIZABLE (agxPowerLine::Unit) | |
| template<typename T > | |
| T * | as () |
| Subclass casting. More... | |
| template<typename T > | |
| const T * | as () const |
| template<typename T > | |
| T * | asSafe () |
| Safe subclass casting, return nullptr if template type does not match. More... | |
| template<typename T > | |
| const T * | asSafe () const |
| void | attach (agx::RigidBody *body) |
| Define which body in the simulation this Unit is attached to. More... | |
| agx::String | buildDimensionsName () const |
| virtual bool | connect (agxPowerLine::Connector *connector) |
| Connect the unit to a connector. More... | |
| virtual bool | connect (agxPowerLine::Side mySide, agxPowerLine::Side connectorSide, agxPowerLine::Connector *connector) |
| Connect the unit to a connector, specifying the side of each. More... | |
| virtual bool | connect (agxPowerLine::Unit *otherUnit) |
| Connect the unit to another unit. More... | |
| virtual bool | connect (agxPowerLine::Side mySide, agxPowerLine::Side otherSide, agxPowerLine::Unit *other) |
| virtual bool | disconnect (agxPowerLine::Unit *unit) |
| void | disconnectAll () |
| agxPowerLine::PhysicalDimension * | getActiveDimension (size_t index) |
| const agxPowerLine::PhysicalDimension * | getActiveDimension (size_t index) const |
| agx::Real | getArea () const |
| const char * | getClassName () const override |
| virtual agxPowerLine::DimensionAndSide | getConnectableDimension (agxPowerLine::PhysicalDimension::Type type, agxPowerLine::Side side) |
| virtual void | getConnectableDimensionTypes (agxPowerLine::PhysicalDimension::TypeVector &types, agxPowerLine::Side side) const |
| agxPowerLine::PhysicalDimension * | getConnectableInputDimension (agxPowerLine::PhysicalDimension::Type type) |
| agxPowerLine::PhysicalDimension * | getConnectableOutputDimension (agxPowerLine::PhysicalDimension::Type type) |
| void | getConnectedUnits (UnitPtrSetVector &result, agxPowerLine::Side side) |
| size_t | getConnectors (const agxPowerLine::Unit *unit, agxPowerLine::ConnectorPtrVector &result) |
| Append all connectors connecting this Unit to the given Unit to the 'result' Vector. More... | |
| size_t | getConnectors (agxPowerLine::ConnectorPtrVector &result) const |
| virtual void | getConnectorsRecursive (ConnectorPtrVector &connectors) |
| Fill the given vector with the Connectors that are held by this SubGraph. More... | |
| agx::Real | getCutoffArea () const |
| agxPowerLine::PhysicalDimension * | getDimension (agxPowerLine::PhysicalDimension::Type type) |
| const agxPowerLine::PhysicalDimension * | getDimension (agxPowerLine::PhysicalDimension::Type type) const |
| const agxPowerLine::PhysicalDimensionRefVector & | getDimensions () const |
| agxPowerLine::PhysicalDimensionRefVector & | getDimensions () |
| bool | getEnableSerialization () const |
| bool | getEnableUuidGeneration () |
| Connector * | getEnclosingConnector () |
| const Connector * | getEnclosingConnector () const |
| SubGraph * | getEnclosingGraph () |
| const SubGraph * | getEnclosingGraph () const |
| Unit * | getEnclosingUnit () |
| const Unit * | getEnclosingUnit () const |
| Connector * | getFirstInputConnector (const agxPowerLine::Unit *unit) const |
| Connector * | getFirstOutputConnector (const agxPowerLine::Unit *unit) const |
| agx::Real | getFlowCoefficient () const |
| virtual agxHydraulics::FlowConnector * | getFlowConnector (agxPowerLine::Side side) |
| virtual const agxHydraulics::FlowConnector * | getFlowConnector (agxPowerLine::Side side) const |
| agxHydraulics::FlowDimension * | getFlowDimension () |
| const agxHydraulics::FlowDimension * | getFlowDimension () const |
| agx::Real | getFlowRate () const |
| agx::Real | getFluidDensity () const |
| agx::Real | getFluidViscosity () const |
| bool | getIgnoreForStoreRestoreStream () const |
| agx::UInt32 | getIndex () const |
| This index is given at creation of this object. More... | |
| agx::Real | getInletPressure () const |
| size_t | getInputConnectors (const agxPowerLine::Unit *unit, agxPowerLine::ConnectorPtrVector &result) |
| size_t | getInputConnectors (agxPowerLine::ConnectorPtrVector &result) const |
| agxHydraulics::FlowConnector * | getInputFlowConnector () |
| const agxHydraulics::FlowConnector * | getInputFlowConnector () const |
| agx::Real | getInputPressure () const |
| Measure the pressure at the inlet of the FlowUnit. More... | |
| const agxPowerLine::ConnectorRefVector & | getInternalConnectors () const |
| const agxPowerLine::UnitRefVector & | getInternalUnits () const |
| agx::Real | getLength () const |
| agx::Real | getMaxOpeningArea () const |
| const agx::Name & | getName () const |
| size_t | getNumActiveDimensions () const |
| The number of non-null PhysicalDimension in this Unit, not including internal Units. More... | |
| virtual size_t | getNumConnectableDimensions (Side side) const |
| size_t | getNumConnections () const |
| agx::Real | getOpeningArea () const |
| agx::Real | getOpeningDiameterFraction () const |
| agx::Real | getOpeningFraction () const |
| agx::Real | getOutletPressure () const |
| size_t | getOutputConnectors (const agxPowerLine::Unit *unit, agxPowerLine::ConnectorPtrVector &result) |
| size_t | getOutputConnectors (agxPowerLine::ConnectorPtrVector &result) const |
| agxHydraulics::FlowConnector * | getOutputFlowConnector () |
| const agxHydraulics::FlowConnector * | getOutputFlowConnector () const |
| agx::Real | getOutputPressure () const |
| Measure the pressure at the outlet of the FlowUnit. More... | |
| void | getOwnConnectedUnits (UnitPtrSetVector &unitSet, bool startFromCleanUnitSet=true) const |
| Constructs the set of Units connected to this Unit's own dimensions. More... | |
| void | getOwnConnectedUnits (UnitPtrSetVector &unitSet, agxPowerLine::Side side, bool startFromCleanUnitSet=true) const |
| agxPowerLine::PowerLine * | getPowerLine () const |
| agx::Real | getPressure (agxPowerLine::Side side) const |
| Measure the pressure at the given side of the FlowUnit. More... | |
| int | getReferenceCount () const |
| agxPowerLine::Unit * | getRoot () const |
| SubGraph * | getRootEnclosingGraph () |
| const SubGraph * | getRootEnclosingGraph () const |
| agxPowerLine::Side | getSide (const Connector *connector) const |
| agxStream::StorageAgent * | getStorageAgent () const override |
| virtual void | getUnitsRecursive (UnitPtrVector &units) |
| Fill the given vector with the Units that are held by this SubGraph. More... | |
| agx::Uuid | getUuid () const |
| bool | hasConnector (const Connector *connector) const |
| template<typename T > | |
| bool | is () const |
| Subclass test. More... | |
| virtual bool | isConnected (agxPowerLine::Unit *otherUnit) const |
| bool | isConnected (agxPowerLine::Side end) const |
| bool | isEnclosedWithin (const SubGraph *component) const |
| bool | isFinished () const |
| virtual bool | isValid () const |
| virtual bool | postRestore (agxStream::StorageStream &str) |
| virtual bool | postStore (agxStream::StorageStream &str) const |
| virtual bool | postUpdate (agx::Real timeStep) |
| virtual void | prepareForRestore () |
| virtual void | prepareForStore () |
| virtual bool | preUpdate (agx::Real timeStep) |
| void | reference (void *ptr=nullptr) const |
| Explicitly increment the reference count by one, indicating that this object has another pointer which is referencing it. More... | |
| virtual bool | removeNotification (agxUtil::ConstraintHolder *holder, agxSDK::Simulation *simulation)=0 |
| void | removeNotification (agxPowerLine::PowerLine *powerLine) |
| virtual void | restore (agxStream::InputArchive &in) override |
| virtual bool | restore (agxStream::StorageStream &str) override |
| Restores internal data from stream. More... | |
| bool | setArea (agx::Real area) |
| Set the area of the FlowUnit. More... | |
| void | setCutoffArea (agx::Real cutoff) |
| Set smallest area that the needle valve is allowed to have. More... | |
| void | setEnableSerialization (bool flag) |
| Set to false to disable serialization of this object. More... | |
| void | setFinished () |
| Tells this class that it is restored correctly and should not be deleted during destruction of an Archive. More... | |
| void | setFlowCoefficient (agx::Real coefficient) |
| Set the flow coefficient of the valve. More... | |
| void | setFluidDensity (agx::Real density) |
| Set the density of the fluid. More... | |
| void | setFluidViscosity (agx::Real viscosity) |
| The viscosity specified here is the kinematic viscosity, measured in area per time. More... | |
| void | setLength (agx::Real length) |
| Set the length of the FlowUnit. More... | |
| void | setName (const agx::Name &name) |
| Set the name of this power line component. More... | |
| void | setOpeningArea (agx::Real area) |
| Set the area of the valve directly. More... | |
| void | setOpeningDiameterFraction (agx::Real fractionOfMax) |
| Set the orifice opening diameter using an argument in the range [0..1] that represents diameters between closed and fully open. More... | |
| void | setOpeningFraction (agx::Real fractionOfMax) |
| Set the orifice opening area using an argument in the range [0..1] that repsents areas between 0 and maxOpeningArea. More... | |
| void | setRoot (agxPowerLine::Unit *root) |
| void | setUuid (const agx::Uuid &uuid) |
| Explicitly set a Uuid on a serializable object. More... | |
| void | spreadPowerLineToGraph () |
| void | spreadRootToGraph () |
| virtual void | store (agxStream::OutputArchive &out) const override |
| virtual bool | store (agxStream::StorageStream &str) const override |
| Stores internal data into stream. More... | |
| void | unreference (void *ptr=nullptr) const |
| Decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
| void | unreference_nodelete () const |
| Decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
| virtual bool | vetoConnect (agxPowerLine::Connector *connector) const |
Static Public Member Functions | |
| static agxStream::Serializable * | create () |
| static agxStream::Serializable * | create (agxStream::InputArchive &) |
| static FlowConnector * | findInCommonFlowConnector (FlowUnit *a, FlowUnit *b) |
| static const char * | getConstructClassId () |
| static void | setEnableUuidGeneration (bool flag) |
| Specify if there should be UUID:s generated for each new Serializable object. By default it is enabled. More... | |
| template<typename T > | |
| static bool | ValidateCast (const Referenced *object) |
Static Protected Member Functions | |
| static agx::Real | computeReynoldsNumber (agx::Real area, agx::Real flowRate, agx::Real viscosity) |
| static DeleteHandler * | getDeleteHandler () |
| static void | setDeleteHandler (DeleteHandler *handler) |
| Internal: Set a DeleteHandler to which deletion of all referenced counted objects will be delegated to. More... | |
Protected Attributes | |
| agx::observer_ptr< agx::RigidBody > | m_attachBody |
| PhysicalDimensionRefVector | m_dimensions |
| SubGraphObserver | m_enclosingGraph |
| agxHydraulics::FlowDimensionRef | m_flowDimension |
| bool | m_ignoreMeForStoreRestoreStream |
| ConnectorRefVector | m_internalConnectors |
| UnitRefVector | m_internalUnits |
| Mutex | m_mutex |
| agx::Name | m_name |
| ObserverContainer | m_observers |
| PowerLine * | m_powerLine |
| AtomicValue | m_refCount |
| agxPowerLine::Unit * | m_rootUnit |
A needle valve represents a controllable orifice opening.
Reducing the orifice area increases the resistance to change in flow rate (inertia) through the valve, but also increases a viscous velocity damping parameter, i.e., increases the frictional loss in the valve. This makes it possible to control the flow rate through the valve for a given pressure difference over the valve.
Very narrow needle valve openings produces hard to solve numerical systems and may lead to instabilities in the simulation. There is a cutoff area where the valve is considered to be shut. If making the orifice very small brings instabilities to the simulation, then increase the cutoff area. If very narrow orifices are required, then this cutoff can be lowered.
Definition at line 42 of file NeedleValve.h.
Create a new needle valve with the given area and fluid density.
The valve is initially fully open.
|
protected |
|
inlineprotectedvirtual |
Definition at line 132 of file NeedleValve.h.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
pure virtualinherited |
Implemented in agxDriveTrain::ElectricMotor, agxDriveTrain::Clutch, and agxPowerLine::Connector.
|
inherited |
|
inherited |
Add extra pressure to the FlowUnit at the given side.
A high pressure at the input side will act to generate positive flow through the FlowUnit, while pressure at the output side will act to generate negative flow.
| pressure | - The pressure to add. |
| side | - The side of the FlowUnit where the pressure should be applied. |
|
inherited |
|
inherited |
|
protectedinherited |
|
inherited |
Subclass casting.
Template type must match actual type, dynamic_cast assertion will fail otherwise.
Referenced by agx::InternalData::get(), agxVehicle::Track::getNode(), agx::InternalData::getOrCreate(), and agx::InternalData::hasData().
|
inherited |
|
inherited |
Safe subclass casting, return nullptr if template type does not match.
Referenced by agxUtil::CollectBodiesAndWiresVisitor::visit().
|
inherited |
|
inherited |
Define which body in the simulation this Unit is attached to.
If the body is nullptr the Unit is attached to world. This will override any parent body set to the power line the unit is a part of.
|
inherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
staticprotectedinherited |
|
virtualinherited |
Connect the unit to a connector.
| connector | - a connector |
|
virtualinherited |
Connect the unit to a connector, specifying the side of each.
| mySide | - The side on this unit to connect. |
| connectorSide | - The side on the connector to connect. |
| connector | - The connector to connect. |
|
virtualinherited |
Connect the unit to another unit.
| otherUnit | - another unit. |
|
virtualinherited |
|
inlinestatic |
Definition at line 125 of file NeedleValve.h.
|
inlinestatic |
Definition at line 125 of file NeedleValve.h.
|
protectedinherited |
|
virtualinherited |
|
inherited |
|
staticinherited |
|
protectedinherited |
|
inherited |
|
inherited |
|
inlineoverridevirtual |
Reimplemented from agxStream::Serializable.
Definition at line 125 of file NeedleValve.h.
|
virtualinherited |
Reimplemented in agxPowerLine::TranslationalActuator, agxHydraulics::PistonActuator, agxPowerLine::Actuator, agxHydraulics::Accumulator, agxHydraulics::deprecated::PumpUnit, agxHydraulics::deprecated::MotorUnit, agxDriveTrain::deprecated::DriveTrainComponent, and agxPowerLine::Actuator1DOF.
|
virtualinherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
Append all connectors connecting this Unit to the given Unit to the 'result' Vector.
Returns the index of the first Connector added. Will be one-past-end (result.size()) if no connectors are added.
|
inherited |
|
virtualinherited |
Fill the given vector with the Connectors that are held by this SubGraph.
The collection is recursive, so internal Connectors will be collected.
Reimplemented in agxDriveTrain::Differential, and agxDriveTrain::deprecated::DriveTrainComponent.
|
inlinestatic |
Definition at line 125 of file NeedleValve.h.
| agx::Real agxHydraulics::NeedleValve::getCutoffArea | ( | ) | const |
|
staticprotectedinherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
Definition at line 273 of file Serializable.h.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
| agx::Real agxHydraulics::NeedleValve::getFlowCoefficient | ( | ) | const |
|
virtualinherited |
|
virtualinherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
This index is given at creation of this object.
It is guaranteed to be unique for the lifetime of this library instance. As long as the application is running. This value is not serialized or restored. A new object will always get a new index no matter how it is created.
Definition at line 247 of file Serializable.h.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
Measure the pressure at the inlet of the FlowUnit.
|
inherited |
|
inherited |
| agx::Real agxHydraulics::NeedleValve::getMaxOpeningArea | ( | ) | const |
|
inherited |
|
inherited |
The number of non-null PhysicalDimension in this Unit, not including internal Units.
|
virtualinherited |
|
inherited |
| agx::Real agxHydraulics::NeedleValve::getOpeningArea | ( | ) | const |
| agx::Real agxHydraulics::NeedleValve::getOpeningDiameterFraction | ( | ) | const |
| agx::Real agxHydraulics::NeedleValve::getOpeningFraction | ( | ) | const |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
Measure the pressure at the outlet of the FlowUnit.
|
inherited |
Constructs the set of Units connected to this Unit's own dimensions.
Does not consider internal units.
|
inherited |
|
inherited |
|
inherited |
Measure the pressure at the given side of the FlowUnit.
Will only include pressure from a FlowConnector, so pressure added by other Connectors (e.g. pump/motor) or FlowUnit::addPressure will not be included.
If the side is unconnected then the tank pressure will be returned.
| side | The side to measure pressure at. |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inlineoverridevirtual |
Implements agxStream::Serializable.
Definition at line 125 of file NeedleValve.h.
|
virtualinherited |
Fill the given vector with the Units that are held by this SubGraph.
The collection is recursive, so internal Units will be collected.
Reimplemented in agxDriveTrain::deprecated::DriveTrainComponent.
|
inherited |
Definition at line 268 of file Serializable.h.
Referenced by agxSDK::UuidHashCollisionFilter::match().
|
inherited |
|
protectedvirtualinherited |
returns if it is possible to connect to this unit
|
protectedinherited |
|
inherited |
Subclass test.
Referenced by agx::Object::getAutoScopedResource(), agxData::EntityStorage::getInstances(), and agx::Object::getResource().
|
virtualinherited |
|
inherited |
|
inherited |
|
inherited |
Definition at line 252 of file Serializable.h.
References AGX_FORCE_INLINE.
|
virtualinherited |
|
protected |
|
virtualinherited |
Reimplemented in agxDriveTrain::ElectricMotor.
|
virtualinherited |
Reimplemented in agxDriveTrain::ElectricMotor.
|
virtualinherited |
|
virtualinherited |
Reimplemented in agxPowerLine::WireWinchActuator.
|
virtualinherited |
Reimplemented in agxPowerLine::WireWinchActuator.
|
virtualinherited |
Reimplemented in agxDriveTrain::PidControlledEngine, agxDriveTrain::deprecated::GearBox, agxDriveTrain::deprecated::FixedGear, agxPowerLine::RotationalActuator, agxDriveTrain::Engine, agxDriveTrain::ElectricMotor, agxPowerLine::RotationalUnit, agxPowerLine::WireWinchActuator, agxPowerLine::Actuator1DOF, and agxDriveTrain::Shaft.
Explicitly increment the reference count by one, indicating that this object has another pointer which is referencing it.
This method should be used with care, always balanced with the same number of calls to unreference.
|
protectedinherited |
|
protectedinherited |
|
pure virtualinherited |
|
inherited |
|
protectedinherited |
|
overridevirtual |
Reimplemented from agxPowerLine::Unit.
|
overridevirtualinherited |
Restores internal data from stream.
Reimplemented from agxPowerLine::SubGraph.
Reimplemented in agxDriveTrain::PidControlledEngine, agxDriveTrain::deprecated::Clutch, agxDriveTrain::deprecated::GearBox, agxPowerLine::TranslationalActuator, agxDriveTrain::deprecated::FixedGear, agxHydraulics::HydraulicPumpActuator, agxHydraulics::PistonActuator, agxHydraulics::HydraulicMotorActuator, agxDriveTrain::deprecated::TorqueConverterTable, agxPowerLine::ActuatorBodyUnit, agxPowerLine::RotationalActuator, agxDriveTrain::deprecated::HighLevelGearBox, agxDriveTrain::Engine, agxDriveTrain::ElectricMotor, agxDriveTrain::deprecated::HighLevelTorqueConverter, agxPowerLine::Actuator, agxPowerLine::RotationalUnit, agxDriveTrain::deprecated::DriveTrainComponent, agxPowerLine::WireWinchActuator, agxPowerLine::Actuator1DOF, and agxDriveTrain::Shaft.
|
protectedinherited |
|
inherited |
Set the area of the FlowUnit.
Increasing the area will decrease both the inertia and the flow resistance.
Set smallest area that the needle valve is allowed to have.
Any request to set the area smaller than this will shut the valve.
|
staticprotectedinherited |
Internal: Set a DeleteHandler to which deletion of all referenced counted objects will be delegated to.
|
inherited |
Set to false to disable serialization of this object.
It will just be ignored during serialization (writing). It is still possible to restore TO this object.
|
staticinherited |
Specify if there should be UUID:s generated for each new Serializable object. By default it is enabled.
|
inherited |
Tells this class that it is restored correctly and should not be deleted during destruction of an Archive.
Set the flow coefficient of the valve.
A larger value lets the fluid pass through the valve more easily, and a smaller values causes a larger pressure drop over the valve.
Set the density of the fluid.
Increasing the density will increase both the inertia and the flow resistance.
The viscosity specified here is the kinematic viscosity, measured in area per time.
The default viscosity is 1e-5.
Increasing the viscosity increases the flow resistance. Zero viscosity produces zero flow resistance.
Set the length of the FlowUnit.
Increasing the length will increase both the inertia and flow resistance.
Set the name of this power line component.
| name | - The new name. |
Set the area of the valve directly.
The argument will be clamped to the range [0..maxOpeningArea] and values less than the cutoff area will be flushed to zero.
Set the orifice opening diameter using an argument in the range [0..1] that represents diameters between closed and fully open.
The value will be clamped to this range and a resulting area leass than the cutoff area will be flushed to zero.
Set the orifice opening area using an argument in the range [0..1] that repsents areas between 0 and maxOpeningArea.
The value will be clamped to this range and a resulting area less than the cutoff area will be flushed to zero.
Point to the power line the unit is a part of.
|
inherited |
Explicitly set a Uuid on a serializable object.
Use this method with great care, as it can result in non-unique identifiers in the system!
|
inherited |
|
inherited |
|
overridevirtual |
Reimplemented from agxPowerLine::Unit.
|
overridevirtualinherited |
Stores internal data into stream.
Reimplemented from agxPowerLine::SubGraph.
Reimplemented in agxDriveTrain::PidControlledEngine, agxDriveTrain::deprecated::Clutch, agxDriveTrain::deprecated::GearBox, agxPowerLine::TranslationalActuator, agxDriveTrain::deprecated::FixedGear, agxHydraulics::HydraulicPumpActuator, agxHydraulics::PistonActuator, agxHydraulics::HydraulicMotorActuator, agxDriveTrain::deprecated::TorqueConverterTable, agxPowerLine::ActuatorBodyUnit, agxPowerLine::RotationalActuator, agxDriveTrain::deprecated::HighLevelGearBox, agxDriveTrain::Engine, agxDriveTrain::ElectricMotor, agxDriveTrain::deprecated::HighLevelTorqueConverter, agxPowerLine::Actuator, agxPowerLine::RotationalUnit, agxDriveTrain::deprecated::DriveTrainComponent, agxPowerLine::WireWinchActuator, agxPowerLine::Actuator1DOF, and agxDriveTrain::Shaft.
Decrement the reference count by one, indicating that a pointer to this object is referencing it.
If the reference count goes to zero, it is assumed that this object is no longer referenced and is automatically deleted.
This method should be used with care, always balanced with the same number of calls to reference.
Referenced by agxData::EntityRef< ContactMaterialPtr >::~EntityRef().
|
inherited |
Decrement the reference count by one, indicating that a pointer to this object is referencing it.
However, do not delete it, even if ref count goes to 0. Warning, unref_nodelete() should only be called if the user knows exactly who will be responsible for, one should prefer unref() over unref_nodelete() as the later can lead to memory leaks.
|
protectedinherited |
|
protectedinherited |
|
staticinherited |
|
virtualinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
Definition at line 162 of file SubGraph.h.
|
protectedinherited |
Definition at line 314 of file FlowUnit.h.
|
protectedinherited |
|
protectedinherited |
Definition at line 164 of file SubGraph.h.
|
protectedinherited |
Definition at line 163 of file SubGraph.h.
|
mutableprotectedinherited |
Definition at line 240 of file Referenced.h.
|
protectedinherited |
Definition at line 166 of file SubGraph.h.
|
mutableprotectedinherited |
Definition at line 239 of file Referenced.h.
|
protectedinherited |
Definition at line 165 of file SubGraph.h.
|
mutableprotectedinherited |
Definition at line 241 of file Referenced.h.
|
protectedinherited |