SEDynamicStabilizationPropertyConvergence.h
1/* Distributed under the Apache License, Version 2.0.
2 See accompanying NOTICE file for details.*/
3
4#pragma once
5class SEDataRequest;
7
9{
10 friend class PBEngine;//friend the serialization class
12protected:
14public:
16
17 bool Test(double time_s);
18
19 double GetPercentError() const { return m_Error; }
20 double GetLastPercentError() const { return m_LastError; }
21 double GetLastErrorTime_s() const { return m_LastErrorTime_s; }
22 double GetCurrentTarget() const { return m_Target; }
23 SEDataRequest& GetDataRequest() const { return m_DataRequest; }
24 bool IsOptional() const { return m_Optional; }
25 void SetOptional(bool b) { m_Optional = b; }
26
27 void TrackScalar(const SEScalar& s);
28 SEDataRequestScalar& GetDataRequestScalar();
29protected:
30
33
35 double m_Target;
36 double m_Error;
39 std::stringstream m_ss;
40};
Definition: Logger.h:23
Definition: Logger.h:71
Definition: PBEngine.h:31
Definition: SEDataRequest.h:18
Definition: SEEngineTracker.h:34
Definition: SEDynamicStabilizationEngineConvergence.h:10
Definition: SEDynamicStabilizationPropertyConvergence.h:9
void SetOptional(bool b)
Definition: SEDynamicStabilizationPropertyConvergence.h:25
double GetLastPercentError() const
Definition: SEDynamicStabilizationPropertyConvergence.h:20
double GetCurrentTarget() const
Definition: SEDynamicStabilizationPropertyConvergence.h:22
double m_Target
Definition: SEDynamicStabilizationPropertyConvergence.h:35
SEDataRequestScalar * m_DataRequestScalar
Definition: SEDynamicStabilizationPropertyConvergence.h:32
bool IsOptional() const
Definition: SEDynamicStabilizationPropertyConvergence.h:24
std::stringstream m_ss
Definition: SEDynamicStabilizationPropertyConvergence.h:39
double m_Error
Definition: SEDynamicStabilizationPropertyConvergence.h:36
double m_LastErrorTime_s
Definition: SEDynamicStabilizationPropertyConvergence.h:38
double m_LastError
Definition: SEDynamicStabilizationPropertyConvergence.h:37
SEDataRequest & GetDataRequest() const
Definition: SEDynamicStabilizationPropertyConvergence.h:23
SEDataRequest & m_DataRequest
Definition: SEDynamicStabilizationPropertyConvergence.h:31
double GetLastErrorTime_s() const
Definition: SEDynamicStabilizationPropertyConvergence.h:21
double GetPercentError() const
Definition: SEDynamicStabilizationPropertyConvergence.h:19
bool m_Optional
Definition: SEDynamicStabilizationPropertyConvergence.h:34
Definition: SEScalar.h:19

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.