18 #ifndef AGXHYDRAULIC_STOP_VALVE_H 19 #define AGXHYDRAULIC_STOP_VALVE_H 65 void setState(
State state);
70 State getState()
const;
85 virtual bool preUpdate(
agx::Real timeStep)
override;
102 void setAllowedDirection(
State state);
105 State getAllowedDirection() const;
108 const
agxHydraulics::FlowBlockConstraint* getFlowBlockConstraint() const;
112 virtual ~StopValve() {}
113 void updateFlowDirection();
116 agxHydraulics::FlowBlockConstraintRef m_flowBlockConstraint;
Utility class to hold custom implementations of constraints.
State
The two states that a StopValve can be in.
#define AGX_DECLARE_POINTER_TYPES(type)
#define AGXHYDRAULICS_FLOWDIRECTION_BOTH
A stop valve is either completely open or completely closed.
#define AGXHYDRAULICS_FLOWDIRECTION_NONE
#define AGXHYDRAULICS_EXPORT
The agxHydraulics namespace contains classes for modeling hydraulic circuits within the power line fr...
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...
Simulation is a class that bridges the collision space agxCollide::Space and the dynamic simulation s...
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
FlowUnit is the base class for Units that contains a FlowDimension.