AGX Dynamics 2.42.3.1
Loading...
Searching...
No Matches
agxHydraulics::PistonActuator Class Reference

A PistonActuator is a model of a hydraulic cylinder. More...

#include <PistonActuator.h>

+ Inheritance diagram for agxHydraulics::PistonActuator:

Public Member Functions

 PistonActuator (agx::Constraint *constraint, agxPowerLine::ConstraintGeometry *constraintGeometry, agx::Real inputChamberArea, agx::Real outputChamberArea, agx::Real fluidDensity)
 
 PistonActuator (agx::DistanceJoint *distancejoint, agx::Real inputChamberArea, agx::Real outputChamberArea, agx::Real fluidDensity)
 Same as the constructor taking a agx::Prismatic, but with a agx::DistanceJoint instead.
 
 PistonActuator (agx::Prismatic *prismatic, agx::Real inputChamberArea, agx::Real outputChamberArea, agx::Real fluidDensity)
 Create a PistonActuator from the given prismatic.
 
 AGXSTREAM_DECLARE_SERIALIZABLE_BASE (agxHydraulics::PistonActuator)
 
agxHydraulics::FlowUnit * getChamber (agxPowerLine::Side side)
 Get one of the cylinder chambers.
 
agxHydraulics::PistonActuatorConnector * getChamberConnector (agxPowerLine::Side side)
 
virtual agxPowerLine::DimensionAndSide getConnectableDimension (agxPowerLine::PhysicalDimension::Type type, agxPowerLine::Side side) override
 
virtual void getConnectableDimensionTypes (agxPowerLine::PhysicalDimension::TypeVector &types, agxPowerLine::Side side) const override
 
agxHydraulics::FlowUnit * getFrontChamber ()
 
const agxHydraulics::FlowUnit * getFrontChamber () const
 
agxHydraulics::PistonActuatorConnector * getFrontChamberConnector ()
 
agxHydraulics::FlowUnit * getInputChamber ()
 
const agxHydraulics::FlowUnit * getInputChamber () const
 
agxHydraulics::PistonActuatorConnector * getInputChamberConnector ()
 
const agxHydraulics::PistonActuatorConnector * getInputChamberConnector () const
 
agxHydraulics::FlowUnit * getOutputChamber ()
 
const agxHydraulics::FlowUnit * getOutputChamber () const
 
agxHydraulics::PistonActuatorConnector * getOutputChamberConnector ()
 
const agxHydraulics::PistonActuatorConnector * getOutputChamberConnector () const
 
agx::Real getPistonPosition () const
 
agxHydraulics::FlowUnit * getRearChamber ()
 
const agxHydraulics::FlowUnit * getRearChamber () const
 
agxHydraulics::PistonActuatorConnector * getRearChamberConnector ()
 
virtual bool restore (agxStream::StorageStream &str) override
 Restores internal data from stream.
 
virtual bool store (agxStream::StorageStream &str) const override
 Stores internal data into stream.
 
- Public Member Functions inherited from agxPowerLine::TranslationalActuator
 TranslationalActuator (agx::Constraint *constraint, ConstraintGeometry *constraintGeometry)
 
 TranslationalActuator (agx::Constraint1DOF *constraint)
 
 AGXSTREAM_DECLARE_SERIALIZABLE_BASE (agxPowerLine::TranslationalActuator)
 
virtual agx::Vec3 calculateLocalDirection (Side side, int dimensionType) const override
 
virtual agx::Real calculateRelativeGradient () const override
 
virtual agx::Vec3 calculateWorldDirection (Side side, agxPowerLine::PhysicalDimension::Type dimensionType) const override
 
virtual agxPowerLine::DimensionAndSide getConnectableDimension (agxPowerLine::PhysicalDimension::Type type, agxPowerLine::Side side) override
 
virtual void getConnectableDimensionTypes (agxPowerLine::PhysicalDimension::TypeVector &types, agxPowerLine::Side side) const override
 
agxPowerLine::TranslationalUnit * getInputRod ()
 
virtual bool restore (agxStream::StorageStream &str) override
 Restores internal data from stream.
 
