47 virtual bool postUpdate(
agx::Real timeStep)
override;
57 void setAccumulatedAngle(
agx::Real angle);
62 virtual bool preUpdate(
agx::Real timeStep)
override;
A rotational unit has one degree of freedom.
#define AGX_DECLARE_POINTER_TYPES(type)
A Shaft is the most basic PowerLine Unit.
A library of agxPowerLine components designed to model the various parts of a vehicle drive train...
virtual bool store(agxStream::StorageStream &str) const override
Stores internal data into stream.
agx::Real m_accumulatedAngle
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...
virtual bool restore(agxStream::StorageStream &str) override
Restores internal data from stream.