AGX Dynamics  2.35.0.1
PumpConstraints.h
Go to the documentation of this file.
1 /*
2 Copyright 2007-2022. Algoryx Simulation AB.
3 
4 All AGX source code, intellectual property, documentation, sample code,
5 tutorials, scene files and technical white papers, are copyrighted, proprietary
6 and confidential material of Algoryx Simulation AB. You may not download, read,
7 store, distribute, publish, copy or otherwise disseminate, use or expose this
8 material unless having a written signed agreement with Algoryx Simulation AB, or having been
9 advised so by Algoryx Simulation AB for a time limited evaluation, or having purchased a
10 valid commercial license from Algoryx Simulation AB.
11 
12 Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
13 from using this software, unless otherwise stated in written agreements with
14 Algoryx Simulation AB.
15 */
16 
17 #pragma once
18 
20 #include <agxHydraulics/export.h>
21 
22 namespace agxHydraulics
23 {
25  namespace detail
26  {
35  {
36  public:
37  ElementaryPumpConstraint();
38  AGXSTREAM_DECLARE_SERIALIZABLE(agxHydraulics::detail::ElementaryPumpConstraint);
39 
40  protected:
41  virtual ~ElementaryPumpConstraint() {}
42  };
43 
44  typedef agx::ref_ptr<ElementaryPumpConstraint> ElementaryPumpConstraintRef;
45 
46 
47 
54  {
55  public:
56  PumpConstraintImplementation();
57  AGXSTREAM_DECLARE_SERIALIZABLE(agxHydraulics::detail::PumpConstraintImplementation);
58 
59  protected:
60  virtual ~PumpConstraintImplementation() {}
61  };
62  }
64 
65 }
66 
67 
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
Definition: Serializable.h:207
#define AGXHYDRAULICS_EXPORT
Elementary constraint for constraining an arbitrary number of ONE specific PhysicalDimension::Type.
Constraint implementation for constraining a number of physical dimensions of the same type.
Smart pointer for handling referenced counted objects.
Definition: ref_ptr.h:30
The agxHydraulics namespace contains classes for modeling hydraulic circuits within the power line fr...
Definition: Accumulator.h:28