virtual bool store (agxStream::StorageStream &str) const override
 Stores internal data into stream.
 
- Public Member Functions inherited from agxPowerLine::Actuator1DOF
 Actuator1DOF (agx::Constraint *constraint1DOF, ConstraintGeometry *constraintGeometry)
 
 Actuator1DOF (agx::Constraint1DOF *constraint1DOF)
 
 AGXSTREAM_DECLARE_ABSTRACT_SERIALIZABLE (agxPowerLine::Actuator1DOF)
 
virtual agx::Real calculateRelativeValue () const override
 
virtual agxPowerLine::DimensionAndSide getConnectableDimension (agxPowerLine::PhysicalDimension::Type type, agxPowerLine::Side side) override
 
ConstraintGeometry * getConstraintGeometry ()
 
const ConstraintGeometry * getConstraintGeometry () const
 
virtual bool preUpdate (agx::Real timeStamp) override
 
void restore (agxStream::InputArchive &in) override
 
virtual bool restore (agxStream::StorageStream &str) override
 Restores internal data from stream.
 
void store (agxStream::OutputArchive &out) const override
 
virtual bool store (agxStream::StorageStream &str) const override
 Stores internal data into stream.
 
void synchronizeDirections ()
 Synchronize the power-line dimension state directions with the constraint frame directions using the ConstraintGeometry.
 
- Public Member Functions inherited from agxPowerLine::Actuator
 Actuator (agx::Constraint *constraint)
 Constructor which will create a connection between this Unit and a specified ordinary Constraint.
 
 AGXSTREAM_DECLARE_ABSTRACT_SERIALIZABLE (agxMode::Actuator)
 
virtual agx::Vec3 calculateLocalDirection (Side side, int dimensionType) const =0
 
virtual agx::Real calculateRelativeGradient () const =0
 
virtual agx::Real calculateRelativeValue () const =0
 
virtual agx::Vec3 calculateWorldDirection (Side side, agxPowerLine::PhysicalDimension::Type dimensionType) const =0
 
agxPowerLine::ActuatorBodyUnit * getActuatorBodyUnit (Side side)
 
const agxPowerLine::ActuatorBodyUnit * getActuatorBodyUnit (Side side) const
 
virtual agx::Vec3 getCmToAnchorPos1 () const =0
 
virtual agx::Vec3 getCmToAnchorPos2 () const =0
 
virtual agxPowerLine::DimensionAndSide getConnectableDimension (agxPowerLine::PhysicalDimension::Type type, agxPowerLine::Side side) override
 
agx::Constraint * getConstraint ()
 
const agx::Constraint * getConstraint () const
 
agxPowerLine::detail::AbstractDimensionState3Dof * getDimensionState (agxPowerLine::Side side, agxPowerLine::PhysicalDimension::Type dimensionType)
 
virtual agx::Vec3 getDir1 () const =0
 
virtual agx::Vec3 getDir2 () const =0
 
agxPowerLine::PhysicalDimension * getPhysicalDimension (Side side, int dimensionType)
 
const agxPowerLine::PhysicalDimension * getPhysicalDimension (Side side, int dimensionType) const
 
virtual agx::RigidBody * getRigidBody (Side side)
 
virtual const agx::RigidBody * getRigidBody (Side side) const
 
agxPowerLine::detail::Rotational3DofState * getRotationalState (Side side)
 
virtual agx::Vec3 getSeparation () const =0
 
agxPowerLine::detail::Translational3DofState * getTranslationalState (Side side)
 
virtual void restore (agxStream::InputArchive &in) override
 
virtual bool restore (agxStream::StorageStream &str) override
 Restores internal data from stream.
 
bool reverseOrderRelativeConstraint () const
 
virtual void store (agxStream::OutputArchive &out) const override
 
virtual bool store (agxStream::StorageStream &str) const override
 Stores internal data into stream.
 
- Public Member Functions inherited from agxPowerLine::Unit
 Unit ()
 Constructor.
 
void addNotification (agxPowerLine::PowerLine *powerLine)
 
 AGXSTREAM_DECLARE_ABSTRACT_SERIALIZABLE (agxPowerLine::Unit)
 
