DBC Framework
DBC parsing and CAN signal decoding framework
Loading...
Searching...
No Matches
dbc_detail::MultiplexGraph Class Reference

#include <multiplex_graph.h>

Public Member Functions

template<class Signal >
 MultiplexGraph (const std::vector< Signal > &public)
 
bool Matches (std::size_t index, std::uint64_t value) const
 
bool AreMutuallyExclusive (std::size_t first, std::size_t second) const
 

Public Attributes

std::vector< std::size_t > parents
 
std::vector< std::vector< MultiplexRange > > ranges
 

Detailed Description

Resolved parent links shared by parser validation and runtime decoding.

Definition at line 19 of file multiplex_graph.h.

Constructor & Destructor Documentation

◆ MultiplexGraph()

template<class Signal >
dbc_detail::MultiplexGraph::MultiplexGraph ( const std::vector< Signal > &  public)
inlineexplicit

Definition at line 22 of file multiplex_graph.h.

Member Function Documentation

◆ Matches()

bool dbc_detail::MultiplexGraph::Matches ( std::size_t  index,
std::uint64_t  value 
) const
inline

Definition at line 69 of file multiplex_graph.h.

◆ AreMutuallyExclusive()

bool dbc_detail::MultiplexGraph::AreMutuallyExclusive ( std::size_t  first,
std::size_t  second 
) const
inline

Definition at line 77 of file multiplex_graph.h.

Member Data Documentation

◆ parents

std::vector<std::size_t> dbc_detail::MultiplexGraph::parents

Definition at line 97 of file multiplex_graph.h.

◆ ranges

std::vector<std::vector<MultiplexRange> > dbc_detail::MultiplexGraph::ranges

Definition at line 98 of file multiplex_graph.h.


The documentation for this class was generated from the following file: