AGXDynamics  2.31.1.0
agxHydraulics::Pipe Class Referenceabstract

A pipe carries fluid flow through the hydraulics system. More...

#include <Pipe.h>

+ Inheritance diagram for agxHydraulics::Pipe:

Public Member Functions

 Pipe (agx::Real length, agx::Real area, agx::Real density)
 Create a new pipe. More...
 
 Pipe (agx::Real length, agx::Real area, agx::Real density, agx::UInt8 elementIndex, agx::RigidBody *body)
 
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
 
virtual const char * getClassName () const
 
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...
 
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
 
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
 
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 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
 
virtual StorageAgent * getStorageAgent () const =0
 
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 bool restore (agxStream::StorageStream &str) override
 Restores internal data from stream. More...
 
virtual void restore (agxStream::InputArchive &in) override
 
bool setArea (agx::Real area)
 Set the area of the FlowUnit. 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 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 setRoot (agxPowerLine::Unit *root)
 
void setUuid (const agx::Uuid &uuid)
 Explicitly set a Uuid on a serializable object. More...
 
void spreadPowerLineToGraph ()
 
void spreadRootToGraph ()
 
virtual bool store (agxStream::StorageStream &str) const override
 Stores internal data into stream. More...
 
virtual void store (agxStream::OutputArchive &out) const override
 
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 FlowConnector * findInCommonFlowConnector (FlowUnit *a, FlowUnit *b)
 
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)
 

Protected Member Functions

 Pipe ()
 
virtual ~Pipe ()
 
bool activateDimension (PhysicalDimension *dimension)
 
void addInternalConnector (agxPowerLine::Connector *connector)
 
void addInternalUnit (agxPowerLine::Unit *unit)
 
void allocateObserverVector () const
 
agx::Real computeFrictionFactor () const
 
agx::Real computeLaminarFrictionalLoss (agx::Real flowRate) const
 
agx::Real computeQuadraticFrictionalLoss (agx::Real flowCoefficient) const
 
agx::Real computeReynoldsNumber () const
 
void deleteUsingDeleteHandler () const
 
void generateUuid ()
 
virtual bool hasValidInputConnection () const
 returns if it is possible to connect to this unit More...
 
void init ()
 
void removeInternalConnector (agxPowerLine::Connector *connector)
 
void removeInternalUnit (agxPowerLine::Unit *unit)
 
agx::Bool replaceInternalUnit (agxPowerLine::Unit *oldUnit, agxPowerLine::Unit *newUnit)
 
void restorePre46 (agxStream::InputArchive &in)
 
void setPowerLine (PowerLine *powerLine)
 Point to the power line the unit is a part of. More...
 
void updateBodyMass ()
 
agx::Real updateFrictionLoss ()
 

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
 

Detailed Description

A pipe carries fluid flow through the hydraulics system.

It is a power line Unit, so it can be connected to other Units, including other pipes, using Connectors.

Definition at line 31 of file Pipe.h.

Constructor & Destructor Documentation

◆ Pipe() [1/3]

agxHydraulics::Pipe::Pipe ( agx::Real  length,
agx::Real  area,
agx::Real  density 
)

Create a new pipe.

Parameters
lengthThe length of the pipe.
areaThe area of the pipe.
densityThe density of the fluid passing through the pipe.

◆ Pipe() [2/3]

agxHydraulics::Pipe::Pipe ( agx::Real  length,
agx::Real  area,
agx::Real  density,
agx::UInt8  elementIndex,
agx::RigidBody *  body 
)

◆ Pipe() [3/3]

agxHydraulics::Pipe::Pipe ( )
protected

◆ ~Pipe()

virtual agxHydraulics::Pipe::~Pipe ( )
protectedvirtual

Member Function Documentation

◆ activateDimension()

bool agxPowerLine::Unit::activateDimension ( PhysicalDimension *  dimension)
protectedinherited

◆ addInternalConnector()

void agxPowerLine::SubGraph::addInternalConnector ( agxPowerLine::Connector *  connector)
protectedinherited

◆ addInternalUnit()

void agxPowerLine::SubGraph::addInternalUnit ( agxPowerLine::Unit *  unit)
protectedinherited

◆ addNotification() [1/2]

virtual bool agxPowerLine::SubGraph::addNotification ( agxSDK::Simulation *  simulation)
pure virtualinherited

◆ addNotification() [2/2]

void agxPowerLine::Unit::addNotification ( agxPowerLine::PowerLine *  powerLine)
inherited

◆ addPressure()

void agxHydraulics::FlowUnit::addPressure ( agx::Real  pressure,
agxPowerLine::Side  side 
)
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.

Parameters
pressure- The pressure to add.
side- The side of the FlowUnit where the pressure should be applied.

◆ AGXSTREAM_DECLARE_ABSTRACT_SERIALIZABLE() [1/2]

agxPowerLine::SubGraph::AGXSTREAM_DECLARE_ABSTRACT_SERIALIZABLE ( agxPowerLine::SubGraph  )
inherited

◆ AGXSTREAM_DECLARE_ABSTRACT_SERIALIZABLE() [2/2]

agxPowerLine::Unit::AGXSTREAM_DECLARE_ABSTRACT_SERIALIZABLE ( agxPowerLine::Unit  )
inherited

◆ allocateObserverVector()

void agx::Referenced::allocateObserverVector ( ) const
protectedinherited

◆ as() [1/2]

template<typename T >
T* agx::Referenced::as ( )
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().

◆ as() [2/2]

template<typename T >
const T* agx::Referenced::as ( ) const
inherited

◆ asSafe() [1/2]

template<typename T >
T* agx::Referenced::asSafe ( )
inherited

Safe subclass casting, return nullptr if template type does not match.

Referenced by agxUtil::CollectBodiesAndWiresVisitor::visit().

◆ asSafe() [2/2]

template<typename T >
const T* agx::Referenced::asSafe ( ) const
inherited

◆ attach()

void agxPowerLine::Unit::attach ( agx::RigidBody *  body)
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.

◆ buildDimensionsName()

agx::String agxPowerLine::Unit::buildDimensionsName ( ) const
inherited
Returns
A concatenation of the names of the bodies of the dimensions in this Unit.

◆ computeFrictionFactor()

agx::Real agxHydraulics::FlowUnit::computeFrictionFactor ( ) const
protectedinherited

◆ computeLaminarFrictionalLoss()

agx::Real agxHydraulics::FlowUnit::computeLaminarFrictionalLoss ( agx::Real  flowRate) const
protectedinherited

◆ computeQuadraticFrictionalLoss()

agx::Real agxHydraulics::FlowUnit::computeQuadraticFrictionalLoss ( agx::Real  flowCoefficient) const
protectedinherited

◆ computeReynoldsNumber() [1/2]

agx::Real agxHydraulics::FlowUnit::computeReynoldsNumber ( ) const
protectedinherited

◆ computeReynoldsNumber() [2/2]

static agx::Real agxHydraulics::FlowUnit::computeReynoldsNumber ( agx::Real  area,
agx::Real  flowRate,
agx::Real  viscosity 
)
staticprotectedinherited

◆ connect() [1/4]

virtual bool agxPowerLine::Unit::connect ( agxPowerLine::Connector *  connector)
virtualinherited

Connect the unit to a connector.

Parameters
connector- a connector
Returns
true and connects if there are physical dimensions that match

◆ connect() [2/4]

virtual bool agxPowerLine::Unit::connect ( agxPowerLine::Side  mySide,
agxPowerLine::Side  connectorSide,
agxPowerLine::Connector *  connector 
)
virtualinherited

Connect the unit to a connector, specifying the side of each.

Parameters
mySide- The side on this unit to connect.
connectorSide- The side on the connector to connect.
connector- The connector to connect.
Returns
True if the connection was made, false otherwise.

◆ connect() [3/4]

virtual bool agxPowerLine::Unit::connect ( agxPowerLine::Unit *  otherUnit)
virtualinherited

Connect the unit to another unit.

Parameters
otherUnit- another unit.

◆ connect() [4/4]

virtual bool agxPowerLine::Unit::connect ( agxPowerLine::Side  mySide,
agxPowerLine::Side  otherSide,
agxPowerLine::Unit *  other 
)
virtualinherited

◆ deleteUsingDeleteHandler()

void agx::Referenced::deleteUsingDeleteHandler ( ) const
protectedinherited

◆ disconnect()

virtual bool agxPowerLine::Unit::disconnect ( agxPowerLine::Unit *  unit)
virtualinherited

◆ disconnectAll()

void agxPowerLine::Unit::disconnectAll ( )
inherited

◆ findInCommonFlowConnector()

static FlowConnector* agxHydraulics::FlowUnit::findInCommonFlowConnector ( FlowUnit *  a,
FlowUnit *  b 
)
staticinherited
Returns
The FlowConnector that connects the two FlowUnits. Returns nullptr if there is none.

◆ generateUuid()

void agxStream::Serializable::generateUuid ( )
protectedinherited

◆ getActiveDimension() [1/2]

agxPowerLine::PhysicalDimension* agxPowerLine::Unit::getActiveDimension ( size_t  index)
inherited
Returns
The index:th non-null PhysicalDimension in this Unit, not including internal Units, or nullptr.

◆ getActiveDimension() [2/2]

const agxPowerLine::PhysicalDimension* agxPowerLine::Unit::getActiveDimension ( size_t  index) const
inherited

◆ getArea()

agx::Real agxHydraulics::FlowUnit::getArea ( ) const
inherited
Returns
The area of the FlowUnit

◆ getClassName()

virtual const char* agxStream::Serializable::getClassName ( ) const
virtualinherited
Returns
the class name of this class.

