Closes #23
This commit is contained in:
1 parent
713276d34a
commit
fc97682b37
45 files changed
+6760
-5
No files matched your search
@@ -104,7 +104,22 @@ public:
|
||||
DecodedFrameValue Decode(const DecodeDatabase &database,
|
||||
const RawCanFrame &frame) const;
|
||||
|
||||
/**
|
||||
* @brief Decode selected signals in selection order using stable keys.
|
||||
* An empty selection returns no signals. Multiplex selectors are read internally.
|
||||
* Frame status summarizes selected signals; short payload still takes precedence.
|
||||
* Unknown frames return UnknownFrame before checking the selection.
|
||||
* @throws std::invalid_argument for a foreign frame key, unknown signal, or duplicate key.
|
||||
*/
|
||||
DecodedFrameValue Decode(const DecodeDatabase &database,
|
||||
const RawCanFrame &frame,
|
||||
const std::vector<SignalKey> &selection) const;
|
||||
|
||||
private:
|
||||
DecodedFrameValue DecodeImpl(const DecodeDatabase &database,
|
||||
const RawCanFrame &frame,
|
||||
const std::vector<SignalKey> *selection) const;
|
||||
|
||||
static bool IsValidDefinition(const DecodeSignal &signal, std::uint8_t dlc);
|
||||
|
||||
struct SelectorState {
|
||||
|
||||
Reference in new issue
Block a user