AGXDynamics  2.31.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
agxDriveTrain::deprecated::HighLevelTorqueConverter Class Referenceabstract

Implementation of a torque converter (TQ) The characteristics of a real TQ is captured in two look up tables. More...

#include <HighLevelDriveTrain.h>

+ Inheritance diagram for agxDriveTrain::deprecated::HighLevelTorqueConverter:

Public Member Functions

 HighLevelTorqueConverter ()
 The only constructor. More...
 
virtual bool addNotification (agxSDK::Simulation *simulation)=0
 
void addNotification (agxPowerLine::PowerLine *powerLine)
 
 AGXSTREAM_DECLARE_ABSTRACT_SERIALIZABLE (agxDriveTrain::deprecated::DriveTrainComponent)
 
 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
 
void clearMuTable ()
 Clear the table mapping angular velocity ratio to torque multiplication. More...
 
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 getAngularVelocity () const
 returns the number of radians per second More...
 
const char * getClassName () 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::PhysicalDimension * getConnectableInputDimension (agxPowerLine::PhysicalDimension::Type type)
 
agxPowerLine::PhysicalDimension * getConnectableOutputDimension (agxPowerLine::PhysicalDimension::Type type)
 
void getConnectedUnits (UnitPtrSetVector &result, agxPowerLine::Side side)
 
virtual agxPowerLine::Connector * getConnector ()
 
virtual const
agxPowerLine::Connector * 
getConnector () 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. More...
 
size_t getConnectors (agxPowerLine::ConnectorPtrVector &result) const
 
virtual void getConnectorsRecursive (agxPowerLine::ConnectorPtrVector &connectors) override
 Fill the given vector with the Connectors that are held by this SubGraph. More...
 
agx::Real getCurrentEfficiency () const
 
agx::Real getCurrentMultiplication () const
 Return the torque multiplication given the current state. More...
 
virtual agx::Real getDeliveredTorque () const
 returns the amount of torque delivered from the rotational dimension 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 ()
 
virtual agx::Vec3 getDirection () const
 returns a vector in world coordinates that defines the rotational axis of the rotational unit. More...
 
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
 
bool getIgnoreForStoreRestoreStream () const
 
agx::UInt32 getIndex () const
 This index is given at creation of this object. More...
 
virtual agx::Real getInertia () const override
 
size_t getInputConnectors (const agxPowerLine::Unit *unit, agxPowerLine::ConnectorPtrVector &result)
 
size_t getInputConnectors (agxPowerLine::ConnectorPtrVector &result) const
 
const agxDriveTrain::Shaft * getInputShaft () const
 
const
agxPowerLine::ConnectorRefVector & 
getInternalConnectors () const
 
const agxPowerLine::UnitRefVector & getInternalUnits () const
 
agx::Real getMaxMultiplication () const
 
agx::Real getMu () const
 
const
agxPowerLine::LinearLookupTable * 
getMuTable () const
 Return pointer to table mapping angular velocity ratio to torque multiplication. More...
 
const agx::Name & getName () const
 
agx::Real getNu () 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
 
size_t getOutputConnectors (const agxPowerLine::Unit *unit, agxPowerLine::ConnectorPtrVector &result)
 
size_t getOutputConnectors (agxPowerLine::ConnectorPtrVector &result) const
 
const agxDriveTrain::Shaft * getOutputShaft () const
 
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 getPumpRPM () const
 
agx::Real getPumpTorque () const
 
agx::Real getPumpTorqueReferenceRPM () const
 
const
agxPowerLine::LinearLookupTable * 
getPumpTorqueTable () const
 
agxPowerLine::LinearLookupTable * getPumpTorqueTable ()
 
int getReferenceCount () const
 
agxPowerLine::Unit * getRoot () const
 
SubGraph * getRootEnclosingGraph ()
 
const SubGraph * getRootEnclosingGraph () const
 
agxPowerLine::RotationalDimension * getRotationalDimension () const
 returns a pointer to the rotational dimension More...
 
