diff options
author | Arthur Guyader <arthur.guyader@iot.bzh> | 2019-11-07 14:16:16 +0100 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2020-01-09 10:43:00 +0100 |
commit | 8b3af0fccba13e4098590322975bbd475d3d4f9e (patch) | |
tree | 29333136c9bca78a421697c048fd5379b062da88 /low-can-binding/can/message-set.hpp | |
parent | 4e1db7198dc91adce159abbea60667400569d38c (diff) |
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 <romain.forlot@iot.bzh>
Diffstat (limited to 'low-can-binding/can/message-set.hpp')
-rw-r--r-- | low-can-binding/can/message-set.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
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<std::shared_ptr<message_definition_t> >& messages_definition, const vect_ptr_diag_msg_t& diagnostic_messages); + int add_message_definition(std::shared_ptr<message_definition_t> msg_def); + int add_diagnostic_message(std::shared_ptr<diagnostic_message_t> 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; }; |