Reimplemented in agxWire::StopNode, agxWire::ConnectingNode, agxWire::EyeNode, agxWire::BodyFixedNode, agx::RigidBody, agx::Twist, agxWire::FreeNode, agx::ScrewController, agx::LockController, agxModel::WaterWrapper, agx::MergedBody, agx::MergedBody, agxModel::ConstantWindGenerator, agx::RangeController, agxModel::ConstantWaterFlowGenerator, agx::MergedBody, agx::ElectricMotorController, agx::MergedBody, agx::FrictionController, agx::MergedBody, agx::TargetSpeedController, agxModel::WindAndWaterController, agxSDK::Assembly, agx::QuatLock, agx::SphericalRel, agx::Spherical, agxWire::WireSimpleDrumController, agx::Dot2, agxModel::FractureAlgorithmBreakOnStress, agx::Swing, agxModel::FractureAlgorithmBreakOnContactForce, agx::Dot1, agxModel::FractureAlgorithmBreakOnContact, agx::Frame, agxPowerLine::detail::DimensionState3Dof< DimensionType >, agxUtil::ConstraintHolder, agxDriveTrain::PidControlledEngine, agxCable::CableDamage, agxControl::TeleportToSensorOperation, agxCollide::Geometry, agxDriveTrain::deprecated::Clutch, agxModel::Terrain, agxModel::TerrainDataInterface, agx::ObserverFrame, agxControl::StoreParticlesOperation, agxModel::SlidingNodeAttachment, agxDriveTrain::deprecated::GearBox, agxControl::EventSensor, agxPowerLine::Connection, agxModel::FractureGenerator, agxControl::LoadParticleAGXFileOperation, agxPowerLine::TranslationalConstraintImplementation, agxModel::RotatingNodeAttachment, agxModel::TwoBodyTire, agxPowerLine::detail::DimensionState1Dof< DimensionType >, agxModel::Deformable1DNodeRoute, agxPowerLine::ElementaryTranslationalConstraint, agxControl::SetVelocityOperation, agx::AddedMassInteraction, agxPowerLine::TranslationalActuator, agxDriveTrain::RpmController, agx::RigidBodyAttachment, agxVehicle::Track, agxModel::RigidNodeAttachment, agxControl::WriteParticleDataToAGXOperation, agxModel::TerrainIterativeProjectedConeFrictionModel, agxModel::Deformable1DSphereGeometryFactory, agxModel::DeformableParticleCreator, agxPowerLine::GearConstraintImplementation, agxControl::MakeParticleKinematicOperation, agxModel::ConvexSoil, agx::IterativeProjectedConeFriction, agxSDK::SimulationStatisticsListener, agxSDK::LinkedStructure, agx::ConstantNormalForceOrientedBoxFrictionModel, agxDriveTrain::deprecated::FixedGear, agxVehicle::TrackProperties, agxHydraulics::HydraulicPumpActuator, agxPowerLine::ElementaryGearConstraint, agxModel::Deformable1DPointRoute, agxModel::PointNodeAttachment, agx::PropertyContainer, agxModel::SoilParticle, agxSDK::MaterialManager::MaterialManagerSerializer, agxModel::Deformable1DCylinderGeometryFactory, agxDriveTrain::deprecated::HighLevelDifferential, agxPowerLine::TorqueGenerator, agxPowerLine::PowerLine, agx::ScaleBoxFrictionModel, agxHydraulics::PistonActuator, agxPowerLine::PhysicalDimensionMultiBodyConstraintImplementation, agx::SeparationAngle, agxWire::ConvexAreaDefinition, agxCollide::Trimesh, agxControl::LoadParticleJournalOperation, agxControl::ReplaceParticleMaterialOperation, agxWire::ShapeContactNode, agxModel::Deformable1DCapsuleGeometryFactory, agx::CubicSplineLookupTable, agxHydraulics::HydraulicMotorActuator, agxSDK::GeometryContactMergeSplitThresholds, agxDriveTrain::deprecated::TorqueConverterTable, agxDriveTrain::HolonomicGear, agxModel::Deformable1DNode, agx::BoxFrictionModel, agxPowerLine::RotationalConnector, agxWire::CircularAreaDefinition, agxPowerLine::ActuatorBodyUnit, agxPowerLine::RotationalActuator, agxModel::Deformable1DBulkProperties, agx::Attachment, agxModel::Deformable1D, agx::GranularImpactDataWriter, agxPowerLine::PowerTimeIntegralLookupTable, agx::WheelJoint, agx::OrientedIterativeProjectedConeFrictionModel, agxControl::ParticleContactDumper, agxDriveTrain::deprecated::TorqueConverter, agxCable::Route, agx::Hinge, agx::RotationalAngle, agx::CubicFunction2D, agxControl::RecordParticleShapshotJournalOperation, agxDriveTrain::deprecated::HighLevelGearBox, agxTerrain::TerrainRasterizer, agxVehicle::Wheel, agxControl::SensorOperation, agxHydraulics::FlowDimension, agxModel::HeightFieldDeformerJournalRecorder, agxModel::ParticleAttributes, agxDriveTrain::Engine, agxWire::EyeNodeArea, agxModel::SurfaceVelocityConveyorBelt, agxCable::PathRoute, agx::WorldFrameBallJoint, agx::OrientedScaleBoxFrictionModel, agxPowerLine::LinearLookupTable, agxCollide::Line, agxDriveTrain::Differential, agxVehicle::TrackRoute, agxCollide::RenderMaterial, agxControl::MeasurementSensor, agxModel::DeformableMineFace, agx::AutoSleepThreshold, agxCollide::CollisionGroupManager, agxControl::ColorParticles, agxHydraulics::NeedleValve, agxModel::DeformableParticleMesh, agxDriveTrain::ElectricMotor, agxDriveTrain::SlipGear, agxModel::OneBodyTire, agxPowerLine::ActuatorRotationalDimension, agxCable::SegmentingRoute, agx::LinearLookupTable, agx::MergeSplit, agxCollide::RenderData, agxControl::RecordParticleJournalOperation, agxPowerLine::RotationalTranslationalHolonomicConnector, agxUtil::RawMesh, agxPowerLine::RotationalDimension, agxModel::WindAndWaterController::WindGenerator, agx::Physics::GranularBodySystem, agx::Prismatic, agx::VirtualConstraintInertia, agx::OrientedBoxFrictionModel, agxModel::ThreeBodyTire, agxSDK::ConstraintMergeSplitThresholds, agx::RegularizationParameters, agxSDK::LinkedSegment, agxCollide::CollisionMeshData, agx::SphericalRelSlack, agx::SlackHingeJoint, agx::SlackLockJoint, agxDriveTrain::deprecated::HighLevelTorqueConverter, agxDriveTrain::GearBox, agxCollide::Plane, agxHydraulics::detail::GraphJoiningConnector, agxModel::Deformable1DBoxGeometryFactory, agx::CylindricalJoint, agxCable::CableDamageState, agxHydraulics::CheckValve, agxPowerLine::RotationalUnit, agx::BallJoint, agx::SlackPrismaticJoint, agx::Interaction, agx::DistanceJoint, agxPowerLine::SlotMapper, agxSDK::EventListener, agx::JournalCustomDataRecorder, agxControl::SensorEvent, agxSDK::StepEventListener, agxControl::TagOperation, agx::PrismaticUniversalJoint, agx::UniversalJoint, agxCollide::Convex, agx::SlackCylindricalJoint, agxCable::IdentityRoute, agxHydraulics::deprecated::PumpUnit, agxDriveTrain::Clutch, agxHydraulics::deprecated::MotorUnit, agxModel::HeightController, agxSDK::WireMergeSplitThresholds, agxModel::WindAndWaterController::WaterFlowGenerator, agxVehicle::TrackNode, agx::ContactTangent, agxDriveTrain::ElectricMotorConstraint, agx::LockJoint, agx::SwingTwistLock, agxCollide::WireShape, agxHydraulics::detail::SpoolValveConnector, agx::SleepThreshold, agxSDK::ConstraintMergeSplitAlgorithm, agxSDK::GeometryContactMergeSplitAlgorithm, agx::Dot2Slack, agxDriveTrain::Gear, agxPowerLine::RotationalTranslationalConnector, agxPowerLine::WireWinchActuator, agxSDK::WireMergeSplitAlgorithm, agxHydraulics::Accumulator, agxHydraulics::detail::GraphJoiningConstraintImplementation, agxModel::HeightFieldDeformer, agxDriveTrain::EnginePowerGenerator, agx::AngularLockJoint, agx::PointGravityField, agx::SplineJoint, agxControl::BaseRecordParticleJournalOperation, agx::Dot1Joint, agxPowerLine::detail::RigidBodyRotationalAttachmentSentry, agxControl::RemoveParticles, agxSDK::LinkedStructureComponent, agxDriveTrain::DifferentialLockConnector, agxDriveTrain::Shaft, agx::UniformGravityField, agx::ParticleContactSensor, agxCollide::MeshData, agxDriveTrain::deprecated::TorqueConverterSpeedRatioLookup, agxSDK::Collection, agx::ContactNormal, agxHydraulics::detail::ElementaryGraphJoiningConstraint, agxPowerLine::detail::WireWinchConnectorConstraintImplementation, agx::MergeSplitBodyStorage, agx::StrongInteractionConstraint, agxSDK::EnergyManager, agx::PlaneJoint, agx::ParticleSink, agx::Dot1Slack, agxDriveTrain::ElectricMotorConstraintImplementation, agxSDK::GranularContactMergeSplitAlgorithm, agxControl::SplitSensorOperation, agxDriveTrain::EngineDampingUpdater, agxControl::RemoveRigidBody, agxPowerLine::detail::WireWinchConnector, agxPowerLine::detail::ElementaryWireWinchConnectorConstraint, agxPowerLine::detail::RigidBodyTranslationalAttachmentSentry, agxSDK::MergedBodyMergeSplitAlgorithm, agxCable::RoutingNode, agxCable::CablePlasticity, agxHydraulics::detail::SpoolValveStaticFlowUnit, agxModel::PlasticityComponent, and agxCable::GeometryFactory.

Referenced by agxStream::InputArchive::readRef().

◆ getConnectableDimension()

virtual agxPowerLine::DimensionAndSide agxPowerLine::Unit::getConnectableDimension ( agxPowerLine::PhysicalDimension::Type  type,
agxPowerLine::Side  side 
)
virtualinherited
Returns
The dimension of the given types that accepts connections on the given side. Can be a PhysicalDimension owned by an internal Unit.

Reimplemented in agxPowerLine::TranslationalActuator, agxHydraulics::PistonActuator, agxPowerLine::Actuator, agxHydraulics::Accumulator, agxHydraulics::deprecated::PumpUnit, agxHydraulics::deprecated::MotorUnit, agxDriveTrain::deprecated::DriveTrainComponent, and agxPowerLine::Actuator1DOF.

◆ getConnectableDimensionTypes()

◆ getConnectableInputDimension()

agxPowerLine::PhysicalDimension* agxPowerLine::Unit::getConnectableInputDimension ( agxPowerLine::PhysicalDimension::Type  type)
inherited
Returns
The dimension of the given types that accepts connections. Can be a PhysicalDimension owned by an internal Unit.

◆ getConnectableOutputDimension()

agxPowerLine::PhysicalDimension* agxPowerLine::Unit::getConnectableOutputDimension ( agxPowerLine::PhysicalDimension::Type  type)
inherited

◆ getConnectedUnits()

void agxPowerLine::Unit::getConnectedUnits ( UnitPtrSetVector &  result,
agxPowerLine::Side  side 
)
inherited

◆ getConnectors() [1/2]

size_t agxPowerLine::Unit::getConnectors ( const agxPowerLine::Unit *  unit,
agxPowerLine::ConnectorPtrVector &  result 
)
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.

Returns
The index of the first appended Connector.

◆ getConnectors() [2/2]

size_t agxPowerLine::Unit::getConnectors ( agxPowerLine::ConnectorPtrVector &  result) const
inherited

◆ getConnectorsRecursive()

virtual void agxPowerLine::SubGraph::getConnectorsRecursive ( ConnectorPtrVector &  connectors)
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.

◆ getDeleteHandler()

static DeleteHandler* agx::Referenced::getDeleteHandler ( )
staticprotectedinherited
Returns
a DeleteHandler.

◆ getDimension() [1/2]

agxPowerLine::PhysicalDimension* agxPowerLine::Unit::getDimension ( agxPowerLine::PhysicalDimension::Type  type)
inherited
Returns
The PhysicalDimension with the given type, or nullptr. Does not search internal Units.

◆ getDimension() [2/2]

const agxPowerLine::PhysicalDimension* agxPowerLine::Unit::getDimension ( agxPowerLine::PhysicalDimension::Type  type) const
inherited

◆ getDimensions() [1/2]

const agxPowerLine::PhysicalDimensionRefVector& agxPowerLine::Unit::getDimensions ( ) const
inherited
Returns
A vector containing the PhysicalDimensions in this Unit, not including internal Units.

◆ getDimensions() [2/2]

agxPowerLine::PhysicalDimensionRefVector& agxPowerLine::Unit::getDimensions ( )
inherited

◆ getEnableSerialization()

bool agxStream::Serializable::getEnableSerialization ( ) const
inherited
Returns
true if serialization is enabled for this object

Definition at line 273 of file Serializable.h.

◆ getEnableUuidGeneration()

bool agxStream::Serializable::getEnableUuidGeneration ( )
inherited
Returns
true if Uuid:s should be generated for each new Serializable object

◆ getEnclosingConnector() [1/2]

Connector* agxPowerLine::SubGraph::getEnclosingConnector ( )
inherited

◆ getEnclosingConnector() [2/2]

const Connector* agxPowerLine::SubGraph::getEnclosingConnector ( ) const
inherited

◆ getEnclosingGraph() [1/2]

SubGraph* agxPowerLine::SubGraph::getEnclosingGraph ( )
inherited

◆ getEnclosingGraph() [2/2]

const SubGraph* agxPowerLine::SubGraph::getEnclosingGraph ( ) const
inherited

◆ getEnclosingUnit() [1/2]

Unit* agxPowerLine::SubGraph::getEnclosingUnit ( )
inherited

◆ getEnclosingUnit() [2/2]

const Unit* agxPowerLine::SubGraph::getEnclosingUnit ( ) const
inherited

◆ getFirstInputConnector()

Connector* agxPowerLine::Unit::getFirstInputConnector ( const agxPowerLine::Unit *  unit) const
inherited

◆ getFirstOutputConnector()

Connector* agxPowerLine::Unit::getFirstOutputConnector ( const agxPowerLine::Unit *  unit) const
inherited

◆ getFlowConnector() [1/2]

virtual agxHydraulics::FlowConnector* agxHydraulics::FlowUnit::getFlowConnector ( agxPowerLine::Side  side)
virtualinherited
Returns
the FlowConnector that the given pipe end is attached to. Will be nullptr if that end is not yet connected to another FlowUnit.

◆ getFlowConnector() [2/2]

virtual const agxHydraulics::FlowConnector* agxHydraulics::FlowUnit::getFlowConnector ( agxPowerLine::Side  side) const
virtualinherited
Returns
the FlowConnector that the given pipe end is attached to. Will be nullptr if that end is not yet connected to another FlowUnit.

◆ getFlowDimension() [1/2]

agxHydraulics::FlowDimension* agxHydraulics::FlowUnit::getFlowDimension ( )
inherited
Returns
The FlowDimension held by this FlowUnit.

◆ getFlowDimension() [2/2]

const agxHydraulics::FlowDimension* agxHydraulics::FlowUnit::getFlowDimension ( ) const
inherited
Returns
The FlowDimension held by this FlowUnit.

◆ getFlowRate()

agx::Real agxHydraulics::FlowUnit::getFlowRate ( ) const
inherited
Returns
The current flow rate through the FlowUnit, measured in units of volume per time.

