summaryrefslogtreecommitdiffstats
path: root/low-can-binding/binding/application.cpp
diff options
context:
space:
mode:
authorArthur Guyader <arthur.guyader@iot.bzh>2019-08-27 14:48:29 +0200
committerArthur Guyader <arthur.guyader@iot.bzh>2019-08-30 15:11:52 +0200
commit6d6b880b2769add860cb0f135e0f784f8aaf5e00 (patch)
tree52c4cd0559dbc6504a5ced77d732bd712efeadb1 /low-can-binding/binding/application.cpp
parentd4899192ccda96a8ee328bad3e16efdc98c2a856 (diff)
Add some typedef to reduce the size of the lines
Bug-AGL : SPEC-2779 Change-Id: Iebcf7492133cd7789d301593ff999b24ae10a054 Signed-off-by: Arthur Guyader <arthur.guyader@iot.bzh>
Diffstat (limited to 'low-can-binding/binding/application.cpp')
-rw-r--r--low-can-binding/binding/application.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/low-can-binding/binding/application.cpp b/low-can-binding/binding/application.cpp
index d93bf0cf..d22633f9 100644
--- a/low-can-binding/binding/application.cpp
+++ b/low-can-binding/binding/application.cpp
@@ -57,17 +57,17 @@ std::vector<std::shared_ptr<message_set_t> > application_t::get_message_set()
return message_set_;
}
-std::vector<std::shared_ptr<signal_t> > application_t::get_all_signals()
+vect_ptr_signal_t application_t::get_all_signals()
{
return message_set_[active_message_set_]->get_all_signals();
}
-std::vector<std::shared_ptr<diagnostic_message_t>> application_t::get_diagnostic_messages()
+vect_ptr_diag_msg_t application_t::get_diagnostic_messages()
{
return message_set_[active_message_set_]->get_diagnostic_messages();
}
-std::vector<std::shared_ptr<message_definition_t>> application_t::get_messages_definition()
+vect_ptr_msg_def_t application_t::get_messages_definition()
{
return message_set_[active_message_set_]->get_messages_definition();
}
@@ -76,7 +76,7 @@ std::vector<std::shared_ptr<message_definition_t>> application_t::get_messages_d
std::shared_ptr<message_definition_t> application_t::get_message_definition(uint32_t id)
{
std::shared_ptr<message_definition_t> ret = nullptr;
- std::vector<std::shared_ptr<message_definition_t>> messages_definition = get_messages_definition();
+ vect_ptr_msg_def_t messages_definition = get_messages_definition();
for(std::shared_ptr<message_definition_t> &msg_def : messages_definition)
{
if(msg_def->get_id() == id)