AGX Dynamics 2.42.3.1
Loading...
Searching...
No Matches
EngineDampingUpdater.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#pragma once
19
22
23
24namespace agxDriveTrain
25{
26
28
38 {
39 public:
41 virtual void pre(const agx::TimeStamp&) override;
42 virtual void post(const agx::TimeStamp&) override;
43
45
46 protected:
49
50 private:
52 agx::Real m_defaultMass;
53 };
54}
55
#define AGX_DECLARE_POINTER_TYPES(type)
Definition: Referenced.h:254
#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
The engine provided by the power line implementation is based on Euler integration and is unstable in...
virtual void pre(const agx::TimeStamp &) override
Called before a step is taken in the simulation Implement this method in the derived class to get cal...
virtual void post(const agx::TimeStamp &) override
Called after a step is taken in the simulation Implement this method in the derived class to get call...
EngineDampingUpdater(agxDriveTrain::Engine *engine)
An engine that is driven by an EnginePowerGenerator.
Definition: Engine.h:88
Derive from this class to implement a listener for simulation step events.
A library of agxPowerLine components designed to model the various parts of a vehicle drive train.
double Real
Definition: Real.h:41
agx::Real TimeStamp
Definition: TimeStamp.h:26