agxPowerLine::RotationalDimension * getRotationalDimension (agxPowerLine::Side side)
 
const
agxPowerLine::RotationalDimension * 
getRotationalDimension (agxPowerLine::Side side) const
 
agx::Real getRPM () const
 returns the number of revolutions per minute More...
 
agxPowerLine::Side getSide (const Connector *connector) const
 
agxStream::StorageAgent * getStorageAgent () const override
 
agx::Real getTurbineRPM () const
 
agx::Real getTurbineTorque () const
 
virtual void getUnitsRecursive (agxPowerLine::UnitPtrVector &units) override
 Fill the given vector with the Units that are held by this SubGraph. More...
 
agx::Uuid getUuid () const
 
agx::Real getWantedEfficiency () const
 
bool hasConnector (const Connector *connector) const
 
void insertNuMuLookupValue (agx::Real nu, agx::Real mu)
 Insert value in the table mapping angular velocity ratio to torque multiplication. More...
 
template<typename T >
bool is () const
 Subclass test. More...
 
virtual bool isConnected (agxPowerLine::Unit *otherUnit) 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) override
 
virtual void prepareForRestore ()
 
virtual void prepareForStore ()
 
virtual bool preUpdate (agx::Real timeStep) override
 Functions called by a static function. More...
 
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
 
void setAngularVelocityDamping (agx::Real damping)
 set the angular velocity damping around the local axis (direction) 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...
 
virtual void setInertia (agx::Real inertia) override
 set the inertia for the rotational dimension of the rotational unit. More...
 
void setMaxMultiplication (agx::Real maxMultiplication)
 When the efficiency goes to zero, the torque multiplication goes to infinity set/get the largest possible multiplication. More...
 
void setMuTable (agx::Vector< std::pair< agx::Real, agx::Real > > const &nu_to_mu)
 Set table mapping velocity ratio to torque multiplication. More...
 
void setName (const agx::Name &name)
 Set the name of this power line component. More...
 
void setPumpTorqueReferenceRPM (agx::Real rpm)
 Set the pump torque reference rpm for the table. More...
 
void setPumpTorqueTable (agx::Vector< std::pair< agx::Real, agx::Real > > const &nu_torques)
 Set the pump torque table. 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 agx::Real convertAngularVelocityToRPM (const agx::Real angVel)
 Convert between m/s and rpm. More...
 
static agx::Real convertRPMtoAngularVelocity (const agx::Real rpm)
 
static agxStream::Serializable * create ()
 
static agxStream::Serializable * create (agxStream::InputArchive &)
 
static const char * getConstructClassId ()
 
static void setEnableUuidGeneration (bool flag)
 Specify if there should be UUID:s generated for each new Serializable object. By default it is enabled. More...
 
template<typename T >
static bool ValidateCast (const Referenced *object)
 

Protected Member Functions

virtual ~HighLevelTorqueConverter ()
 
bool activateDimension (PhysicalDimension *dimension)
 
void addInternalConnector (agxPowerLine::Connector *connector)
 
void addInternalUnit (agxPowerLine::Unit *unit)
 
void allocateObserverVector () const
 
void connectInternalConnector ()
 
void deleteUsingDeleteHandler () const
 
void generateUuid ()
 
virtual bool hasValidInputConnection () const
 returns if it is possible to connect to this unit More...
 
void removeInternalConnector (agxPowerLine::Connector *connector)
 
void removeInternalUnit (agxPowerLine::Unit *unit)
 
bool replaceConnector (agxPowerLine::Connector *connector)
 
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...
 

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

agx::observer_ptr< agx::RigidBody > m_attachBody
 
agxPowerLine::ConnectorRef m_connector
 
PhysicalDimensionRefVector m_dimensions
 
SubGraphObserver m_enclosingGraph
 
bool m_ignoreMeForStoreRestoreStream
 
agxDriveTrain::ShaftRef m_inputShaft
 
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
 
RotationalDimensionRef m_rotationalDimension
 