void attach (agx::RigidBody *body)
 Define which body in the simulation this Unit is attached to.
 
agx::String buildDimensionsName () const
 
virtual bool connect (agxPowerLine::Connector *connector)
 Connect the unit to a connector.
 
virtual bool connect (agxPowerLine::Side mySide, agxPowerLine::Side connectorSide, agxPowerLine::Connector *connector)
 Connect the unit to a connector, specifying the side of each.
 
virtual bool connect (agxPowerLine::Side mySide, agxPowerLine::Side otherSide, agxPowerLine::Unit *other)
 
virtual bool connect (agxPowerLine::Unit *otherUnit)
 Connect the unit to another unit.
 
virtual bool disconnect (agxPowerLine::Unit *unit)
 
void disconnectAll ()
 
agxPowerLine::PhysicalDimension * getActiveDimension (size_t index)
 
const agxPowerLine::PhysicalDimension * getActiveDimension (size_t index) 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 (agxPowerLine::ConnectorPtrVector &result) const
 
size_t getConnectors (const agxPowerLine::Unit *unit, agxPowerLine::ConnectorPtrVector &result)
 Append all connectors connecting this Unit to the given Unit to the 'result' Vector.
 
agxPowerLine::PhysicalDimension * getDimension (agxPowerLine::PhysicalDimension::Type type)
 
const agxPowerLine::PhysicalDimension * getDimension (agxPowerLine::PhysicalDimension::Type type) const
 
agxPowerLine::PhysicalDimensionRefVector & getDimensions ()
 
const agxPowerLine::PhysicalDimensionRefVector & getDimensions () const
 
Connector * getFirstInputConnector (const agxPowerLine::Unit *unit) const
 
Connector * getFirstOutputConnector (const agxPowerLine::Unit *unit) const
 
bool getIgnoreForStoreRestoreStream () const
 
size_t getInputConnectors (agxPowerLine::ConnectorPtrVector &result) const
 
size_t getInputConnectors (const agxPowerLine::Unit *unit, agxPowerLine::ConnectorPtrVector &result)
 
size_t getNumActiveDimensions () const
 The number of non-null PhysicalDimension in this Unit, not including internal Units.
 
virtual size_t getNumConnectableDimensions (Side side) const
 
size_t getNumConnections () const
 
size_t getOutputConnectors (agxPowerLine::ConnectorPtrVector &result) const
 
size_t getOutputConnectors (const agxPowerLine::Unit *unit, agxPowerLine::ConnectorPtrVector &result)
 
void getOwnConnectedUnits (UnitPtrSetVector &unitSet, agxPowerLine::Side side, bool startFromCleanUnitSet=true) const
 
void getOwnConnectedUnits (UnitPtrSetVector &unitSet, bool startFromCleanUnitSet=true) const
 Constructs the set of Units connected to this Unit's own dimensions.
 
agxPowerLine::PowerLine * getPowerLine () const
 
agxPowerLine::Unit * getRoot () const
 
agxPowerLine::Side getSide (const Connector *connector) const
 
bool hasConnector (const Connector *connector) const
 
virtual bool isConnected (agxPowerLine::Unit *otherUnit) const
 
virtual bool isValid () const
 
virtual bool postRestore (agxStream::StorageStream &str)
 
virtual bool postStore (agxStream::StorageStream &str) const
 
void removeNotification (agxPowerLine::PowerLine *powerLine)
 
virtual void restore (agxStream::InputArchive &in) override
 
virtual bool restore (agxStream::StorageStream &str) override
 Restores internal data from stream.
 
void setRoot (agxPowerLine::Unit *root)
 
void spreadRootToGraph ()
 
virtual void store (agxStream::OutputArchive &out) const override
 
virtual bool store (agxStream::StorageStream &str) const override
 Stores internal data into stream.
 
virtual bool vetoConnect (agxPowerLine::Connector *connector) const
 
- Public Member Functions inherited from agxPowerLine::SubGraph
 SubGraph ()
 
virtual bool addNotification (agxSDK::Simulation *simulation)=0
 
 AGXSTREAM_DECLARE_ABSTRACT_SERIALIZABLE (agxPowerLine::SubGraph)
 
