From 8b3af0fccba13e4098590322975bbd475d3d4f9e Mon Sep 17 00:00:00 2001 From: Arthur Guyader Date: Thu, 7 Nov 2019 14:16:16 +0100 Subject: controller: Prepare project ot use the Controller Initialize an empty message_set to fill later when loading the Plugins Add the required method to be able to add a message_set Bug-AGL: SPEC-2988 Change-Id: I1dc784648f69832de8681184adaccbf5300f831d Signed-off-by: Romain Forlot --- low-can-binding/can/message-set.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'low-can-binding/can/message-set.hpp') diff --git a/low-can-binding/can/message-set.hpp b/low-can-binding/can/message-set.hpp index d54f27ac..eab4ed69 100644 --- a/low-can-binding/can/message-set.hpp +++ b/low-can-binding/can/message-set.hpp @@ -48,7 +48,12 @@ public: const std::vector >& messages_definition, const vect_ptr_diag_msg_t& diagnostic_messages); + int add_message_definition(std::shared_ptr msg_def); + int add_diagnostic_message(std::shared_ptr diag_msg); + vect_ptr_msg_def_t& get_messages_definition(); vect_ptr_signal_t get_all_signals() const; vect_ptr_diag_msg_t& get_diagnostic_messages(); + + uint8_t get_index() const; }; -- cgit 1.2.3-korg