agxDriveTrain::deprecated::TorqueConverterRef m_torqueConverterConnector
 

Detailed Description

Implementation of a torque converter (TQ) The characteristics of a real TQ is captured in two look up tables.

Lookup table 1: The nu /efficiency table - a lookup for TQ efficiency given rotational speed ratio between turbine and pump (nu).

To set the efficiency table use: void setEfficiencyTable(agx::Vector<std::pair<agx::Real, agx::Real> > const& nu_efficiency);

The efficiency table is directly correlated to the torque multiplier of TQ. To set the torque multiplication use: void setMuTable(agx::Vector<std::pair<agx::Real, agx::Real> > const& nu_mus);

Lookup table 2: The maximum possible torque delivery given nu from and to the unit connected to the TQ pump (usually the engine).

To set the table use: void setPumpTorqueTable(agx::Vector<std::pair<agx::Real, agx::Real> > const& nu_torques);

The torque delivery limit is dependent of RPM of the pump. The torque is scaled using T = T_ref*(rpm/rpm_ref)^2; The reference rpm is set using: void setPumpTorqueReferenceRPM( agx::Real rpm );

Both functions 'setPumpTorqueTable' and 'setPumpTorqueReferenceRPM' are implemented in the parent class "agxModel::TorqueConverterTable".

Definition at line 59 of file HighLevelDriveTrain.h.

Constructor & Destructor Documentation

agxDriveTrain::deprecated::HighLevelTorqueConverter::HighLevelTorqueConverter ( )

The only constructor.

virtual agxDriveTrain::deprecated::HighLevelTorqueConverter::~HighLevelTorqueConverter ( )
protectedvirtual

Member Function Documentation

bool agxPowerLine::Unit::activateDimension ( PhysicalDimension *  dimension)
protectedinherited
void agxPowerLine::SubGraph::addInternalConnector ( agxPowerLine::Connector *  connector)
protectedinherited
void agxPowerLine::SubGraph::addInternalUnit ( agxPowerLine::Unit *  unit)
protectedinherited
virtual bool agxPowerLine::SubGraph::addNotification ( agxSDK::Simulation *  simulation)
pure virtualinherited
void agxPowerLine::Unit::addNotification ( agxPowerLine::PowerLine *  powerLine)
inherited
agxDriveTrain::deprecated::DriveTrainComponent::AGXSTREAM_DECLARE_ABSTRACT_SERIALIZABLE ( agxDriveTrain::deprecated::DriveTrainComponent  )
inherited
agxPowerLine::SubGraph::AGXSTREAM_DECLARE_ABSTRACT_SERIALIZABLE ( agxPowerLine::SubGraph  )
inherited
agxPowerLine::Unit::AGXSTREAM_DECLARE_ABSTRACT_SERIALIZABLE ( agxPowerLine::Unit  )
inherited
void agx::Referenced::allocateObserverVector ( ) const
protectedinherited
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(), and agx::InternalData::getOrCreate().

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

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

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

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

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

Clear the table mapping angular velocity ratio to torque multiplication.

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
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.
virtual bool agxPowerLine::Unit::connect ( agxPowerLine::Unit *  otherUnit)
virtualinherited

Connect the unit to another unit.

Parameters
otherUnit- another unit.
virtual bool agxPowerLine::Unit::connect ( agxPowerLine::Side  mySide,
agxPowerLine::Side  otherSide,
agxPowerLine::Unit *  other 
)
virtualinherited
void agxDriveTrain::deprecated::DriveTrainComponent::connectInternalConnector ( )
protectedinherited
static agx::Real agxPowerLine::RotationalUnit::convertAngularVelocityToRPM ( const agx::Real  angVel)
staticinherited

Convert between m/s and rpm.

static agx::Real agxPowerLine::RotationalUnit::convertRPMtoAngularVelocity ( const agx::Real  rpm)
staticinherited
static agxStream::Serializable* agxDriveTrain::deprecated::HighLevelTorqueConverter::create ( )
inlinestatic

