MCPcopy Create free account
hub / github.com/ange-yaghi/engine-sim / IgnitionModule

Method IgnitionModule

src/ignition_module.cpp:9–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7#include <cmath>
8
9IgnitionModule::IgnitionModule() {
10 m_plugs = nullptr;
11 m_crankshaft = nullptr;
12 m_timingCurve = nullptr;
13 m_cylinderCount = 0;
14 m_lastCrankshaftAngle = 0.0;
15 m_enabled = false;
16 m_revLimitTimer = 0.0;
17 m_revLimit = 0;
18 m_limiterDuration = 0;
19}
20
21IgnitionModule::~IgnitionModule() {
22 assert(m_plugs == nullptr);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected