19 #ifndef AGXHYDRAULICS_DETAIL_SPOOL_VALVE_CONNECTOR_H
20 #define AGXHYDRAULICS_DETAIL_SPOOL_VALVE_CONNECTOR_H
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
#define AGXHYDRAULICS_EXPORT
A FlowConnector is a junction of a set of FlowUnits.
virtual bool connect(agxPowerLine::Side mySide, agxPowerLine::Side unitSide, agxPowerLine::Unit *unit) override
Connect the given unit to this FlowConnector.
Spool valves are used to dynamically redirect flow during a simulation.
virtual bool restore(agxStream::StorageStream &str) override
Restores internal data from stream.
bool internalConnect(agxPowerLine::Unit *unit, agxPowerLine::Side mySide, agxPowerLine::Side unitSide)
virtual bool vetoConnect(agxPowerLine::Unit *unit) const override
Will reject connections if the SpoolValveConnector is currently connected to an internal static FlowU...
virtual bool store(agxStream::StorageStream &str) const override
Stores internal data into stream.
virtual bool postRestore(agxStream::StorageStream &str) override
virtual bool connect(agxPowerLine::Side mySide, agxPowerLine::Side unitSide, agxPowerLine::Unit *unit) override
Does nothing and returns false.
virtual bool postStore(agxStream::StorageStream &str) const override
Set values of constraints.
virtual ~SpoolValveConnector()
bool isConnectedToInternalStaticFlowUnit() const
virtual agxPowerLine::PhysicalDimensionMultiBodyConstraintImplementation * createConstraint() override
virtual bool postStore(agxStream::StorageStream &str) const
Set values of constraints.
virtual bool postRestore(agxStream::StorageStream &str)
Constraint implementation for constraining a number of physical dimensions of the same type.
Abstract base class for storing/restoring a line/drums with version control.
The agxHydraulics namespace contains classes for modeling hydraulic circuits within the power line fr...