virtual void getConnectorsRecursive (ConnectorPtrVector &connectors)
 Fill the given vector with the Connectors that are held by this SubGraph.
 
Connector * getEnclosingConnector ()
 
const Connector * getEnclosingConnector () const
 
SubGraph * getEnclosingGraph ()
 
const SubGraph * getEnclosingGraph () const
 
Unit * getEnclosingUnit ()
 
const Unit * getEnclosingUnit () const
 
const agxPowerLine::ConnectorRefVector & getInternalConnectors () const
 
const agxPowerLine::UnitRefVector & getInternalUnits () const
 
const agx::Name & getName () const
 
SubGraph * getRootEnclosingGraph ()
 
const SubGraph * getRootEnclosingGraph () const
 
virtual void getUnitsRecursive (UnitPtrVector &units)
 Fill the given vector with the Units that are held by this SubGraph.
 
bool isEnclosedWithin (const SubGraph *component) const
 
virtual bool postUpdate (agx::Real timeStep)
 
virtual void prepareForRestore ()
 
virtual void prepareForStore ()
 
virtual bool preUpdate (agx::Real timeStep)
 
virtual bool removeNotification (agxUtil::ConstraintHolder *holder, agxSDK::Simulation *simulation)=0
 
virtual void restore (agxStream::InputArchive &in) override
 
virtual bool restore (agxStream::StorageStream &str)
 Restores internal data from stream.
 
void setName (const agx::Name &name)
 Set the name of this power line component.
 
void spreadPowerLineToGraph ()
 
virtual void store (agxStream::OutputArchive &out) const override
 
virtual bool store (agxStream::StorageStream &str) const
 Stores internal data into stream.
 
- Public Member Functions inherited from agx::Referenced
 Referenced ()
 Default constructor.
 
 Referenced (const Referenced &)
 
template<typename T >
T * as ()
 Subclass casting.
 
template<typename T >
const T * as () const
 
template<typename T >
T * asSafe ()
 Safe subclass casting, return nullptr if template type does not match.
 
template<typename T >
const T * asSafe () const
 
int getReferenceCount () const
 
template<typename T >
bool is () const
 Subclass test.
 
Referenced & operator= (const Referenced &)
 Assignment operator. Will increment the number of references to the referenced object.
 
void reference (void *ptr=nullptr) const
 Explicitly increment the reference count by one, indicating that this object has another pointer which is referencing it.
 
void unreference (void *ptr=nullptr) const
 Decrement the reference count by one, indicating that a pointer to this object is referencing it.
 
void unreference_nodelete () const
 Decrement the reference count by one, indicating that a pointer to this object is referencing it.
 
- Public Member Functions inherited from agxStream::Serializable
virtual ~Serializable ()
 Destructor for normal C++ use but hidden from SWIG bindings.
 
virtual const char * getClassName () const
 
bool getEnableSerialization () const
 
bool getEnableUuidGeneration ()
 
agx::UInt32 getIndex () const
 This index is given at creation of this object.
 
virtual StorageAgent * getStorageAgent () const =0
 
agx::Uuid getUuid () const
 
bool isFinished () const
 
void setEnableSerialization (bool flag)
 Set to false to disable serialization of this object.
 
void setFinished ()
 Tells this class that it is restored correctly and should not be deleted during destruction of an Archive.
 
void setUuid (const agx::Uuid &uuid)
 Explicitly set a Uuid on a serializable object.
 

Static Public Member Functions

static agxStream::Serializable * create (agxStream::InputArchive &)
 
- Static Public Member Functions inherited from agxPowerLine::TranslationalActuator
static agxStream::Serializable * create (agxStream::InputArchive &)
 
- Static Public Member Functions inherited from agx::Referenced
template<typename T >
static bool ValidateCast (const Referenced *object)
 
- Static Public Member Functions inherited from agxStream::Serializable
static void setEnableUuidGeneration (bool flag)
 Specify if there should be UUID:s generated for each new Serializable object. By default it is enabled.
 

Protected Member Functions

 PistonActuator ()
 
virtual ~PistonActuator ()
 
