summaryrefslogtreecommitdiffstats
path: root/CAN-binder/low-can-binding/binding/configuration.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'CAN-binder/low-can-binding/binding/configuration.cpp')
-rw-r--r--CAN-binder/low-can-binding/binding/configuration.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/CAN-binder/low-can-binding/binding/configuration.cpp b/CAN-binder/low-can-binding/binding/configuration.cpp
index 7f53c62..cc2b8f2 100644
--- a/CAN-binder/low-can-binding/binding/configuration.cpp
+++ b/CAN-binder/low-can-binding/binding/configuration.cpp
@@ -42,24 +42,24 @@ uint8_t configuration_t::get_active_message_set() const
return active_message_set_;
}
-const std::vector<can_message_set_t>& configuration_t::get_can_message_set()
+const std::vector<std::shared_ptr<can_message_set_t> >& configuration_t::get_can_message_set()
{
return can_message_set_;
}
std::vector<std::shared_ptr<can_signal_t> > configuration_t::get_can_signals()
{
- return can_message_set_[active_message_set_].get_can_signals();
+ return can_message_set_[active_message_set_]->get_can_signals();
}
std::vector<std::shared_ptr<diagnostic_message_t> > configuration_t::get_diagnostic_messages()
{
- return can_message_set_[active_message_set_].get_diagnostic_messages();
+ return can_message_set_[active_message_set_]->get_diagnostic_messages();
}
std::vector<std::shared_ptr<can_message_definition_t> > configuration_t::get_can_message_definition()
{
- return can_message_set_[active_message_set_].get_can_message_definition();
+ return can_message_set_[active_message_set_]->get_can_message_definition();
}
uint32_t configuration_t::get_signal_id(diagnostic_message_t& sig) const