Definition at line 107 of file HighLevelDriveTrain.h.

static agxStream::Serializable* agxDriveTrain::deprecated::HighLevelTorqueConverter::create ( agxStream::InputArchive &  )
inlinestatic

Definition at line 107 of file HighLevelDriveTrain.h.

void agx::Referenced::deleteUsingDeleteHandler ( ) const
protectedinherited
virtual bool agxPowerLine::Unit::disconnect ( agxPowerLine::Unit *  unit)
virtualinherited
void agxPowerLine::Unit::disconnectAll ( )
inherited
void agxStream::Serializable::generateUuid ( )
protectedinherited
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.
const agxPowerLine::PhysicalDimension* agxPowerLine::Unit::getActiveDimension ( size_t  index) const
inherited
agx::Real agxPowerLine::RotationalUnit::getAngularVelocity ( ) const
inherited

returns the number of radians per second

const char* agxDriveTrain::deprecated::HighLevelTorqueConverter::getClassName ( ) const
inlineoverridevirtual
Returns
the class name of this class.

Reimplemented from agxDriveTrain::deprecated::TorqueConverterTable.

Definition at line 107 of file HighLevelDriveTrain.h.

virtual agxPowerLine::DimensionAndSide agxDriveTrain::deprecated::DriveTrainComponent::getConnectableDimension ( agxPowerLine::PhysicalDimension::Type  type,
agxPowerLine::Side  side 
)
overridevirtualinherited
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::Unit.

virtual void agxDriveTrain::deprecated::DriveTrainComponent::getConnectableDimensionTypes ( agxPowerLine::PhysicalDimension::TypeVector &  types,
agxPowerLine::Side  side 
) const
overridevirtualinherited

Reimplemented from agxPowerLine::Unit.

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.
agxPowerLine::PhysicalDimension* agxPowerLine::Unit::getConnectableOutputDimension ( agxPowerLine::PhysicalDimension::Type  type)
inherited
void agxPowerLine::Unit::getConnectedUnits ( UnitPtrSetVector &  result,
agxPowerLine::Side  side 
)
inherited
virtual agxPowerLine::Connector* agxDriveTrain::deprecated::DriveTrainComponent::getConnector ( )
virtualinherited
virtual const agxPowerLine::Connector* agxDriveTrain::deprecated::DriveTrainComponent::getConnector ( ) const
virtualinherited
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.
size_t agxPowerLine::Unit::getConnectors ( agxPowerLine::ConnectorPtrVector &  result) const
inherited
virtual void agxDriveTrain::deprecated::DriveTrainComponent::getConnectorsRecursive ( agxPowerLine::ConnectorPtrVector &  connectors)
overridevirtualinherited

Fill the given vector with the Connectors that are held by this SubGraph.

The collection is recursive, so internal Connectors will be collected.

Reimplemented from agxPowerLine::SubGraph.

static const char* agxDriveTrain::deprecated::HighLevelTorqueConverter::getConstructClassId ( )
inlinestatic

Definition at line 107 of file HighLevelDriveTrain.h.

agx::Real agxDriveTrain::deprecated::TorqueConverterTable::getCurrentEfficiency ( ) const
inherited
agx::Real agxDriveTrain::deprecated::TorqueConverterTable::getCurrentMultiplication ( ) const
inherited

Return the torque multiplication given the current state.

static DeleteHandler* agx::Referenced::getDeleteHandler ( )
staticprotectedinherited
Returns
a DeleteHandler.
virtual agx::Real agxPowerLine::RotationalUnit::getDeliveredTorque ( ) const
virtualinherited

returns the amount of torque delivered from the rotational dimension

