AGX Dynamics 2.41.3.2
Loading...
Searching...
No Matches
PressureConnector.h
Go to the documentation of this file.
1/*
2Copyright 2007-2025. Algoryx Simulation AB.
3
4All AGX source code, intellectual property, documentation, sample code,
5tutorials, scene files and technical white papers, are copyrighted, proprietary
6and confidential material of Algoryx Simulation AB. You may not download, read,
7store, distribute, publish, copy or otherwise disseminate, use or expose this
8material unless having a written signed agreement with Algoryx Simulation AB, or having been
9advised so by Algoryx Simulation AB for a time limited evaluation, or having purchased a
10valid commercial license from Algoryx Simulation AB.
11
12Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
13from using this software, unless otherwise stated in written agreements with
14Algoryx Simulation AB.
15*/
16
17
18
19#ifndef AGXHYDRAULICS_PRESSURE_CONNECTOR_H
20#define AGXHYDRAULICS_PRESSURE_CONNECTOR_H
21
22#include <agx/Real.h>
25
26
27namespace agxHydraulics
28{
31
37 {
38 public:
42 virtual agx::Real getPressure() const = 0;
43
44
45 // Methods called by the rest of the PowerLine/Hydraulics frame work.
46 public:
47#ifndef SWIG
51 virtual bool store(agxStream::StorageStream& str) const;
52
54
59
61#endif
62 protected:
65
66 };
67}
68
69
70#endif
#define AGX_DECLARE_POINTER_TYPES(type)
Definition: Referenced.h:254
#define AGXHYDRAULICS_EXPORT
#define AGX_DECLARE_VECTOR_TYPES(type)
Definition: agx/Vector.h:34
The PressureConnector is an abstract base class for all Connectors that has a pressure.
virtual bool restore(agxStream::StorageStream &str)
Restores internal data from stream.
virtual agx::Real getPressure() const =0
virtual bool store(agxStream::StorageStream &str) const
Stores internal data into stream.
Links two connections together.
Definition: Connector.h:53
virtual bool store(agxStream::StorageStream &str) const override
Stores internal data for this segment into stream.
virtual bool restore(agxStream::StorageStream &str) override
Restores internal data from stream.
Abstract base class for storing/restoring a line/drums with version control.
Definition: StorageStream.h:49
The agxHydraulics namespace contains classes for modeling hydraulic circuits within the power line fr...
Definition: Accumulator.h:28
double Real
Definition: Real.h:42