◆ getFluidDensity()

agx::Real agxHydraulics::FlowUnit::getFluidDensity ( ) const
inherited
Returns
the fluid density used in the FlowUnit

◆ getFluidViscosity()

agx::Real agxHydraulics::FlowUnit::getFluidViscosity ( ) const
inherited
Returns
the viscosity used in the FlowUnit

◆ getIgnoreForStoreRestoreStream()

bool agxPowerLine::Unit::getIgnoreForStoreRestoreStream ( ) const
inherited

◆ getIndex()

agx::UInt32 agxStream::Serializable::getIndex ( ) const
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.

Returns
an instance index of this object. This is unique for the lifetime of this library instance.

Definition at line 247 of file Serializable.h.

◆ getInletPressure()

agx::Real agxHydraulics::FlowUnit::getInletPressure ( ) const
inherited
Deprecated:
Use getInputPressure instead.
See also
getInputPressure.

◆ getInputConnectors() [1/2]

size_t agxPowerLine::Unit::getInputConnectors ( const agxPowerLine::Unit *  unit,
agxPowerLine::ConnectorPtrVector &  result 
)
inherited

◆ getInputConnectors() [2/2]

size_t agxPowerLine::Unit::getInputConnectors ( agxPowerLine::ConnectorPtrVector &  result) const
inherited

◆ getInputFlowConnector() [1/2]

agxHydraulics::FlowConnector* agxHydraulics::FlowUnit::getInputFlowConnector ( )
inherited
Returns
the FlowConnector that the input side is attached to. Will be nullptr if the input is not yet connected to another FlowUnit.

◆ getInputFlowConnector() [2/2]

const agxHydraulics::FlowConnector* agxHydraulics::FlowUnit::getInputFlowConnector ( ) const
inherited
Returns
the FlowConnector that the input side is attached to. Will be nullptr if the input is not yet connected to another FlowUnit.

◆ getInputPressure()

agx::Real agxHydraulics::FlowUnit::getInputPressure ( ) const
inherited

Measure the pressure at the inlet of the FlowUnit.

See also
getPressure
Returns
The pressure at the input FlowConnector, or tank pressure.

◆ getInternalConnectors()

const agxPowerLine::ConnectorRefVector& agxPowerLine::SubGraph::getInternalConnectors ( ) const
inherited

◆ getInternalUnits()

const agxPowerLine::UnitRefVector& agxPowerLine::SubGraph::getInternalUnits ( ) const
inherited

◆ getLength()

agx::Real agxHydraulics::FlowUnit::getLength ( ) const
inherited
Returns
the length of the FlowUnit

◆ getName()

const agx::Name& agxPowerLine::SubGraph::getName ( ) const
inherited
Returns
The name of this power line component.

◆ getNumActiveDimensions()

size_t agxPowerLine::Unit::getNumActiveDimensions ( ) const
inherited

The number of non-null PhysicalDimension in this Unit, not including internal Units.

◆ getNumConnectableDimensions()

virtual size_t agxPowerLine::Unit::getNumConnectableDimensions ( Side  side) const
virtualinherited
Returns
The number of connectable PhysicalDimensions in this Unit, including internal.

◆ getNumConnections()

size_t agxPowerLine::Unit::getNumConnections ( ) const
inherited

◆ getOutletPressure()

agx::Real agxHydraulics::FlowUnit::getOutletPressure ( ) const
inherited
Deprecated:
Use getOutputPressure instead.
See also
getOutputPressure

◆ getOutputConnectors() [1/2]

size_t agxPowerLine::Unit::getOutputConnectors ( const agxPowerLine::Unit *  unit,
agxPowerLine::ConnectorPtrVector &  result 
)
inherited

◆ getOutputConnectors() [2/2]

size_t agxPowerLine::Unit::getOutputConnectors ( agxPowerLine::ConnectorPtrVector &  result) const
inherited

◆ getOutputFlowConnector() [1/2]

agxHydraulics::FlowConnector* agxHydraulics::FlowUnit::getOutputFlowConnector ( )
inherited
Returns
the FlowConnector that the output side is attached to. Will be nullptr if the output is not yet connected to another FlowUnit.

◆ getOutputFlowConnector() [2/2]

const agxHydraulics::FlowConnector* agxHydraulics::FlowUnit::getOutputFlowConnector ( ) const
inherited
Returns
the FlowConnector that the output side is attached to. Will be nullptr if the output is not yet connected to another FlowUnit.

◆ getOutputPressure()

agx::Real agxHydraulics::FlowUnit::getOutputPressure ( ) const
inherited

Measure the pressure at the outlet of the FlowUnit.

See also
getPressure
Returns
The pressure at the outlet FlowConnector, or tank pressure.

◆ getOwnConnectedUnits() [1/2]

void agxPowerLine::Unit::getOwnConnectedUnits ( UnitPtrSetVector &  unitSet,
bool  startFromCleanUnitSet = true 
) const
inherited

Constructs the set of Units connected to this Unit's own dimensions.

Does not consider internal units.

◆ getOwnConnectedUnits() [2/2]

void agxPowerLine::Unit::getOwnConnectedUnits ( UnitPtrSetVector &  unitSet,
agxPowerLine::Side  side,
bool  startFromCleanUnitSet = true 
) const
inherited

◆ getPowerLine()

agxPowerLine::PowerLine* agxPowerLine::Unit::getPowerLine ( ) const
inherited

◆ getPressure()

agx::Real agxHydraulics::FlowUnit::getPressure ( agxPowerLine::Side  side) const
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.

Parameters
sideThe side to measure pressure at.
Returns
The pressure at the given side.

◆ getReferenceCount()

int agx::Referenced::getReferenceCount ( ) const
inherited
Returns
the number pointers currently referencing this object.

◆ getRoot()

agxPowerLine::Unit* agxPowerLine::Unit::getRoot ( ) const
inherited

◆ getRootEnclosingGraph() [1/2]

SubGraph* agxPowerLine::SubGraph::getRootEnclosingGraph ( )
inherited

◆ getRootEnclosingGraph() [2/2]

const SubGraph* agxPowerLine::SubGraph::getRootEnclosingGraph ( ) const
inherited

◆ getSide()

agxPowerLine::Side agxPowerLine::Unit::getSide ( const Connector *  connector) const
inherited

◆ getStorageAgent()

virtual StorageAgent* agxStream::Serializable::getStorageAgent ( ) const
pure virtualinherited
Returns
the storage agent

Implemented in agxWire::StopNode, agxWire::ConnectingNode, agxWire::EyeNode, agxWire::BodyFixedNode, agx::RigidBody, agx::Twist, agxWire::FreeNode, agx::ScrewController, agx::LockController, agxModel::WaterWrapper, agx::MergedBody, agx::MergedBody, agxModel::ConstantWindGenerator, agx::RangeController, agxModel::ConstantWaterFlowGenerator, agx::MergedBody, agx::ElectricMotorController, agx::MergedBody, agx::FrictionController, agx::MergedBody, agx::TargetSpeedController, agxModel::WindAndWaterController, agxSDK::Assembly, agx::QuatLock, agx::SphericalRel, agx::Spherical, agxWire::WireSimpleDrumController, agx::Dot2, agxModel::FractureAlgorithmBreakOnStress, agx::Swing, agxModel::FractureAlgorithmBreakOnContactForce, agx::Dot1, agxModel::FractureAlgorithmBreakOnContact, agx::Frame, agxPowerLine::detail::DimensionState3Dof< DimensionType >, agxUtil::ConstraintHolder, agxDriveTrain::PidControlledEngine, agxCable::CableDamage, agxControl::TeleportToSensorOperation, agxCollide::Geometry, agxDriveTrain::deprecated::Clutch, agxModel::Terrain, agxModel::TerrainDataInterface, agx::ObserverFrame, agxControl::StoreParticlesOperation, agxModel::SlidingNodeAttachment, agxDriveTrain::deprecated::GearBox, agxControl::EventSensor, agxPowerLine::Connection, agxModel::FractureGenerator, agxControl::LoadParticleAGXFileOperation, agxPowerLine::TranslationalConstraintImplementation, agxModel::RotatingNodeAttachment, agxModel::TwoBodyTire, agxModel::Deformable1DNodeRoute, agxPowerLine::detail::DimensionState1Dof< DimensionType >, agxPowerLine::ElementaryTranslationalConstraint, agxControl::SetVelocityOperation, agx::AddedMassInteraction, agxPowerLine::TranslationalActuator, agxDriveTrain::RpmController, agx::RigidBodyAttachment, agxVehicle::Track, agxModel::RigidNodeAttachment, agxControl::WriteParticleDataToAGXOperation, agxModel::TerrainIterativeProjectedConeFrictionModel, agxModel::Deformable1DSphereGeometryFactory, agxModel::DeformableParticleCreator, agxPowerLine::GearConstraintImplementation, agxControl::MakeParticleKinematicOperation, agxModel::ConvexSoil, agx::IterativeProjectedConeFriction, agxSDK::SimulationStatisticsListener, agxSDK::LinkedStructure, agx::ConstantNormalForceOrientedBoxFrictionModel, agxDriveTrain::deprecated::FixedGear, agxVehicle::TrackProperties, agxHydraulics::HydraulicPumpActuator, agxPowerLine::ElementaryGearConstraint, agxModel::Deformable1DPointRoute, agxModel::PointNodeAttachment, agx::PropertyContainer, agxModel::SoilParticle, agxSDK::MaterialManager::MaterialManagerSerializer, agxModel::Deformable1DCylinderGeometryFactory, agxDriveTrain::deprecated::HighLevelDifferential, agxPowerLine::TorqueGenerator, agxPowerLine::PowerLine, agx::ScaleBoxFrictionModel, agxHydraulics::PistonActuator, agxPowerLine::PhysicalDimensionMultiBodyConstraintImplementation, agx::SeparationAngle, agxWire::ConvexAreaDefinition, agxCollide::Trimesh, agxControl::LoadParticleJournalOperation, agxControl::ReplaceParticleMaterialOperation, agxWire::ShapeContactNode, agxModel::Deformable1DCapsuleGeometryFactory, agx::CubicSplineLookupTable, agxHydraulics::HydraulicMotorActuator, agxSDK::GeometryContactMergeSplitThresholds, agxDriveTrain::deprecated::TorqueConverterTable, agxDriveTrain::HolonomicGear, agxModel::Deformable1DNode, agx::BoxFrictionModel, agxPowerLine::RotationalConnector, agxWire::CircularAreaDefinition, agxPowerLine::ActuatorBodyUnit, agxPowerLine::RotationalActuator, agxModel::Deformable1DBulkProperties, agx::Attachment, agxModel::Deformable1D, agx::GranularImpactDataWriter, agxPowerLine::PowerTimeIntegralLookupTable, agx::WheelJoint, agx::OrientedIterativeProjectedConeFrictionModel, agxControl::ParticleContactDumper, agxDriveTrain::deprecated::TorqueConverter, agxCable::Route, agx::Hinge, agx::RotationalAngle, agx::CubicFunction2D, agxControl::RecordParticleShapshotJournalOperation, agxDriveTrain::deprecated::HighLevelGearBox, agxTerrain::TerrainRasterizer, agxVehicle::Wheel, agxControl::SensorOperation, agxHydraulics::FlowDimension, agxModel::HeightFieldDeformerJournalRecorder, agxModel::ParticleAttributes, agxDriveTrain::Engine, agxWire::EyeNodeArea, agxModel::SurfaceVelocityConveyorBelt, agxCable::PathRoute, agx::WorldFrameBallJoint, agx::OrientedScaleBoxFrictionModel, agxPowerLine::LinearLookupTable, agxCollide::Line, agxDriveTrain::Differential, agxVehicle::TrackRoute, agxCollide::RenderMaterial, agxControl::MeasurementSensor, agxModel::DeformableMineFace, agx::AutoSleepThreshold, agxCollide::CollisionGroupManager, agxControl::ColorParticles, agxHydraulics::NeedleValve, agxModel::DeformableParticleMesh, agxDriveTrain::ElectricMotor, agxDriveTrain::SlipGear, agxModel::OneBodyTire, agxPowerLine::ActuatorRotationalDimension, agxCable::SegmentingRoute, agx::LinearLookupTable, agx::MergeSplit, agxCollide::RenderData, agxControl::RecordParticleJournalOperation, agxPowerLine::RotationalTranslationalHolonomicConnector, agxUtil::RawMesh, agxPowerLine::RotationalDimension, agxModel::WindAndWaterController::WindGenerator, agx::Physics::GranularBodySystem, agx::Prismatic, agx::VirtualConstraintInertia, agx::OrientedBoxFrictionModel, agxModel::ThreeBodyTire, agxSDK::ConstraintMergeSplitThresholds, agx::RegularizationParameters, agxSDK::LinkedSegment, agxCollide::CollisionMeshData, agx::SphericalRelSlack, agx::SlackHingeJoint, agx::SlackLockJoint, agxDriveTrain::deprecated::HighLevelTorqueConverter, agxDriveTrain::GearBox, agxCollide::Plane, agxHydraulics::detail::GraphJoiningConnector, agxModel::Deformable1DBoxGeometryFactory, agx::CylindricalJoint, agxCable::CableDamageState, agxHydraulics::CheckValve, agxPowerLine::RotationalUnit, agx::BallJoint, agx::SlackPrismaticJoint, agx::Interaction, agx::DistanceJoint, agxPowerLine::SlotMapper, agxSDK::EventListener, agx::JournalCustomDataRecorder, agxControl::SensorEvent, agxSDK::StepEventListener, agxControl::TagOperation, agx::PrismaticUniversalJoint, agx::UniversalJoint, agxCollide::Convex, agx::SlackCylindricalJoint, agxCable::IdentityRoute, agxHydraulics::deprecated::PumpUnit, agxDriveTrain::Clutch, agxHydraulics::deprecated::MotorUnit, agxModel::HeightController, agxSDK::WireMergeSplitThresholds, agxModel::WindAndWaterController::WaterFlowGenerator, agxVehicle::TrackNode, agx::ContactTangent, agxDriveTrain::ElectricMotorConstraint, agx::LockJoint, agx::SwingTwistLock, agxCollide::WireShape, agxHydraulics::detail::SpoolValveConnector, agx::SleepThreshold, agxSDK::ConstraintMergeSplitAlgorithm, agxSDK::GeometryContactMergeSplitAlgorithm, agx::Dot2Slack, agxDriveTrain::Gear, agxPowerLine::RotationalTranslationalConnector, agxPowerLine::WireWinchActuator, agxSDK::WireMergeSplitAlgorithm, agxHydraulics::Accumulator, agxHydraulics::detail::GraphJoiningConstraintImplementation, agxModel::HeightFieldDeformer, agxDriveTrain::EnginePowerGenerator, agx::AngularLockJoint, agx::PointGravityField, agx::SplineJoint, agxControl::BaseRecordParticleJournalOperation, agx::Dot1Joint, agxControl::RemoveParticles, agxSDK::LinkedStructureComponent, agxDriveTrain::DifferentialLockConnector, agxDriveTrain::Shaft, agxPowerLine::detail::RigidBodyRotationalAttachmentSentry, agx::UniformGravityField, agx::ParticleContactSensor, agxCollide::MeshData, agxDriveTrain::deprecated::TorqueConverterSpeedRatioLookup, agxSDK::Collection, agx::ContactNormal, agxHydraulics::detail::ElementaryGraphJoiningConstraint, agxPowerLine::detail::WireWinchConnectorConstraintImplementation, agx::MergeSplitBodyStorage, agx::StrongInteractionConstraint, agxSDK::EnergyManager, agx::PlaneJoint, agx::ParticleSink, agx::Dot1Slack, agxDriveTrain::ElectricMotorConstraintImplementation, agxSDK::GranularContactMergeSplitAlgorithm, agxControl::SplitSensorOperation, agxDriveTrain::EngineDampingUpdater, agxControl::RemoveRigidBody, agxPowerLine::detail::WireWinchConnector, agxPowerLine::detail::ElementaryWireWinchConnectorConstraint, agxSDK::MergedBodyMergeSplitAlgorithm, agxCable::RoutingNode, agxCable::CablePlasticity, agxHydraulics::detail::SpoolValveStaticFlowUnit, agxPowerLine::detail::RigidBodyTranslationalAttachmentSentry, agxModel::PlasticityComponent, and agxCable::GeometryFactory.

◆ getUnitsRecursive()

virtual void agxPowerLine::SubGraph::getUnitsRecursive ( UnitPtrVector &  units)
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.

◆ getUuid()

agx::Uuid agxStream::Serializable::getUuid ( ) const
inherited
Returns
a unique id for this instance.

Definition at line 268 of file Serializable.h.

Referenced by agxSDK::UuidHashCollisionFilter::match().

◆ hasConnector()

bool agxPowerLine::Unit::hasConnector ( const Connector *  connector) const
inherited

◆ hasValidInputConnection()

virtual bool agxPowerLine::Unit::hasValidInputConnection ( ) const
protectedvirtualinherited

returns if it is possible to connect to this unit

◆ init()

void agxHydraulics::FlowUnit::init ( )
protectedinherited

◆ is()

template<typename T >
bool agx::Referenced::is ( ) const
inherited

◆ isConnected() [1/2]

virtual bool agxPowerLine::Unit::isConnected ( agxPowerLine::Unit *  otherUnit) const
virtualinherited
Returns
true if this is connected the other through a connector

◆ isConnected() [2/2]

bool agxHydraulics::FlowUnit::isConnected ( agxPowerLine::Side  end) const
inherited
Returns
true if there is a FlowConnector attached at the given end. False otherwise.

◆ isEnclosedWithin()

bool agxPowerLine::SubGraph::isEnclosedWithin ( const SubGraph *  component) const
inherited
Returns
True if this component is enclosed within the given component.

◆ isFinished()

bool agxStream::Serializable::isFinished ( ) const
inherited
Returns
true if this class is restored correctly and should not be deleted during destruction of an Archive.

Definition at line 252 of file Serializable.h.

References AGX_FORCE_INLINE.

◆ isValid()

virtual bool agxPowerLine::Unit::isValid ( ) const
virtualinherited
Returns
True if the unit and its connections and constraints are valid.

◆ postRestore()

virtual bool agxPowerLine::Unit::postRestore ( agxStream::StorageStream &  str)
virtualinherited

Reimplemented in agxDriveTrain::ElectricMotor.

◆ postStore()

virtual bool agxPowerLine::Unit::postStore ( agxStream::StorageStream &  str) const
virtualinherited

Reimplemented in agxDriveTrain::ElectricMotor.

◆ postUpdate()

virtual bool agxPowerLine::SubGraph::postUpdate ( agx::Real  timeStep)
virtualinherited

◆ prepareForRestore()

virtual void agxPowerLine::SubGraph::prepareForRestore ( )
virtualinherited

◆ prepareForStore()

virtual void agxPowerLine::SubGraph::prepareForStore ( )
virtualinherited

◆ preUpdate()