agxPowerLine::PhysicalDimension* agxPowerLine::Unit::getDimension ( agxPowerLine::PhysicalDimension::Type  type)
inherited
Returns
The PhysicalDimension with the given type, or nullptr. Does not search internal Units.
const agxPowerLine::PhysicalDimension* agxPowerLine::Unit::getDimension ( agxPowerLine::PhysicalDimension::Type  type) const
inherited
const agxPowerLine::PhysicalDimensionRefVector& agxPowerLine::Unit::getDimensions ( ) const
inherited
Returns
A vector containing the PhysicalDimensions in this Unit, not including internal Units.
agxPowerLine::PhysicalDimensionRefVector& agxPowerLine::Unit::getDimensions ( )
inherited
virtual agx::Vec3 agxPowerLine::RotationalUnit::getDirection ( ) const
virtualinherited

returns a vector in world coordinates that defines the rotational axis of the rotational unit.

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

Definition at line 273 of file Serializable.h.

bool agxStream::Serializable::getEnableUuidGeneration ( )
inherited
Returns
true if Uuid:s should be generated for each new Serializable object
Connector* agxPowerLine::SubGraph::getEnclosingConnector ( )
inherited
const Connector* agxPowerLine::SubGraph::getEnclosingConnector ( ) const
inherited
SubGraph* agxPowerLine::SubGraph::getEnclosingGraph ( )
inherited
const SubGraph* agxPowerLine::SubGraph::getEnclosingGraph ( ) const
inherited
Unit* agxPowerLine::SubGraph::getEnclosingUnit ( )
inherited
const Unit* agxPowerLine::SubGraph::getEnclosingUnit ( ) const
inherited
Connector* agxPowerLine::Unit::getFirstInputConnector ( const agxPowerLine::Unit *  unit) const
inherited
Connector* agxPowerLine::Unit::getFirstOutputConnector ( const agxPowerLine::Unit *  unit) const
inherited
bool agxPowerLine::Unit::getIgnoreForStoreRestoreStream ( ) const
inherited
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.

virtual agx::Real agxDriveTrain::deprecated::DriveTrainComponent::getInertia ( ) const
overridevirtualinherited

Reimplemented from agxPowerLine::RotationalUnit.

size_t agxPowerLine::Unit::getInputConnectors ( const agxPowerLine::Unit *  unit,
agxPowerLine::ConnectorPtrVector &  result 
)
inherited
size_t agxPowerLine::Unit::getInputConnectors ( agxPowerLine::ConnectorPtrVector &  result) const
inherited
const agxDriveTrain::Shaft* agxDriveTrain::deprecated::DriveTrainComponent::getInputShaft ( ) const
inherited
const agxPowerLine::ConnectorRefVector& agxPowerLine::SubGraph::getInternalConnectors ( ) const
inherited
const agxPowerLine::UnitRefVector& agxPowerLine::SubGraph::getInternalUnits ( ) const
inherited
agx::Real agxDriveTrain::deprecated::TorqueConverterTable::getMaxMultiplication ( ) const
inherited
Returns
the maximum multiplication of the torque converter.
agx::Real agxDriveTrain::deprecated::HighLevelTorqueConverter::getMu ( ) const
Returns
the current torque multiplication.
const agxPowerLine::LinearLookupTable* agxDriveTrain::deprecated::TorqueConverterTable::getMuTable ( ) const
inherited

Return pointer to table mapping angular velocity ratio to torque multiplication.

const agx::Name& agxPowerLine::SubGraph::getName ( ) const
inherited
Returns
The name of this power line component.
agx::Real agxDriveTrain::deprecated::HighLevelTorqueConverter::getNu ( ) const
Returns
the current speed ratio between the turbine and the pump.
size_t agxPowerLine::Unit::getNumActiveDimensions ( ) const
inherited

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

virtual size_t agxPowerLine::Unit::getNumConnectableDimensions ( Side  side) const
virtualinherited
Returns
The number of connectable PhysicalDimensions in this Unit, including internal.
size_t agxPowerLine::Unit::getNumConnections ( ) const
inherited
size_t agxPowerLine::Unit::getOutputConnectors ( const agxPowerLine::Unit *  unit,
agxPowerLine::ConnectorPtrVector &  result 
)
inherited
size_t agxPowerLine::Unit::getOutputConnectors ( agxPowerLine::ConnectorPtrVector &  result) const
inherited
const agxDriveTrain::Shaft* agxDriveTrain::deprecated::DriveTrainComponent::getOutputShaft ( ) const
inherited
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.