bool connect (agxPowerLine::ActuatorBodyUnit *flowSideBody, agxPowerLine::ActuatorBodyUnit *oppositeSideBody, agxPowerLine::Side index)
 
void create (agx::Constraint *constraint, agx::Real inputChamberArea, agx::Real outputChamberArea, agx::Real fluidDensity)
 
- Protected Member Functions inherited from agxPowerLine::TranslationalActuator
 TranslationalActuator ()
 
 TranslationalActuator (agx::Constraint *constraint, agxPowerLine::ConstraintGeometry *constraintGeometry, dont_create_input_t)
 
 TranslationalActuator (agx::Constraint1DOF *constraint, dont_create_input_t)
 
virtual ~TranslationalActuator ()
 
void connectActuatorConnector ()
 
void initialize ()
 
- Protected Member Functions inherited from agxPowerLine::Actuator1DOF
 Actuator1DOF ()
 
virtual ~Actuator1DOF ()
 
void detachActuatorUnitsFromEachOther ()
 
virtual agx::Vec3 getCmToAnchorPos1 () const override
 
virtual agx::Vec3 getCmToAnchorPos2 () const override
 
virtual agx::Vec3 getDir1 () const override
 
virtual agx::Vec3 getDir2 () const override
 
virtual agx::Vec3 getSeparation () const override
 
void replaceActuatorUnit (Unit *oldUnit, Unit *newUnit)
 
void synchronizeUnits (agx::Constraint *constraint)
 
- Protected Member Functions inherited from agxPowerLine::Actuator
 Actuator ()
 
virtual ~Actuator ()
 
- Protected Member Functions inherited from agxPowerLine::Unit
virtual ~Unit ()
 
bool activateDimension (PhysicalDimension *dimension)
 
virtual bool hasValidInputConnection () const
 returns if it is possible to connect to this unit
 
void restorePre46 (agxStream::InputArchive &in)
 
void setPowerLine (PowerLine *powerLine)
 Point to the power line the unit is a part of.
 
- Protected Member Functions inherited from agxPowerLine::SubGraph
virtual ~SubGraph ()
 
void addInternalConnector (agxPowerLine::Connector *connector)
 
void addInternalUnit (agxPowerLine::Unit *unit)
 
void removeInternalConnector (agxPowerLine::Connector *connector)
 
void removeInternalUnit (agxPowerLine::Unit *unit)
 
agx::Bool replaceInternalUnit (agxPowerLine::Unit *oldUnit, agxPowerLine::Unit *newUnit)
 
- Protected Member Functions inherited from agx::Referenced
virtual ~Referenced ()
 Destructor.
 
void allocateObserverVector () const
 
void deleteUsingDeleteHandler () const
 
- Protected Member Functions inherited from agxStream::Serializable
 Serializable ()
 Default constructor.
 
 Serializable (const Serializable &other)
 Copy constructor.
 
void generateUuid ()
 

Additional Inherited Members

- Static Protected Member Functions inherited from agx::Referenced
static DeleteHandler * getDeleteHandler ()
 
static void setDeleteHandler (DeleteHandler *handler)
 Internal: Set a DeleteHandler to which deletion of all referenced counted objects will be delegated to.
 
- Protected Attributes inherited from agxPowerLine::Actuator1DOF
ConstraintGeometryRef m_constraintGeometry
 
ConstraintObserver m_constraintObserver
 
agx::ref_ptr< agxPowerLine::ActuatorBodyUnit > m_dummyActuatorBodyUnits [2]
 
- Protected Attributes inherited from agxPowerLine::Actuator
agx::ref_ptr< agxPowerLine::ActuatorBodyUnit > m_actuatorBodyUnits [2]
 
agx::observer_ptr< agx::Constraint > m_constraint
 
bool m_enabled
 
- Protected Attributes inherited from agxPowerLine::Unit
agx::observer_ptr< agx::RigidBody > m_attachBody
 
PhysicalDimensionRefVector m_dimensions
 
bool m_ignoreMeForStoreRestoreStream
 
agxPowerLine::Unit * m_rootUnit
 
- Protected Attributes inherited from agxPowerLine::SubGraph
SubGraphObserver m_enclosingGraph
 