◆ reference()

void agx::Referenced::reference ( void *  ptr = nullptr) const
inherited

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.

◆ removeInternalConnector()

void agxPowerLine::SubGraph::removeInternalConnector ( agxPowerLine::Connector *  connector)
protectedinherited

◆ removeInternalUnit()

void agxPowerLine::SubGraph::removeInternalUnit ( agxPowerLine::Unit *  unit)
protectedinherited

◆ removeNotification() [1/2]

virtual bool agxPowerLine::SubGraph::removeNotification ( agxUtil::ConstraintHolder *  holder,
agxSDK::Simulation *  simulation 
)
pure virtualinherited

◆ removeNotification() [2/2]

void agxPowerLine::Unit::removeNotification ( agxPowerLine::PowerLine *  powerLine)
inherited

◆ replaceInternalUnit()

agx::Bool agxPowerLine::SubGraph::replaceInternalUnit ( agxPowerLine::Unit *  oldUnit,
agxPowerLine::Unit *  newUnit 
)
protectedinherited

◆ restore() [1/2]

◆ restore() [2/2]

◆ restorePre46()

void agxPowerLine::Unit::restorePre46 ( agxStream::InputArchive &  in)
protectedinherited

◆ setArea()

bool agxHydraulics::FlowUnit::setArea ( agx::Real  area)
inherited

Set the area of the FlowUnit.

Increasing the area will decrease both the inertia and the flow resistance.

Returns
false if area is <= 0

◆ setDeleteHandler()

static void agx::Referenced::setDeleteHandler ( DeleteHandler *  handler)
staticprotectedinherited

Internal: Set a DeleteHandler to which deletion of all referenced counted objects will be delegated to.

◆ setEnableSerialization()

void agxStream::Serializable::setEnableSerialization ( bool  flag)
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.

◆ setEnableUuidGeneration()

static void agxStream::Serializable::setEnableUuidGeneration ( bool  flag)
staticinherited

Specify if there should be UUID:s generated for each new Serializable object. By default it is enabled.

◆ setFinished()

void agxStream::Serializable::setFinished ( )
inherited

Tells this class that it is restored correctly and should not be deleted during destruction of an Archive.

◆ setFluidDensity()

void agxHydraulics::FlowUnit::setFluidDensity ( agx::Real  density)
inherited

Set the density of the fluid.

Increasing the density will increase both the inertia and the flow resistance.

◆ setFluidViscosity()

void agxHydraulics::FlowUnit::setFluidViscosity ( agx::Real  viscosity)
inherited

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.

◆ setLength()

void agxHydraulics::FlowUnit::setLength ( agx::Real  length)
inherited

Set the length of the FlowUnit.

Increasing the length will increase both the inertia and flow resistance.

◆ setName()

void agxPowerLine::SubGraph::setName ( const agx::Name &  name)
inherited

Set the name of this power line component.

Parameters
name- The new name.

◆ setPowerLine()

void agxPowerLine::Unit::setPowerLine ( PowerLine *  powerLine)
protectedinherited

Point to the power line the unit is a part of.

◆ setRoot()

void agxPowerLine::Unit::setRoot ( agxPowerLine::Unit *  root)
inherited

◆ setUuid()

void agxStream::Serializable::setUuid ( const agx::Uuid &  uuid)
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!

◆ spreadPowerLineToGraph()

void agxPowerLine::SubGraph::spreadPowerLineToGraph ( )
inherited

◆ spreadRootToGraph()

void agxPowerLine::Unit::spreadRootToGraph ( )
inherited

◆ store() [1/2]

◆ store() [2/2]

◆ unreference()

void agx::Referenced::unreference ( void *  ptr = nullptr) const
inherited

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().

◆ unreference_nodelete()

void agx::Referenced::unreference_nodelete ( ) const
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.

◆ updateBodyMass()

void agxHydraulics::FlowUnit::updateBodyMass ( )
protectedinherited

◆ updateFrictionLoss()

agx::Real agxHydraulics::FlowUnit::updateFrictionLoss ( )
protectedinherited

◆ ValidateCast()

template<typename T >
static bool agx::Referenced::ValidateCast ( const Referenced *  object)
staticinherited

◆ vetoConnect()

virtual bool agxPowerLine::Unit::vetoConnect ( agxPowerLine::Connector *  connector) const
virtualinherited

Member Data Documentation

◆ m_attachBody

agx::observer_ptr<agx::RigidBody> agxPowerLine::Unit::m_attachBody
protectedinherited

Definition at line 326 of file Unit.h.

◆ m_dimensions

PhysicalDimensionRefVector agxPowerLine::Unit::m_dimensions
protectedinherited

Definition at line 324 of file Unit.h.

◆ m_enclosingGraph

SubGraphObserver agxPowerLine::SubGraph::m_enclosingGraph
protectedinherited

Definition at line 162 of file SubGraph.h.

◆ m_flowDimension

agxHydraulics::FlowDimensionRef agxHydraulics::FlowUnit::m_flowDimension
protectedinherited

Definition at line 314 of file FlowUnit.h.

◆ m_ignoreMeForStoreRestoreStream

bool agxPowerLine::Unit::m_ignoreMeForStoreRestoreStream
protectedinherited

Definition at line 328 of file Unit.h.

◆ m_internalConnectors

ConnectorRefVector agxPowerLine::SubGraph::m_internalConnectors
protectedinherited

Definition at line 164 of file SubGraph.h.

◆ m_internalUnits

UnitRefVector agxPowerLine::SubGraph::m_internalUnits
protectedinherited

Definition at line 163 of file SubGraph.h.

◆ m_mutex

Mutex agx::Referenced::m_mutex
mutableprotectedinherited

Definition at line 240 of file Referenced.h.

◆ m_name

agx::Name agxPowerLine::SubGraph::m_name
protectedinherited

Definition at line 166 of file SubGraph.h.

◆ m_observers

ObserverContainer agx::Referenced::m_observers
mutableprotectedinherited

Definition at line 239 of file Referenced.h.

◆ m_powerLine

PowerLine* agxPowerLine::SubGraph::m_powerLine
protectedinherited

Definition at line 165 of file SubGraph.h.

◆ m_refCount

AtomicValue agx::Referenced::m_refCount
mutableprotectedinherited

Definition at line 241 of file Referenced.h.

◆ m_rootUnit

agxPowerLine::Unit* agxPowerLine::Unit::m_rootUnit
protectedinherited

Definition at line 330 of file Unit.h.


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