void agxPowerLine::Unit::getOwnConnectedUnits ( UnitPtrSetVector &  unitSet,
agxPowerLine::Side  side,
bool  startFromCleanUnitSet = true 
) const
inherited
agxPowerLine::PowerLine* agxPowerLine::Unit::getPowerLine ( ) const
inherited
agx::Real agxDriveTrain::deprecated::HighLevelTorqueConverter::getPumpRPM ( ) const
Returns
the rpm of the pump
agx::Real agxDriveTrain::deprecated::HighLevelTorqueConverter::getPumpTorque ( ) const
Returns
the torque delivered by the pump
agx::Real agxDriveTrain::deprecated::TorqueConverterTable::getPumpTorqueReferenceRPM ( ) const
inherited
Returns
the reference RPM used for the pump torque table.
const agxPowerLine::LinearLookupTable* agxDriveTrain::deprecated::TorqueConverterTable::getPumpTorqueTable ( ) const
inherited
Returns
pointer to the pump torque table.
agxPowerLine::LinearLookupTable* agxDriveTrain::deprecated::TorqueConverterTable::getPumpTorqueTable ( )
inherited
int agx::Referenced::getReferenceCount ( ) const
inherited
Returns
the number pointers currently referencing this object.
agxPowerLine::Unit* agxPowerLine::Unit::getRoot ( ) const
inherited
SubGraph* agxPowerLine::SubGraph::getRootEnclosingGraph ( )
inherited
const SubGraph* agxPowerLine::SubGraph::getRootEnclosingGraph ( ) const
inherited
agxPowerLine::RotationalDimension* agxPowerLine::RotationalUnit::getRotationalDimension ( ) const
inherited

returns a pointer to the rotational dimension

agxPowerLine::RotationalDimension* agxDriveTrain::deprecated::DriveTrainComponent::getRotationalDimension ( agxPowerLine::Side  side)
inherited
const agxPowerLine::RotationalDimension* agxDriveTrain::deprecated::DriveTrainComponent::getRotationalDimension ( agxPowerLine::Side  side) const
inherited
agx::Real agxPowerLine::RotationalUnit::getRPM ( ) const
inherited

returns the number of revolutions per minute

agxPowerLine::Side agxPowerLine::Unit::getSide ( const Connector *  connector) const
inherited
agxStream::StorageAgent* agxDriveTrain::deprecated::HighLevelTorqueConverter::getStorageAgent ( ) const
inlineoverridevirtual
Returns
the storage agent

Reimplemented from agxDriveTrain::deprecated::TorqueConverterTable.

Definition at line 107 of file HighLevelDriveTrain.h.

agx::Real agxDriveTrain::deprecated::HighLevelTorqueConverter::getTurbineRPM ( ) const
Returns
the rpm of the turbine.
agx::Real agxDriveTrain::deprecated::HighLevelTorqueConverter::getTurbineTorque ( ) const
Returns
the torque delivered by the turbine.
virtual void agxDriveTrain::deprecated::DriveTrainComponent::getUnitsRecursive ( agxPowerLine::UnitPtrVector &  units)
overridevirtualinherited

Fill the given vector with the Units that are held by this SubGraph.

The collection is recursive, so internal Units will be collected.

Reimplemented from agxPowerLine::SubGraph.

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

Definition at line 268 of file Serializable.h.

agx::Real agxDriveTrain::deprecated::TorqueConverterTable::getWantedEfficiency ( ) const
inherited
bool agxPowerLine::Unit::hasConnector ( const Connector *  connector) const
inherited
virtual bool agxPowerLine::Unit::hasValidInputConnection ( ) const
protectedvirtualinherited

returns if it is possible to connect to this unit

