SEAdvanceHandler.h
1/* Distributed under the Apache License, Version 2.0.
2 See accompanying NOTICE file for details.*/
3
4#pragma once
6
7class CDM_DECL SEAdvanceHandler
8{
9public:
10 SEAdvanceHandler() { m_OnStabilization = false; }
11 SEAdvanceHandler(bool on_stabilization) { m_OnStabilization = on_stabilization; }
12 virtual ~SEAdvanceHandler(){};
13
14 bool OnForStabilization() { return m_OnStabilization; }
15 virtual void SetStabilizationCallback(bool b){ m_OnStabilization = b; }
16 virtual void OnAdvance(double time_s)=0;
17
18protected:
19 bool m_OnStabilization;// Tell the engine to call this handler during stabilization
20};
Definition: PhysiologyEngine.h:68
Definition: SEAdvanceHandler.h:8
virtual void OnAdvance(double time_s)=0
SEAdvanceHandler(bool on_stabilization)
Definition: SEAdvanceHandler.h:11
virtual void SetStabilizationCallback(bool b)
Definition: SEAdvanceHandler.h:15
bool m_OnStabilization
Definition: SEAdvanceHandler.h:19
SEAdvanceHandler()
Definition: SEAdvanceHandler.h:10
bool OnForStabilization()
Definition: SEAdvanceHandler.h:14
virtual ~SEAdvanceHandler()
Definition: SEAdvanceHandler.h:12

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.