18 #ifndef AGXPOWERLINE_ACTUATOR_CONNECTOR_H
19 #define AGXPOWERLINE_ACTUATOR_CONNECTOR_H
32 class PhysicalDimension;
#define AGX_DECLARE_POINTER_TYPES(type)
virtual bool getReverseOrder() const =0
Side getRelativeIndex(Side index) const
void store(agxStream::OutputArchive &out) const override
agx::observer_ptr< agxPowerLine::Actuator > m_actuator
void restore(agxStream::InputArchive &in) override
virtual bool store(agxStream::StorageStream &str) const override
Stores internal data into stream.
ActuatorConstraintImplementation * getActuatorConstraint()
agxPowerLine::Actuator * getActuator()
ActuatorConnector(agxPowerLine::Actuator *actuator)
AGXSTREAM_DECLARE_ABSTRACT_SERIALIZABLE(agxPowerLine::ActuatorConnector)
const agxPowerLine::Actuator * getActuator() const
virtual bool restore(agxStream::StorageStream &str) override
Restores internal data from stream.
virtual ~ActuatorConnector()
Links two connections together.
Class for writing serialized data in binary format to a stream.
Abstract base class for storing/restoring a line/drums with version control.
agxPowerLine contains a collection of connected components that transport power across a system.
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...
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.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.