return can_message_set_;
}
-std::vector<std::shared_ptr<can_signal_t> > configuration_t::get_can_signals()
+std::vector<std::shared_ptr<can_signal_t> > configuration_t::get_all_can_signals()
{
- return can_message_set_[active_message_set_]->get_can_signals();
+ return can_message_set_[active_message_set_]->get_all_can_signals();
}
std::vector<std::shared_ptr<diagnostic_message_t> > configuration_t::get_diagnostic_messages()
const std::vector<std::shared_ptr<can_message_set_t> >& get_can_message_set();
- std::vector<std::shared_ptr<can_signal_t> > get_can_signals();
+ std::vector<std::shared_ptr<can_signal_t> > get_all_can_signals();
std::vector<std::shared_ptr<diagnostic_message_t> > get_diagnostic_messages();
if( s.find(sig->get_name()) != s.end() && afb_event_is_valid(s[sig->get_name()]))
{
bool send = true;
- decoded_message = decoder_t::translateSignal(*sig, can_message, conf.get_can_signals(), &send);
+ decoded_message = decoder_t::translateSignal(*sig, can_message, conf.get_all_can_signals(), &send);
if(send)
{
switch(key.type)
{
case openxc_DynamicField_Type::openxc_DynamicField_Type_STRING:
- lookup_signals_by_name(key.string_value, configuration_t::instance().get_can_signals(), sf.can_signals);
+ lookup_signals_by_name(key.string_value, configuration_t::instance().get_all_can_signals(), sf.can_signals);
lookup_signals_by_name(key.string_value, configuration_t::instance().get_diagnostic_messages(), sf.diagnostic_messages);
break;
case openxc_DynamicField_Type::openxc_DynamicField_Type_NUM:
- lookup_signals_by_id(key.numeric_value, configuration_t::instance().get_can_signals(), sf.can_signals);
+ lookup_signals_by_id(key.numeric_value, configuration_t::instance().get_all_can_signals(), sf.can_signals);
lookup_signals_by_id(key.numeric_value, configuration_t::instance().get_diagnostic_messages(), sf.diagnostic_messages);
break;
default: