AGXDynamics  2.31.1.0
agxHydraulics::PressureConnector Class Referenceabstract

The PressureConnector is an abstract base class for all Connectors that has a pressure. More...

#include <PressureConnector.h>

+ Inheritance diagram for agxHydraulics::PressureConnector:

Public Member Functions

virtual bool addNotification (agxSDK::Simulation *simulation) override
 
 AGXSTREAM_DECLARE_ABSTRACT_SERIALIZABLE (agxPowerLine::SubGraph)
 
 AGXSTREAM_DECLARE_ABSTRACT_SERIALIZABLE (agxPowerLine::Connector)
 
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
 
virtual agx::RegularizationParameters::VariableType calculateComplianceAndDamping (const agx::Real, agx::Real &, agx::Real &)
 Calculate the compliance and damping according to the connector properties (efficiency, ratio, ..) More...
 
agx::Real calculateEfficiency () const
 calculate simulated efficiency More...
 
virtual agx::Real calculateViolation () const
 calculate violation for constraint More...
 
bool compareWithInputTypes (PhysicalDimensionRefVector &dimensions) const
 
bool compareWithOutputTypes (PhysicalDimensionRefVector &dimensions) const
 
virtual bool connect (agxPowerLine::Unit *unit)
 Connect a unit to this Connector. More...
 
virtual bool connect (agxPowerLine::Side mySide, agxPowerLine::Side unitSide, agxPowerLine::Unit *unit)
 
bool connect (agxPowerLine::PhysicalDimension *dimension, agxPowerLine::Side connectorSide, agxPowerLine::Side dimensionSide)
 Connect on the physical dimension level only. More...
 
virtual bool connect (agxPowerLine::PhysicalDimension *inputDimension, agxPowerLine::Side inputSide, agxPowerLine::Side outputSide, agxPowerLine::PhysicalDimension *outputDimension)
 
bool connectDimensions (Unit *unit, agxPowerLine::Side mySide, agxPowerLine::Side unitSide)
 
virtual agxPowerLine::PhysicalDimensionMultiBodyConstraintImplementation * createConstraint ()=0
 Create the constraint (implement this to create whatever constraint you need) More...
 
virtual bool disconnect (agxPowerLine::Unit *unit)
 Disconnect the given unit from this Connector. More...
 
virtual bool disconnect ()
 
bool disconnect (agxPowerLine::PhysicalDimension *dimension, agxPowerLine::Side connectorSide, agxPowerLine::Side dimensionSide)
 
agxPowerLine::Connection * findConnection (const agxPowerLine::Unit *unit, agxPowerLine::Side side)
 
const agxPowerLine::Connection * findConnection (const agxPowerLine::Unit *unit, agxPowerLine::Side side) const
 
agxPowerLine::Connection * findInputConnection (const agxPowerLine::Unit *unit)
 
const agxPowerLine::Connection * findInputConnection (const agxPowerLine::Unit *unit) const
 
agxPowerLine::Connection * findOutputConnection (const agxPowerLine::Unit *unit)
 
const agxPowerLine::Connection * findOutputConnection (const agxPowerLine::Unit *unit) const
 
virtual const char * getClassName () const
 
const agxPowerLine::ConnectionRefVector & getConnections (agxPowerLine::Side side) const
 
virtual void getConnectorsRecursive (ConnectorPtrVector &connectors)
 Fill the given vector with the Connectors that are held by this SubGraph. More...
 
agxPowerLine::PhysicalDimensionMultiBodyConstraintImplementation * getConstraint () const
 
agx::Real getDamping () const
 
agxPowerLine::ElementaryPhysicalDimensionConstraint * getElementaryConstraint () const
 
bool getEnableSerialization () const
 
bool getEnableUuidGeneration ()
 
Connector * getEnclosingConnector ()
 
const Connector * getEnclosingConnector () const
 
SubGraph * getEnclosingGraph ()
 
const SubGraph * getEnclosingGraph () const
 
Unit * getEnclosingUnit ()
 
const Unit * getEnclosingUnit () const
 
bool getIgnoreForStoreRestoreStream () const
 
agx::UInt32 getIndex () const
 This index is given at creation of this object. More...
 
const agxPowerLine::Connection * getInputConnection (size_t index) const
 return a specific output connection More...
 
agxPowerLine::Connection * getInputConnection (size_t index)
 return a specific input connection More...
 
const agxPowerLine::ConnectionRefVector & getInputConnections () const
 return vector to all input connections from this connector More...
 
agxPowerLine::ConnectionRefVector & getInputConnections ()
 return vector to all input connections from this connector More...
 
PhysicalDimension * getInputDimension (const PhysicalDimension::Type dimensionType) const
 
const DimensionTypeVector & getInputTypes () const
 
bool getInputUnits (UnitPtrSetVector &units, const bool startFromCleanUnitSet=true)
 
bool getInputUnits (UnitConstPtrSetVector &units, const bool startFromCleanUnitSet=true) const
 
const agxPowerLine::ConnectorRefVector & getInternalConnectors () const
 
const agxPowerLine::UnitRefVector & getInternalUnits () const
 
const agx::Name & getName () const
 
int getNumConnections (agxPowerLine::Side side) const
 
int getNumConnections () const
 
int getNumFreeConnections (agxPowerLine::Side side) const
 
int getNumFreeConnections () const
 
int getNumFreeInputConnections () const
 
int getNumFreeOutputConnections () const
 
int getNumInputConnections () const
 
int getNumOutputConnections () const
 
int getNumPossibleInputConnections () const
 
int getNumPossibleOutputConnections () const
 
const agxPowerLine::Connection * getOutputConnection (size_t index) const
 return a specific output connection More...
 
agxPowerLine::Connection * getOutputConnection (size_t index)
 return a specific input connection More...
 
const agxPowerLine::ConnectionRefVector & getOutputConnections () const
 return vector to all output connections from this connector More...
 
agxPowerLine::ConnectionRefVector & getOutputConnections ()
 return vector to all output connections from this connector More...
 
PhysicalDimension * getOutputDimension (const PhysicalDimension::Type dimensionType) const
 
const DimensionTypeVector & getOutputTypes () const
 
bool getOutputUnits (UnitPtrSetVector &units, const bool startFromCleanUnitSet=true)
 
bool getOutputUnits (UnitConstPtrSetVector &units, const bool startFromCleanUnitSet=true) const
 
agx::Real getPowerIn () const
 
agxPowerLine::PowerLine * getPowerLine () const
 
agx::Real getPowerOut () const
 
virtual agx::Real getPressure () const =0
 
agx::Real getRatio () const
 
virtual agx::Real getRatio (agx::Real x) const
 
agx::Real getRatioDerivative () const
 
virtual agx::Real getRatioDerivative (agx::Real x) const
 
int getReferenceCount () const
 
SubGraph * getRootEnclosingGraph ()
 
const SubGraph * getRootEnclosingGraph () const
 
virtual agxPowerLine::Side getSide (const agxPowerLine::Unit *unit) const
 
virtual StorageAgent * getStorageAgent () const =0
 
const DimensionTypeVector & getTypes (agxPowerLine::Side side) const
 
bool getUnits (UnitPtrSetVector &units, agxPowerLine::Side side, const bool startFromCleanUnitSet=true)
 
bool getUnits (UnitPtrSetVector &units, const bool startFromCleanUnitSet=true)
 
bool getUnits (UnitConstPtrSetVector &units, agxPowerLine::Side side, const bool startFromCleanUnitSet=true) const
 
bool getUnits (UnitConstPtrSetVector &units, const bool startFromCleanUnitSet=true) const
 
virtual void getUnitsRecursive (UnitPtrVector &units)
 Fill the given vector with the Units that are held by this SubGraph. More...
 
agx::Uuid getUuid () const
 
virtual agx::Real getViolation () const
 Returns the constraint violation for connectors with holonomic constraints. More...
 
bool hasFreeConnection (agxPowerLine::Side side) const
 
bool hasFreeConnection () const
 
bool hasFreeInputConnection () const
 
bool hasFreeOutputConnection () const
 
bool hasInputConnection (Connection *connection)
 Find out if the connection belongs to this connector. More...
 
bool hasOutputConnection (Connection *connection)
 
virtual void initConstraint ()
 
template<typename T >
bool is () const
 Subclass test. More...
 
bool isConstraintValid () const
 
bool isEnclosedWithin (const SubGraph *component) const
 
bool isFinished () const
 
virtual bool isInput (const agxPowerLine::PhysicalDimension *dimension) const
 Determine if the given dimension is part of any of the input connections of this Connector. More...
 
virtual bool isOutput (Connection *connection) const
 Find out if a connection is output from this connector. More...
 
virtual bool isOutput (const agxPowerLine::PhysicalDimension *dimension) const
 Find out if the given dimension is part of any of the output connections. More...
 
virtual bool postRestore (agxStream::StorageStream &str)
 
virtual bool postStore (agxStream::StorageStream &str) const
 Set values of constraints. More...
 
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) override
 remove connector and constraint from simulation More...
 
virtual bool restore (agxStream::StorageStream &str)
 Restores internal data from stream. More...
 
virtual void restore (agxStream::InputArchive &in) override
 
void setConstraint (agxPowerLine::PhysicalDimensionMultiBodyConstraintImplementation *constraint)
 set the constraint that represents this connector in the solver. More...
 
void setDamping (agx::Real damping)
 Set the damping of the constraint. 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 setIgnoreForStoreRestoreStream (bool ignore)
 
void setName (const agx::Name &name)
 Set the name of this power line component. More...
 
void setNumPossibleInputConnections (int num)
 Define number of input dimensions the constraint should handle. More...
 
void setNumPossibleOutputConnections (int num)
 Define number of output dimensions the constraint should handle. More...
 
void setPowerLine (agxPowerLine::PowerLine *powerLine)
 
void setUuid (const agx::Uuid &uuid)
 Explicitly set a Uuid on a serializable object. More...
 
void spreadPowerLineToGraph ()
 
virtual bool store (agxStream::StorageStream &str) const
 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::Unit *unit) const
 

Static Public Member Functions

static PhysicalDimension * getDimension (const ConnectionRefVector &connections, const PhysicalDimension::Type dimensionType)
 
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

 PressureConnector ()
 
virtual ~PressureConnector ()
 
void addInternalConnector (agxPowerLine::Connector *connector)
 
void addInternalUnit (agxPowerLine::Unit *unit)
 
void allocateObserverVector () const
 
virtual bool connect (agxPowerLine::Unit *inputUnit, agxPowerLine::Side inputUnitSide, agxPowerLine::Side outputUnitSide, agxPowerLine::Unit *outputUnit)
 
void deleteUsingDeleteHandler () const
 
void generateUuid ()
 
bool getUnits (UnitPtrSetVector &units, ConnectionRefVector &connections, const bool startFromCleanUnitSet=true)
 
bool getUnits (UnitConstPtrSetVector &units, const ConnectionRefVector &connections, const bool startFromCleanUnitSet=true) const
 
bool hasNonValidInputConnection () const
 
bool hasNonValidOutputConnection () const
 
void removeInternalConnector (agxPowerLine::Connector *connector)
 
void removeInternalUnit (agxPowerLine::Unit *unit)
 
agx::Bool replaceInternalUnit (agxPowerLine::Unit *oldUnit, agxPowerLine::Unit *newUnit)
 
void setRatio (agx::Real ratio)
 set/get the ratio (scaling of load through the constraint). More...
 
void setRatioDerivative (agx::Real ratioDerivative)
 
void uninitialize ()
 

Static Protected Member Functions

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

PhysicalDimensionMultiBodyConstraintImplementation * m_constraint
 
agx::Real m_damping
 
SubGraphObserver m_enclosingGraph
 
bool m_ignoreMeForStoreRestoreStream
 
ConnectionRefVector m_inputConnections
 
DimensionTypeVector m_inputTypes
 
ConnectorRefVector m_internalConnectors
 
UnitRefVector m_internalUnits
 
Mutex m_mutex
 
agx::Name m_name
 
int m_numPossibleInputs
 
int m_numPossibleOutputs
 
ObserverContainer m_observers
 
ConnectionRefVector m_outputConnections
 
DimensionTypeVector m_outputTypes
 
PowerLine * m_powerLine
 
agx::Real m_ratio
 
agx::Real m_ratioDerivative
 
AtomicValue m_refCount
 

Detailed Description

The PressureConnector is an abstract base class for all Connectors that has a pressure.

Definition at line 36 of file PressureConnector.h.

Constructor & Destructor Documentation

◆ PressureConnector()

agxHydraulics::PressureConnector::PressureConnector ( )
protected

◆ ~PressureConnector()

virtual agxHydraulics::PressureConnector::~PressureConnector ( )
protectedvirtual

Member Function Documentation

◆ addInternalConnector()

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

◆ addInternalUnit()

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

◆ addNotification()

virtual bool agxPowerLine::Connector::addNotification ( agxSDK::Simulation *  simulation)
overridevirtualinherited

Implements agxPowerLine::SubGraph.

Reimplemented in agxDriveTrain::Clutch.

◆ AGXSTREAM_DECLARE_ABSTRACT_SERIALIZABLE() [1/2]

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

◆ AGXSTREAM_DECLARE_ABSTRACT_SERIALIZABLE() [2/2]

agxPowerLine::Connector::AGXSTREAM_DECLARE_ABSTRACT_SERIALIZABLE ( agxPowerLine::Connector  )
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

◆ calculateComplianceAndDamping()

◆ calculateEfficiency()

agx::Real agxPowerLine::Connector::calculateEfficiency ( ) const
inherited

calculate simulated efficiency

◆ calculateViolation()

virtual agx::Real agxPowerLine::Connector::calculateViolation ( ) const
virtualinherited

calculate violation for constraint

Reimplemented in agxDriveTrain::HolonomicGear, and agxPowerLine::RotationalTranslationalHolonomicConnector.

◆ compareWithInputTypes()

bool agxPowerLine::Connector::compareWithInputTypes ( PhysicalDimensionRefVector &  dimensions) const
inherited

◆ compareWithOutputTypes()

bool agxPowerLine::Connector::compareWithOutputTypes ( PhysicalDimensionRefVector &  dimensions) const
inherited

◆ connect() [1/5]

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

Connect a unit to this Connector.

Reimplemented in agxDriveTrain::MultiGear.

◆ connect() [2/5]

virtual bool agxPowerLine::Connector::connect ( agxPowerLine::Side  mySide,
agxPowerLine::Side  unitSide,
agxPowerLine::Unit *  unit 
)
virtualinherited

◆ connect() [3/5]

bool agxPowerLine::Connector::connect ( agxPowerLine::PhysicalDimension *  dimension,
agxPowerLine::Side  connectorSide,
agxPowerLine::Side  dimensionSide 
)
inherited

Connect on the physical dimension level only.

Will not update the parent Unit's root node and will not spread the power line over the graph.

◆ connect() [4/5]

virtual bool agxPowerLine::Connector::connect ( agxPowerLine::PhysicalDimension *  inputDimension,
agxPowerLine::Side  inputSide,
agxPowerLine::Side  outputSide,
agxPowerLine::PhysicalDimension *  outputDimension 
)
virtualinherited

◆ connect() [5/5]

virtual bool agxPowerLine::Connector::connect ( agxPowerLine::Unit *  inputUnit,
agxPowerLine::Side  inputUnitSide,
agxPowerLine::Side  outputUnitSide,
agxPowerLine::Unit *  outputUnit 
)
protectedvirtualinherited

Reimplemented in agxHydraulics::FlowConnector.

◆ connectDimensions()

bool agxPowerLine::Connector::connectDimensions ( Unit *  unit,
agxPowerLine::Side  mySide,
agxPowerLine::Side  unitSide 
)
inherited

◆ createConstraint()

virtual agxPowerLine::PhysicalDimensionMultiBodyConstraintImplementation* agxPowerLine::Connector::createConstraint ( )
pure virtualinherited

◆ deleteUsingDeleteHandler()

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

◆ disconnect() [1/3]

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

Disconnect the given unit from this Connector.

Will reduce the refCount of the Connector, so the instance may have been deleted when this method returns. Keep an extra ConnectorRef, at the call site of elsewhere, to avoid this.

Reimplemented in agxHydraulics::SpoolValve, agxDriveTrain::Differential, and agxDriveTrain::MultiGear.

◆ disconnect() [2/3]

virtual bool agxPowerLine::Connector::disconnect ( )
virtualinherited

Reimplemented in agxHydraulics::SpoolValve.

◆ disconnect() [3/3]

bool agxPowerLine::Connector::disconnect ( agxPowerLine::PhysicalDimension *  dimension,
agxPowerLine::Side  connectorSide,
agxPowerLine::Side  dimensionSide 
)
inherited

