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 --- low-can-binding/binding/application-generated.cpp | 63 +++++++++++++++-------- 1 file changed, 42 insertions(+), 21 deletions(-) (limited to 'low-can-binding/binding') diff --git a/low-can-binding/binding/application-generated.cpp b/low-can-binding/binding/application-generated.cpp index 876b95b9..9ec8fb33 100644 --- a/low-can-binding/binding/application-generated.cpp +++ b/low-can-binding/binding/application-generated.cpp @@ -384,7 +384,8 @@ application_t::application_t() 5.00000f, decoder_t::decode_obd2_response, nullptr, - true + true, + false })} , {std::make_shared(diagnostic_message_t{ 5, @@ -395,7 +396,8 @@ application_t::application_t() 1.00000f, decoder_t::decode_obd2_response, nullptr, - true + true, + false })} , {std::make_shared(diagnostic_message_t{ 10, @@ -406,7 +408,8 @@ application_t::application_t() 1.00000f, decoder_t::decode_obd2_response, nullptr, - true + true, + false })} , {std::make_shared(diagnostic_message_t{ 11, @@ -417,7 +420,8 @@ application_t::application_t() 1.00000f, decoder_t::decode_obd2_response, nullptr, - true + true, + false })} , {std::make_shared(diagnostic_message_t{ 12, @@ -428,7 +432,8 @@ application_t::application_t() 5.00000f, decoder_t::decode_obd2_response, nullptr, - true + true, + false })} , {std::make_shared(diagnostic_message_t{ 13, @@ -439,7 +444,8 @@ application_t::application_t() 5.00000f, decoder_t::decode_obd2_response, nullptr, - true + true, + false })} , {std::make_shared(diagnostic_message_t{ 15, @@ -450,7 +456,8 @@ application_t::application_t() 1.00000f, decoder_t::decode_obd2_response, nullptr, - true + true, + false })} , {std::make_shared(diagnostic_message_t{ 16, @@ -461,7 +468,8 @@ application_t::application_t() 5.00000f, decoder_t::decode_obd2_response, nullptr, - true + true, + false })} , {std::make_shared(diagnostic_message_t{ 17, @@ -472,7 +480,8 @@ application_t::application_t() 5.00000f, decoder_t::decode_obd2_response, nullptr, - true + true, + false })} , {std::make_shared(diagnostic_message_t{ 31, @@ -483,7 +492,8 @@ application_t::application_t() 1.00000f, decoder_t::decode_obd2_response, nullptr, - true + true, + false })} , {std::make_shared(diagnostic_message_t{ 45, @@ -494,7 +504,8 @@ application_t::application_t() 0.00000f, decoder_t::decode_obd2_response, nullptr, - true + true, + false })} , {std::make_shared(diagnostic_message_t{ 47, @@ -505,7 +516,8 @@ application_t::application_t() 1.00000f, decoder_t::decode_obd2_response, nullptr, - true + true, + false })} , {std::make_shared(diagnostic_message_t{ 51, @@ -516,7 +528,8 @@ application_t::application_t() 1.00000f, decoder_t::decode_obd2_response, nullptr, - true + true, + false })} , {std::make_shared(diagnostic_message_t{ 70, @@ -527,7 +540,8 @@ application_t::application_t() 1.00000f, decoder_t::decode_obd2_response, nullptr, - true + true, + false })} , {std::make_shared(diagnostic_message_t{ 76, @@ -538,7 +552,8 @@ application_t::application_t() 1.00000f, decoder_t::decode_obd2_response, nullptr, - true + true, + false })} , {std::make_shared(diagnostic_message_t{ 82, @@ -549,7 +564,8 @@ application_t::application_t() 1.00000f, decoder_t::decode_obd2_response, nullptr, - true + true, + false })} , {std::make_shared(diagnostic_message_t{ 90, @@ -560,7 +576,8 @@ application_t::application_t() 5.00000f, decoder_t::decode_obd2_response, nullptr, - true + true, + false })} , {std::make_shared(diagnostic_message_t{ 91, @@ -571,7 +588,8 @@ application_t::application_t() 5.00000f, decoder_t::decode_obd2_response, nullptr, - true + true, + false })} , {std::make_shared(diagnostic_message_t{ 92, @@ -582,7 +600,8 @@ application_t::application_t() 1.00000f, decoder_t::decode_obd2_response, nullptr, - true + true, + false })} , {std::make_shared(diagnostic_message_t{ 94, @@ -593,7 +612,8 @@ application_t::application_t() 1.00000f, decoder_t::decode_obd2_response, nullptr, - true + true, + false })} , {std::make_shared(diagnostic_message_t{ 99, @@ -604,7 +624,8 @@ application_t::application_t() 1.00000f, decoder_t::decode_obd2_response, nullptr, - true + true, + false })} } // end diagnostic_messages_ vector -- cgit 1.2.3-korg