void agxDriveTrain::deprecated::TorqueConverterTable::insertNuMuLookupValue ( agx::Real  nu,
agx::Real  mu 
)
inherited

Insert value in the table mapping angular velocity ratio to torque multiplication.

template<typename T >
bool agx::Referenced::is ( ) const
inherited
virtual bool agxPowerLine::Unit::isConnected ( agxPowerLine::Unit *  otherUnit) const
virtualinherited
Returns
true if this is connected the other through a connector
bool agxPowerLine::SubGraph::isEnclosedWithin ( const SubGraph *  component) const
inherited
Returns
True if this component is enclosed within the given component.
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.

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

Reimplemented in agxDriveTrain::ElectricMotor.

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

Reimplemented in agxDriveTrain::ElectricMotor.

virtual bool agxPowerLine::RotationalUnit::postUpdate ( agx::Real  timeStep)
overridevirtualinherited

Reimplemented from agxPowerLine::SubGraph.

virtual void agxPowerLine::SubGraph::prepareForRestore ( )
virtualinherited
virtual void agxPowerLine::SubGraph::prepareForStore ( )
virtualinherited
virtual bool agxDriveTrain::Shaft::preUpdate ( agx::Real  timeStep)
overridevirtualinherited

Functions called by a static function.

Do NOT use.

Reimplemented from agxPowerLine::RotationalUnit.

Reimplemented in agxDriveTrain::PidControlledEngine, agxDriveTrain::deprecated::GearBox, agxDriveTrain::deprecated::FixedGear, and agxDriveTrain::Engine.

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.

Referenced by agxData::Val< UInt >::Val().

void agxPowerLine::SubGraph::removeInternalConnector ( agxPowerLine::Connector *  connector)
protectedinherited
void agxPowerLine::SubGraph::removeInternalUnit ( agxPowerLine::Unit *  unit)
protectedinherited
virtual bool agxPowerLine::SubGraph::removeNotification ( agxUtil::ConstraintHolder *  holder,
agxSDK::Simulation *  simulation 
)
pure virtualinherited
void agxPowerLine::Unit::removeNotification ( agxPowerLine::PowerLine *  powerLine)
inherited
bool agxDriveTrain::deprecated::DriveTrainComponent::replaceConnector ( agxPowerLine::Connector *  connector)
protectedinherited
agx::Bool agxPowerLine::SubGraph::replaceInternalUnit ( agxPowerLine::Unit *  oldUnit,
agxPowerLine::Unit *  newUnit 
)
protectedinherited
virtual bool agxDriveTrain::deprecated::HighLevelTorqueConverter::restore ( agxStream::StorageStream &  str)
overridevirtual

Restores internal data from stream.

Reimplemented from agxDriveTrain::deprecated::TorqueConverterTable.

virtual void agxDriveTrain::deprecated::HighLevelTorqueConverter::restore ( agxStream::InputArchive &  in)
overridevirtual
void agxPowerLine::Unit::restorePre46 ( agxStream::InputArchive &  in)
protectedinherited
void agxPowerLine::RotationalUnit::setAngularVelocityDamping ( agx::Real  damping)
inherited

set the angular velocity damping around the local axis (direction)

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

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

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.

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.

void agxStream::Serializable::setFinished ( )
inherited

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

virtual void agxDriveTrain::deprecated::DriveTrainComponent::setInertia ( agx::Real  inertia)
overridevirtualinherited

set the inertia for the rotational dimension of the rotational unit.

Reimplemented from agxPowerLine::RotationalUnit.

void agxDriveTrain::deprecated::TorqueConverterTable::setMaxMultiplication ( agx::Real  maxMultiplication)
inherited

When the efficiency goes to zero, the torque multiplication goes to infinity set/get the largest possible multiplication.

void agxDriveTrain::deprecated::TorqueConverterTable::setMuTable ( agx::Vector< std::pair< agx::Real, agx::Real > > const &  nu_to_mu)
inherited

Set table mapping velocity ratio to torque multiplication.

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

Set the name of this power line component.

Parameters
name- The new name.
void agxPowerLine::Unit::setPowerLine ( PowerLine *  powerLine)
protectedinherited

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

void agxDriveTrain::deprecated::TorqueConverterTable::setPumpTorqueReferenceRPM ( agx::Real  rpm)
inherited

Set the pump torque reference rpm for the table.

The pump torque values are set given a reference rpm. For other rpm's the pump load torque is found from the following formula: T_rpm(nu) = T_referenceRpm(nu) * (rpm/referenceRPm)^2

void agxDriveTrain::deprecated::TorqueConverterTable::setPumpTorqueTable ( agx::Vector< std::pair< agx::Real, agx::Real > > const &  nu_torques)
inherited

Set the pump torque table.

At a given ratio between pump and turbine rpms (nu) the pump load will be possible to calculate from tabulated value at a fixed pump rpm (usually 1000rpm).

void agxPowerLine::Unit::setRoot ( agxPowerLine::Unit *  root)
inherited
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!

void agxPowerLine::SubGraph::spreadPowerLineToGraph ( )
inherited
void agxPowerLine::Unit::spreadRootToGraph ( )
inherited
virtual bool agxDriveTrain::deprecated::HighLevelTorqueConverter::store ( agxStream::StorageStream &  str) const
overridevirtual

Stores internal data into stream.

Reimplemented from agxDriveTrain::deprecated::TorqueConverterTable.

virtual void agxDriveTrain::deprecated::HighLevelTorqueConverter::store ( agxStream::OutputArchive &  out) const
overridevirtual
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.

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.

template<typename T >
static bool agx::Referenced::ValidateCast ( const Referenced *  object)
staticinherited
virtual bool agxPowerLine::Unit::vetoConnect ( agxPowerLine::Connector *  connector) const
virtualinherited

Member Data Documentation

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

Definition at line 326 of file Unit.h.

agxPowerLine::ConnectorRef agxDriveTrain::deprecated::DriveTrainComponent::m_connector
protectedinherited

Definition at line 96 of file DriveTrainComponents.h.

PhysicalDimensionRefVector agxPowerLine::Unit::m_dimensions
protectedinherited

Definition at line 324 of file Unit.h.

SubGraphObserver agxPowerLine::SubGraph::m_enclosingGraph
protectedinherited

Definition at line 162 of file SubGraph.h.

bool agxPowerLine::Unit::m_ignoreMeForStoreRestoreStream
protectedinherited

Definition at line 328 of file Unit.h.

agxDriveTrain::ShaftRef agxDriveTrain::deprecated::DriveTrainComponent::m_inputShaft
protectedinherited

Definition at line 95 of file DriveTrainComponents.h.

ConnectorRefVector agxPowerLine::SubGraph::m_internalConnectors
protectedinherited

Definition at line 164 of file SubGraph.h.

UnitRefVector agxPowerLine::SubGraph::m_internalUnits
protectedinherited

Definition at line 163 of file SubGraph.h.

Mutex agx::Referenced::m_mutex
mutableprotectedinherited

Definition at line 240 of file Referenced.h.

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

Definition at line 166 of file SubGraph.h.

ObserverContainer agx::Referenced::m_observers
mutableprotectedinherited

Definition at line 239 of file Referenced.h.

PowerLine* agxPowerLine::SubGraph::m_powerLine
protectedinherited

Definition at line 165 of file SubGraph.h.

AtomicValue agx::Referenced::m_refCount
mutableprotectedinherited

Definition at line 241 of file Referenced.h.

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

Definition at line 330 of file Unit.h.

RotationalDimensionRef agxPowerLine::RotationalUnit::m_rotationalDimension
protectedinherited

Definition at line 108 of file RotationalUnit.h.

agxDriveTrain::deprecated::TorqueConverterRef agxDriveTrain::deprecated::TorqueConverterTable::m_torqueConverterConnector
protectedinherited

Definition at line 193 of file DriveTrainComponents.h.


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