◆ findConnection() [1/2]

agxPowerLine::Connection* agxPowerLine::Connector::findConnection ( const agxPowerLine::Unit *  unit,
agxPowerLine::Side  side 
)
inherited

◆ findConnection() [2/2]

const agxPowerLine::Connection* agxPowerLine::Connector::findConnection ( const agxPowerLine::Unit *  unit,
agxPowerLine::Side  side 
) const
inherited

◆ findInputConnection() [1/2]

agxPowerLine::Connection* agxPowerLine::Connector::findInputConnection ( const agxPowerLine::Unit *  unit)
inherited

◆ findInputConnection() [2/2]

const agxPowerLine::Connection* agxPowerLine::Connector::findInputConnection ( const agxPowerLine::Unit *  unit) const
inherited

◆ findOutputConnection() [1/2]

agxPowerLine::Connection* agxPowerLine::Connector::findOutputConnection ( const agxPowerLine::Unit *  unit)
inherited

◆ findOutputConnection() [2/2]

const agxPowerLine::Connection* agxPowerLine::Connector::findOutputConnection ( const agxPowerLine::Unit *  unit) const
inherited

◆ generateUuid()

void agxStream::Serializable::generateUuid ( )
protectedinherited

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

◆ getConnections()

const agxPowerLine::ConnectionRefVector& agxPowerLine::Connector::getConnections ( agxPowerLine::Side  side) 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.

◆ getConstraint()

agxPowerLine::PhysicalDimensionMultiBodyConstraintImplementation* agxPowerLine::Connector::getConstraint ( ) const
inherited
Returns
the constraint representing this connector in the solver.

◆ getDamping()

agx::Real agxPowerLine::Connector::getDamping ( ) const
inherited

◆ getDeleteHandler()

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

◆ getDimension()

static PhysicalDimension* agxPowerLine::Connector::getDimension ( const ConnectionRefVector &  connections,
const PhysicalDimension::Type  dimensionType 
)
staticinherited

◆ getElementaryConstraint()

agxPowerLine::ElementaryPhysicalDimensionConstraint* agxPowerLine::Connector::getElementaryConstraint ( ) const
inherited
Returns
The first elementary constraint in the constraint returned by getConstraint(), or nullptr if there is no constraint.

◆ 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

◆ getIgnoreForStoreRestoreStream()

bool agxPowerLine::Connector::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.

◆ getInputConnection() [1/2]

const agxPowerLine::Connection* agxPowerLine::Connector::getInputConnection ( size_t  index) const
inherited

return a specific output connection

◆ getInputConnection() [2/2]

agxPowerLine::Connection* agxPowerLine::Connector::getInputConnection ( size_t  index)
inherited

return a specific input connection

◆ getInputConnections() [1/2]

const agxPowerLine::ConnectionRefVector& agxPowerLine::Connector::getInputConnections ( ) const
inherited

return vector to all input connections from this connector

◆ getInputConnections() [2/2]

agxPowerLine::ConnectionRefVector& agxPowerLine::Connector::getInputConnections ( )
inherited

return vector to all input connections from this connector

◆ getInputDimension()

PhysicalDimension* agxPowerLine::Connector::getInputDimension ( const PhysicalDimension::Type  dimensionType) const
inherited

◆ getInputTypes()

const DimensionTypeVector& agxPowerLine::Connector::getInputTypes ( ) const
inherited

◆ getInputUnits() [1/2]

bool agxPowerLine::Connector::getInputUnits ( UnitPtrSetVector &  units,
const bool  startFromCleanUnitSet = true 
)
inherited

◆ getInputUnits() [2/2]

bool agxPowerLine::Connector::getInputUnits ( UnitConstPtrSetVector &  units,
const bool  startFromCleanUnitSet = true 
) const
inherited

◆ getInternalConnectors()

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

◆ getInternalUnits()

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

◆ getName()

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

◆ getNumConnections() [1/2]

int agxPowerLine::Connector::getNumConnections ( agxPowerLine::Side  side) const
inherited

◆ getNumConnections() [2/2]

int agxPowerLine::Connector::getNumConnections ( ) const
inherited

◆ getNumFreeConnections() [1/2]

int agxPowerLine::Connector::getNumFreeConnections ( agxPowerLine::Side  side) const
inherited

◆ getNumFreeConnections() [2/2]

int agxPowerLine::Connector::getNumFreeConnections ( ) const
inherited

◆ getNumFreeInputConnections()

int agxPowerLine::Connector::getNumFreeInputConnections ( ) const
inherited

◆ getNumFreeOutputConnections()

int agxPowerLine::Connector::getNumFreeOutputConnections ( ) const
inherited

◆ getNumInputConnections()

int agxPowerLine::Connector::getNumInputConnections ( ) const
inherited

◆ getNumOutputConnections()

int agxPowerLine::Connector::getNumOutputConnections ( ) const
inherited

◆ getNumPossibleInputConnections()

int agxPowerLine::Connector::getNumPossibleInputConnections ( ) const
inherited
Returns
number of input dimensions the constraint can handle.

◆ getNumPossibleOutputConnections()

int agxPowerLine::Connector::getNumPossibleOutputConnections ( ) const
inherited
Returns
number of output dimensions the constraint can handle.

◆ getOutputConnection() [1/2]

const agxPowerLine::Connection* agxPowerLine::Connector::getOutputConnection ( size_t  index) const
inherited

return a specific output connection

◆ getOutputConnection() [2/2]

agxPowerLine::Connection* agxPowerLine::Connector::getOutputConnection ( size_t  index)
inherited

return a specific input connection

◆ getOutputConnections() [1/2]

const agxPowerLine::ConnectionRefVector& agxPowerLine::Connector::getOutputConnections ( ) const
inherited

return vector to all output connections from this connector

◆ getOutputConnections() [2/2]

agxPowerLine::ConnectionRefVector& agxPowerLine::Connector::getOutputConnections ( )
inherited

return vector to all output connections from this connector

◆ getOutputDimension()

PhysicalDimension* agxPowerLine::Connector::getOutputDimension ( const PhysicalDimension::Type  dimensionType) const
inherited

◆ getOutputTypes()

const DimensionTypeVector& agxPowerLine::Connector::getOutputTypes ( ) const
inherited

◆ getOutputUnits() [1/2]

bool agxPowerLine::Connector::getOutputUnits ( UnitPtrSetVector &  units,
const bool  startFromCleanUnitSet = true 
)
inherited

◆ getOutputUnits() [2/2]

bool agxPowerLine::Connector::getOutputUnits ( UnitConstPtrSetVector &  units,
const bool  startFromCleanUnitSet = true 
) const
inherited

◆ getPowerIn()

agx::Real agxPowerLine::Connector::getPowerIn ( ) const
inherited

◆ getPowerLine()

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

◆ getPowerOut()

agx::Real agxPowerLine::Connector::getPowerOut ( ) const
inherited

◆ getPressure()

virtual agx::Real agxHydraulics::PressureConnector::getPressure ( ) const
pure virtual

◆ getRatio() [1/2]

agx::Real agxPowerLine::Connector::getRatio ( ) const
inherited

◆ getRatio() [2/2]

virtual agx::Real agxPowerLine::Connector::getRatio ( agx::Real  x) const
virtualinherited

◆ getRatioDerivative() [1/2]

agx::Real agxPowerLine::Connector::getRatioDerivative ( ) const
inherited

◆ getRatioDerivative() [2/2]

virtual agx::Real agxPowerLine::Connector::getRatioDerivative ( agx::Real  x) const
virtualinherited

◆ getReferenceCount()

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

◆ getRootEnclosingGraph() [1/2]

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

◆ getRootEnclosingGraph() [2/2]

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

◆ getSide()

virtual agxPowerLine::Side agxPowerLine::Connector::getSide ( const agxPowerLine::Unit *  unit) const
virtualinherited

◆ 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.

◆ getTypes()

const DimensionTypeVector& agxPowerLine::Connector::getTypes ( agxPowerLine::Side  side) const
inherited

◆ getUnits() [1/6]

bool agxPowerLine::Connector::getUnits ( UnitPtrSetVector &  units,
agxPowerLine::Side  side,
const bool  startFromCleanUnitSet = true 
)
inherited

◆ getUnits() [2/6]

bool agxPowerLine::Connector::getUnits ( UnitPtrSetVector &  units,
const bool  startFromCleanUnitSet = true 
)
inherited

◆ getUnits() [3/6]

bool agxPowerLine::Connector::getUnits ( UnitConstPtrSetVector &  units,
agxPowerLine::Side  side,
const bool  startFromCleanUnitSet = true 
) const
inherited

◆ getUnits() [4/6]

bool agxPowerLine::Connector::getUnits ( UnitConstPtrSetVector &  units,
const bool  startFromCleanUnitSet = true 
) const
inherited

◆ getUnits() [5/6]

bool agxPowerLine::Connector::getUnits ( UnitPtrSetVector &  units,
ConnectionRefVector &  connections,
const bool  startFromCleanUnitSet = true 
)
protectedinherited

◆ getUnits() [6/6]

bool agxPowerLine::Connector::getUnits ( UnitConstPtrSetVector &  units,
const ConnectionRefVector &  connections,
const bool  startFromCleanUnitSet = true 
) const
protectedinherited

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

◆ getViolation()

virtual agx::Real agxPowerLine::Connector::getViolation ( ) const
virtualinherited

Returns the constraint violation for connectors with holonomic constraints.

◆ hasFreeConnection() [1/2]

bool agxPowerLine::Connector::hasFreeConnection ( agxPowerLine::Side  side) const
inherited

◆ hasFreeConnection() [2/2]

bool agxPowerLine::Connector::hasFreeConnection ( ) const
inherited

◆ hasFreeInputConnection()

bool agxPowerLine::Connector::hasFreeInputConnection ( ) const
inherited

◆ hasFreeOutputConnection()

bool agxPowerLine::Connector::hasFreeOutputConnection ( ) const
inherited

◆ hasInputConnection()

bool agxPowerLine::Connector::hasInputConnection ( Connection *  connection)
inherited

Find out if the connection belongs to this connector.

◆ hasNonValidInputConnection()

bool agxPowerLine::Connector::hasNonValidInputConnection ( ) const
protectedinherited

◆ hasNonValidOutputConnection()

bool agxPowerLine::Connector::hasNonValidOutputConnection ( ) const
protectedinherited

◆ hasOutputConnection()

bool agxPowerLine::Connector::hasOutputConnection ( Connection *  connection)
inherited
Returns
true if if the connection belongs to this connector.

◆ initConstraint()

virtual void agxPowerLine::Connector::initConstraint ( )
virtualinherited

◆ is()

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

◆ isConstraintValid()

bool agxPowerLine::Connector::isConstraintValid ( ) const
inherited

◆ 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.

◆ isInput()

virtual bool agxPowerLine::Connector::isInput ( const agxPowerLine::PhysicalDimension *  dimension) const
virtualinherited

Determine if the given dimension is part of any of the input connections of this Connector.

Parameters
dimension- The dimension to look for.
Returns
True if the dimension was found on the input side of this Connector. False otherwise.

◆ isOutput() [1/2]

virtual bool agxPowerLine::Connector::isOutput ( Connection *  connection) const
virtualinherited

Find out if a connection is output from this connector.

◆ isOutput() [2/2]

virtual bool agxPowerLine::Connector::isOutput ( const agxPowerLine::PhysicalDimension *  dimension) const
virtualinherited

Find out if the given dimension is part of any of the output connections.

◆ postRestore()

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

◆ postStore()

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

Set values of constraints.

Must be called after the constraints are created.

Reimplemented in agxHydraulics::detail::SpoolValveConnector, and agxDriveTrain::Clutch.

Referenced by agxHydraulics::detail::SpoolValveConnector::postStore().

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

virtual bool agxPowerLine::Connector::removeNotification ( agxUtil::ConstraintHolder *  holder,
agxSDK::Simulation *  simulation 
)
overridevirtualinherited

remove connector and constraint from simulation

Implements agxPowerLine::SubGraph.

Reimplemented in agxDriveTrain::HolonomicGear, and agxDriveTrain::Differential.

◆ replaceInternalUnit()

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

◆ restore() [1/2]

virtual bool agxHydraulics::PressureConnector::restore ( agxStream::StorageStream &  str)
virtual

Restores internal data from stream.

Reimplemented from agxPowerLine::Connector.

Reimplemented in agxHydraulics::detail::SpoolValveConnector.

◆ restore() [2/2]

◆ setConstraint()

void agxPowerLine::Connector::setConstraint ( agxPowerLine::PhysicalDimensionMultiBodyConstraintImplementation *  constraint)
inherited

set the constraint that represents this connector in the solver.

◆ setDamping()

void agxPowerLine::Connector::setDamping ( agx::Real  damping)
inherited

Set the damping of the constraint.

◆ 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.

◆ setIgnoreForStoreRestoreStream()

void agxPowerLine::Connector::setIgnoreForStoreRestoreStream ( bool  ignore)
inherited

◆ setName()

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

Set the name of this power line component.

Parameters
name- The new name.

◆ setNumPossibleInputConnections()

void agxPowerLine::Connector::setNumPossibleInputConnections ( int  num)
inherited

Define number of input dimensions the constraint should handle.

◆ setNumPossibleOutputConnections()

void agxPowerLine::Connector::setNumPossibleOutputConnections ( int  num)
inherited

Define number of output dimensions the constraint should handle.

◆ setPowerLine()

void agxPowerLine::Connector::setPowerLine ( agxPowerLine::PowerLine *  powerLine)
inherited

◆ setRatio()

void agxPowerLine::Connector::setRatio ( agx::Real  ratio)
protectedinherited

set/get the ratio (scaling of load through the constraint).

◆ setRatioDerivative()

void agxPowerLine::Connector::setRatioDerivative ( agx::Real  ratioDerivative)
protectedinherited

◆ 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

◆ store() [1/2]

virtual bool agxHydraulics::PressureConnector::store ( agxStream::StorageStream &  str) const
virtual

Stores internal data into stream.

Reimplemented from agxPowerLine::Connector.

Reimplemented in agxHydraulics::detail::SpoolValveConnector.

◆ store() [2/2]

◆ uninitialize()

void agxPowerLine::Connector::uninitialize ( )
protectedinherited

◆ 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.

◆ ValidateCast()

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

◆ vetoConnect()

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

Member Data Documentation

◆ m_constraint

PhysicalDimensionMultiBodyConstraintImplementation* agxPowerLine::Connector::m_constraint
protectedinherited

Definition at line 397 of file Connector.h.

◆ m_damping

agx::Real agxPowerLine::Connector::m_damping
protectedinherited

Definition at line 393 of file Connector.h.

◆ m_enclosingGraph

SubGraphObserver agxPowerLine::SubGraph::m_enclosingGraph
protectedinherited

Definition at line 162 of file SubGraph.h.

◆ m_ignoreMeForStoreRestoreStream

bool agxPowerLine::Connector::m_ignoreMeForStoreRestoreStream
protectedinherited

Definition at line 399 of file Connector.h.

◆ m_inputConnections

ConnectionRefVector agxPowerLine::Connector::m_inputConnections
protectedinherited

Definition at line 388 of file Connector.h.

◆ m_inputTypes

DimensionTypeVector agxPowerLine::Connector::m_inputTypes
protectedinherited

Definition at line 390 of file Connector.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_numPossibleInputs

int agxPowerLine::Connector::m_numPossibleInputs
protectedinherited

Definition at line 386 of file Connector.h.

◆ m_numPossibleOutputs

int agxPowerLine::Connector::m_numPossibleOutputs
protectedinherited

Definition at line 387 of file Connector.h.

◆ m_observers

ObserverContainer agx::Referenced::m_observers
mutableprotectedinherited

Definition at line 239 of file Referenced.h.

◆ m_outputConnections

ConnectionRefVector agxPowerLine::Connector::m_outputConnections
protectedinherited

Definition at line 389 of file Connector.h.

◆ m_outputTypes

DimensionTypeVector agxPowerLine::Connector::m_outputTypes
protectedinherited

Definition at line 391 of file Connector.h.

◆ m_powerLine

PowerLine* agxPowerLine::SubGraph::m_powerLine
protectedinherited

Definition at line 165 of file SubGraph.h.

◆ m_ratio

agx::Real agxPowerLine::Connector::m_ratio
protectedinherited

Definition at line 395 of file Connector.h.

◆ m_ratioDerivative

agx::Real agxPowerLine::Connector::m_ratioDerivative
protectedinherited

Definition at line 396 of file Connector.h.

◆ m_refCount

AtomicValue agx::Referenced::m_refCount
mutableprotectedinherited

Definition at line 241 of file Referenced.h.


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