AGX Dynamics  2.37.3.2
HighLevelDriveTrain.h
Go to the documentation of this file.
1 /*
2 Copyright 2007-2024. 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 #ifndef AGXMODEL_HIGH_LEVEL_DRIVE_TRAIN_H
18 #define AGXMODEL_HIGH_LEVEL_DRIVE_TRAIN_H
19 
22 #include <list>
23 #include <vector>
24 
25 namespace agxDriveTrain
26 {
27 
28  namespace deprecated
29  {
30 
60  {
61  public:
66 
70  agx::Real getPumpTorque( ) const;
71 
75  agx::Real getPumpRPM( ) const;
76 
80  agx::Real getTurbineTorque( ) const;
81 
85  agx::Real getTurbineRPM( ) const;
86 
90  agx::Real getMu( ) const;
91 
95  agx::Real getNu( ) const;
96 
100  virtual bool store( agxStream::StorageStream& str ) const override;
101 
105  virtual bool restore( agxStream::StorageStream& str ) override;
106 
108  protected:
109  virtual ~HighLevelTorqueConverter( );
110  };
112 
113 
126  {
127  public:
131  HighLevelGearBox( );
132 
136  agx::Real getRPM( ) const;
137 
141  agx::Real getIncomingRPM( ) const;
142 
146  agx::Real getTorque( ) const;
147 
151  virtual bool store( agxStream::StorageStream& str ) const override;
152 
156  virtual bool restore( agxStream::StorageStream& str ) override;
157 
159  protected:
160  virtual ~HighLevelGearBox( );
161 
162  };
164 
170  {
171  public:
176 
180  agx::Real getDriveShaftRPM( ) const;
181 
186  agx::Real getOutputShaftRPM( size_t outputIndex ) const;
187 
188  const agxPowerLine::PhysicalDimension* getInputDimension( ) const;
189 
190  const agxPowerLine::PhysicalDimension* getOutputDimension( size_t index ) const;
191 
192 
196  agx::Real getDriveShaftTorque( ) const;
197 
202  agx::Real getOutputShaftTorque( size_t outputIndex ) const;
203 
207  agx::Real getLeftTorque( ) const;
208 
212  agx::Real getRightTorque( ) const;
213 
217  virtual bool store( agxStream::StorageStream& str ) const override;
218 
222  virtual bool restore( agxStream::StorageStream& str ) override;
223 
225  protected:
226  virtual ~HighLevelDifferential( );
227  };
229  }
230 }
231 
232 #endif // AGXMODEL_HIGH_LEVEL_DRIVE_TRAIN_H
agx::ref_ptr< HighLevelTorqueConverter > HighLevelTorqueConverterRef
agx::ref_ptr< HighLevelDifferential > HighLevelDifferentialRef
A library of agxPowerLine components designed to model the various parts of a vehicle drive train...
agx::ref_ptr< HighLevelGearBox > HighLevelGearBoxRef
Smart pointer for handling referenced counted objects.
Definition: ref_ptr.h:29
The gear box can have an arbitrary number of gears.
The gear box can have an arbitrary number of gears.
Abstract base class for storing/restoring a line/drums with version control.
Definition: StorageStream.h:48
#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
Implementation of a torque converter (TQ) The characteristics of a real TQ is captured in two look up...
Base Torque converter for an automatic transmission.
#define AGXMODEL_EXPORT
double Real
Definition: Real.h:42
A differential for distributing the torque evenly between an arbitrary number of output shafts...
Definition: Differential.h:78