17 #ifndef AGXPOWERLINE_ACTUATOR_UNIT_H
18 #define AGXPOWERLINE_ACTUATOR_UNIT_H
31 namespace agxPowerLine
35 class ActuatorBodyUnit;
38 namespace agxPowerLine
151 const Actuator* getActuator()
const;
154 bool isInputAndOutput()
const;
196 #endif // AGXMODEL_ACTUATOR_UNIT_H
virtual ~ActuatorTranslationalDimension()
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...
virtual agx::RigidBody * getBody() override
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...
agx::ref_ptr< ActuatorBodyUnit > ActuatorBodyUnitRef
agx::RigidBody * getBody() override
The base class for a constraint.
virtual bool store(agxStream::StorageStream &str) const override
Stores internal data into stream.
virtual bool store(agxStream::StorageStream &str) const override
Stores internal data into stream.
bool restore(agxStream::StorageStream &str)
Templated three dimensional dimension state.
virtual ~ActuatorDimension()=0
The rotational has one rotational degree of freedom.
agx::observer_ptr< ActuatorBodyUnit > m_actuatorBodyUnit
void setActuatorBodyUnit(ActuatorBodyUnit *actuatorBodyUnit)
virtual bool restore(agxStream::StorageStream &str) override
Restores internal data from stream.
virtual agxPowerLine::detail::AbstractDimensionState3Dof * getDimensionState()=0
virtual agxPowerLine::detail::AbstractDimensionState3Dof * getDimensionState() override
agx::ref_ptr< ActuatorTranslationalDimension > m_translationalDimension
Smart pointer for handling referenced counted objects.
An ActuatorBodyUnit forms a connection between the power line world and the rest of the simulation...
The rigid body class, combining a geometric model and a frame of reference.
virtual agx::RigidBody * getBody()=0
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...
Class for writing serialized data in binary format to a stream.
agxPowerLine::detail::Translational3DofState * getTranslationalDimensionState()
agx::observer_ptr< Actuator > m_actuator
virtual bool restore(agxStream::StorageStream &str) override
Restores internal data from stream.
agx::ref_ptr< ActuatorRotationalDimension > m_rotationalDimension
agxPowerLine::detail::Rotational3DofState * getRotationalDimensionState()
virtual ~ActuatorRotationalDimension()
virtual agxPowerLine::detail::AbstractDimensionState3Dof * getDimensionState() override
Base class for the two three dimensional dimension state classes.
bool store(agxStream::StorageStream &str) const
const ActuatorBodyUnit * getActuatorBodyUnit() const