AGX Dynamics  2.35.0.1
HighLevelDriveTrain.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 #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 
71 
76 
81 
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:
110  };
112 
113 
126  {
127  public:
132 
136  agx::Real getRPM( ) const;
137 
142 
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 
181 
186  agx::Real getOutputShaftRPM( size_t outputIndex ) const;
187 
189 
191 
192 
197 
202  agx::Real getOutputShaftTorque( size_t outputIndex ) const;
203 
208 
213 
217  virtual bool store( agxStream::StorageStream& str ) const override;
218 
222  virtual bool restore( agxStream::StorageStream& str ) override;
223 
225  protected:
227  };
229  }
230 }
231 
232 #endif // AGXMODEL_HIGH_LEVEL_DRIVE_TRAIN_H
#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 AGXMODEL_EXPORT
A differential for distributing the torque evenly between an arbitrary number of output shafts.
Definition: Differential.h:79
The gear box can have an arbitrary number of gears.
virtual bool store(agxStream::StorageStream &str) const override
Stores internal data into stream.
virtual bool restore(agxStream::StorageStream &str) override
Restores internal data from stream.
const agxPowerLine::PhysicalDimension * getOutputDimension(size_t index) const
agx::Real getOutputShaftRPM(size_t outputIndex) const
const agxPowerLine::PhysicalDimension * getInputDimension() const
agx::Real getOutputShaftTorque(size_t outputIndex) const
The gear box can have an arbitrary number of gears.
agx::Real getTorque() const
Get current load torque.
virtual bool restore(agxStream::StorageStream &str) override
Restores internal data from stream.
virtual bool store(agxStream::StorageStream &str) const override
Stores internal data into stream.
Implementation of a torque converter (TQ) The characteristics of a real TQ is captured in two look up...
virtual bool store(agxStream::StorageStream &str) const override
Stores internal data into stream.
virtual bool restore(agxStream::StorageStream &str) override
Restores internal data from stream.
Base Torque converter for an automatic transmission.
Abstract base class for storing/restoring a line/drums with version control.
Definition: StorageStream.h:49
Smart pointer for handling referenced counted objects.
Definition: ref_ptr.h:30
agx::ref_ptr< HighLevelTorqueConverter > HighLevelTorqueConverterRef
agx::ref_ptr< HighLevelGearBox > HighLevelGearBoxRef
agx::ref_ptr< HighLevelDifferential > HighLevelDifferentialRef
A library of agxPowerLine components designed to model the various parts of a vehicle drive train.
double Real
Definition: Real.h:42