18 #ifndef AGXHYDRAULIC_CHECK_VALVE_H
19 #define AGXHYDRAULIC_CHECK_VALVE_H
23 namespace agxHydraulics
62 void setAllowedDirection(AllowedDirection direction);
67 AllowedDirection getAllowedDirection()
const;
76 agxHydraulics::FlowBlockConstraint* getFlowBlockConstraint();
77 const agxHydraulics::FlowBlockConstraint* getFlowBlockConstraint()
const;
87 virtual
bool addNotification(agxSDK::Simulation* simulation) override;
106 virtual ~CheckValve() {}
112 void updateFlowDirection();
116 agxHydraulics::FlowBlockConstraintRef m_flowBlockConstraint;
120 AllowedDirection m_allowedDirection;
Utility class to hold custom implementations of constraints.
GLenum GLuint GLenum GLsizei length
#define AGX_DECLARE_POINTER_TYPES(type)
A check valve is a FlowUnit that only allows flow in one direction.
#define AGXHYDRAULICS_EXPORT
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 AGXHYDRAULICS_FLOWDIRECTION_BACKWARD
#define AGXHYDRAULICS_FLOWDIRECTION_FORWARD
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
FlowUnit is the base class for Units that contains a FlowDimension.