ConnectorRefVector m_internalConnectors
 
UnitRefVector m_internalUnits
 
agx::Name m_name
 
PowerLine * m_powerLine
 
- Protected Attributes inherited from agx::Referenced
Mutex m_mutex
 
ObserverContainer m_observers
 
AtomicValue m_refCount
 
- Static Protected Attributes inherited from agxPowerLine::TranslationalActuator
static dont_create_input_t dont_create_input
 

Detailed Description

A PistonActuator is a model of a hydraulic cylinder.

It is created from a translational agx::Constraint1DOF (prismatic or distance joint) and acts in the same way as the motor those constraints contain. The PistonActuator contains two chambers, the input and the output, and two attachment points, also called the input and the output. Flow into the input causes the piston to extend and flow into the output causes it to compress.

The two chambers can have different areas, causing the same working pressure to result in different mechanical forces on the bodies connected by the original constraint depending on if the high pressure is at the input or the output side. An effect of this is that the cylinder may move when the pressure is the same, e.g., tank pressure, on both the input and the output.

Definition at line 65 of file PistonActuator.h.

Constructor & Destructor Documentation

◆ PistonActuator() [1/4]

agxHydraulics::PistonActuator::PistonActuator ( agx::Prismatic *  prismatic,
agx::Real  inputChamberArea,
agx::Real  outputChamberArea,
agx::Real  fluidDensity 
)

Create a PistonActuator from the given prismatic.

The 'barrelArea' defines the force/pressure ratio for the input chamber and 'pistonArea' defines the force/pressure ratio for the output chamber.

The geometry of the cylinder is defined by the 'barrelArea' and 'pistonArea' parameters, and the range of the prismatic. It is important that the prismatic has a valid enabled range for the PistonActuator to function properly.

Parameters
prismaticThe constraint that defines the cylinder.
inputChamberAreaThe area of fluid contact in the input chamber.
outputChamberAreaThe area of fluid contact in the output chamber.
fluidDensityThe density of the fluid in the chambers.

◆ PistonActuator() [2/4]

agxHydraulics::PistonActuator::PistonActuator ( agx::DistanceJoint *  distancejoint,
agx::Real  inputChamberArea,
agx::Real  outputChamberArea,
agx::Real  fluidDensity 
)

Same as the constructor taking a agx::Prismatic, but with a agx::DistanceJoint instead.

See also
PistonActuator

◆ PistonActuator() [3/4]

agxHydraulics::PistonActuator::PistonActuator ( agx::Constraint *  constraint,
agxPowerLine::ConstraintGeometry *  constraintGeometry,
agx::Real  inputChamberArea,
agx::Real  outputChamberArea,
agx::Real  fluidDensity 
)

◆ PistonActuator() [4/4]

agxHydraulics::PistonActuator::PistonActuator ( )
protected

◆ ~PistonActuator()

virtual agxHydraulics::PistonActuator::~PistonActuator ( )
protectedvirtual

Member Function Documentation

◆ AGXSTREAM_DECLARE_SERIALIZABLE_BASE()

agxHydraulics::PistonActuator::AGXSTREAM_DECLARE_SERIALIZABLE_BASE ( agxHydraulics::PistonActuator  )

◆ connect()

bool agxHydraulics::PistonActuator::connect ( agxPowerLine::ActuatorBodyUnit *  flowSideBody,
agxPowerLine::ActuatorBodyUnit *  oppositeSideBody,
agxPowerLine::Side  index 
)
protected

◆ create() [1/2]

void agxHydraulics::PistonActuator::create ( agx::Constraint *  constraint,
agx::Real  inputChamberArea,
agx::Real  outputChamberArea,
agx::Real  fluidDensity 
)
protected

◆ create() [2/2]

static agxStream::Serializable * agxHydraulics::PistonActuator::create ( agxStream::InputArchive &  )
inlinestatic

Definition at line 222 of file PistonActuator.h.

◆ getChamber()

agxHydraulics::FlowUnit * agxHydraulics::PistonActuator::getChamber ( agxPowerLine::Side  side)

Get one of the cylinder chambers.

Parameters
sideThe chamber to return.
Returns
The chamber at the given side, or nullptr if the side is invalid or NO_SIDE.

◆ getChamberConnector()

agxHydraulics::PistonActuatorConnector * agxHydraulics::PistonActuator::getChamberConnector ( agxPowerLine::Side  side)
Parameters
sideThe connector to return.
Returns
The connector that connectes the chamber at the given side to the mechanical bodies, or nullptr if the side is invalid or NO_SIDE.

◆ getConnectableDimension()

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

Reimplemented from agxPowerLine::TranslationalActuator.

◆ getConnectableDimensionTypes()

virtual void agxHydraulics::PistonActuator::getConnectableDimensionTypes ( agxPowerLine::PhysicalDimension::TypeVector &  types,
agxPowerLine::Side  side 
) const
overridevirtual

◆ getFrontChamber() [1/2]

agxHydraulics::FlowUnit * agxHydraulics::PistonActuator::getFrontChamber ( )
Deprecated:
Use getInputChamber instead.
Returns
The front, i.e. input, chamber.

◆ getFrontChamber() [2/2]

const agxHydraulics::FlowUnit * agxHydraulics::PistonActuator::getFrontChamber ( ) const

◆ getFrontChamberConnector()

agxHydraulics::PistonActuatorConnector * agxHydraulics::PistonActuator::getFrontChamberConnector ( )
Deprecated:
Use getInputChamberConnector instead.
Returns
The connector that connects the front, i.e. input, chamber to the mechanical bodies.

◆ getInputChamber() [1/2]

agxHydraulics::FlowUnit * agxHydraulics::PistonActuator::getInputChamber ( )
Returns
The input chamber.

◆ getInputChamber() [2/2]

const agxHydraulics::FlowUnit * agxHydraulics::PistonActuator::getInputChamber ( ) const

◆ getInputChamberConnector() [1/2]

agxHydraulics::PistonActuatorConnector * agxHydraulics::PistonActuator::getInputChamberConnector ( )
Returns
The Connector that connects the input chamber flow unit to the mechanical bodies.

◆ getInputChamberConnector() [2/2]

const agxHydraulics::PistonActuatorConnector * agxHydraulics::PistonActuator::getInputChamberConnector ( ) const

◆ getOutputChamber() [1/2]

agxHydraulics::FlowUnit * agxHydraulics::PistonActuator::getOutputChamber ( )
Returns
The output chamber.

◆ getOutputChamber() [2/2]

const agxHydraulics::FlowUnit * agxHydraulics::PistonActuator::getOutputChamber ( ) const

◆ getOutputChamberConnector() [1/2]

agxHydraulics::PistonActuatorConnector * agxHydraulics::PistonActuator::getOutputChamberConnector ( )
Returns
The Connector that connects the output chamber flow unit to the mechanical bodies.

◆ getOutputChamberConnector() [2/2]

const agxHydraulics::PistonActuatorConnector * agxHydraulics::PistonActuator::getOutputChamberConnector ( ) const

◆ getPistonPosition()

agx::Real agxHydraulics::PistonActuator::getPistonPosition ( ) const
Returns
The length of the input chamber.

◆ getRearChamber() [1/2]

agxHydraulics::FlowUnit * agxHydraulics::PistonActuator::getRearChamber ( )
Deprecated:
Use getOutputChamber instead.
Returns
The rear, i.e. output, chamber.

◆ getRearChamber() [2/2]

const agxHydraulics::FlowUnit * agxHydraulics::PistonActuator::getRearChamber ( ) const

◆ getRearChamberConnector()

agxHydraulics::PistonActuatorConnector * agxHydraulics::PistonActuator::getRearChamberConnector ( )
Deprecated:
Use getOutputChamberConnector instead.
Returns
The connector that connects the rear, i.e. output, chamber to the mechanical bodies.

◆ restore()

virtual bool agxHydraulics::PistonActuator::restore ( agxStream::StorageStream &  str)
overridevirtual

Restores internal data from stream.

Reimplemented from agxPowerLine::TranslationalActuator.

◆ store()

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

Stores internal data into stream.

Reimplemented from agxPowerLine::TranslationalActuator.


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