From 29de76e9beac2a8e7ffcd1ccba07a927df1f2bcc Mon Sep 17 00:00:00 2001 From: Jonathan Aillet Date: Mon, 9 Apr 2018 09:02:52 +0200 Subject: Add saving of diagnostic messages information Add saving of diagnostic messages receive state, last value, and timestamp associated to it. Add methods to get/set these information. Add initialisation for added atributes. Add boolean to set receive state at initialisation. Generate all 'diagnostic-message.cpp' containing diagnostic messages to add receive state initialisation. Bug-AGL: SPEC-1347 Change-Id: Iee82ca3b5f79fd267717ae074d5456b8cbc1c377 Signed-off-by: Jonathan Aillet --- examples/basic/application-generated.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'examples/basic') diff --git a/examples/basic/application-generated.cpp b/examples/basic/application-generated.cpp index 88ee94b9..1cdf67c3 100644 --- a/examples/basic/application-generated.cpp +++ b/examples/basic/application-generated.cpp @@ -145,7 +145,8 @@ application_t::application_t() 1.00000f, handleObd2Pid, nullptr, - true + true, + false })} , {std::make_shared(diagnostic_message_t{ 12, @@ -156,7 +157,8 @@ application_t::application_t() 1.00000f, nullptr, nullptr, - true + true, + false })} , {std::make_shared(diagnostic_message_t{ 6, @@ -167,7 +169,8 @@ application_t::application_t() 1.00000f, handleMyDiagRequest, nullptr, - true + true, + false })} } // end diagnostic_messages_ vector -- cgit 1.2.3-korg