17 #ifndef AGXPOWERLINE_POWER_LINE_UTILS_H 18 #define AGXPOWERLINE_POWER_LINE_UTILS_H 34 class ConnectionOperations;
44 class PhysicalDimensionMultiBodyConstraintImplementation;
51 const std::string& dimensionName);
91 virtual agx::Real variableLookupFunction()
const;
209 virtual agx::Real getCurrentPowerTimeIntegral()
const;
215 virtual void applyPower() = 0;
220 virtual agx::Real variableLookupFunction( )
const = 0;
225 virtual agx::Real resultScalerFunction( )
const = 0;
270 bool isValid()
const;
301 virtual void clear();
327 #endif // AGXMODEL_POWER_LINE_UTILS_H agx::observer_ptr< Unit > UnitObserver
InputRef< T > in(const char *name, T &obj)
Create an object with a name and a reference to the object that should be restored (usually a pointer...
Links two connections together.
AGXTERRAIN_EXPORT void clear()
Linear interpolation between the inserted variable/value pairs.
OutputRef< Serializable > out(const char *name, const Serializable *obj)
Return an object that contain the name and the object that should be serialized to an archive...
Smart pointer for observed objects, that automatically set pointers to them to null when they deleted...
Linear interpolation between the inserted variable/value pairs.
PowerTimeIntegralLookupTableRef m_timeIntegralLookupTable
agxPowerLine contains a collection of connected components that transport power across a system...
Base class providing referencing counted objects.
agx::observer_ptr< PhysicalDimension > m_dimension
This class is a combined container which has the find complexity of a HashTable, deterministic iterat...
PowerGeneratorObserver m_generator
A lookup table used for power time integral (torque for rotational power, force for translational pow...
agx::ref_ptr< Unit > UnitRef
Return a value of y given any value of x.
PhysicalDimension * m_dimension
agx::ref_ptr< PowerTimeIntegralLookupTable > PowerTimeIntegralLookupTableRef
Smart pointer for handling referenced counted objects.
AGXMODEL_EXPORT agxPowerLine::PhysicalDimension::Type getDimensionType(const std::string &dimensionName)
Abstract base class for storing/restoring a line/drums with version control.
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
This class is an abstract base class for all classes that can be stored and retrieved from an Archive...
Class for writing serialized data in binary format to a stream.
Return a value of y given any value of x.
#define AGXSTREAM_DECLARE_ABSTRACT_SERIALIZABLE(T)
Use this in a pure abstract Serializable class to add the required methods Important: Use full namesp...
agx::HashVector< UnitRef, bool > UnitRefBoolHashVector
agx::ref_ptr< LinearLookupTable > LinearLookupTableRef
Will generate power by adding a load to a physical dimension.