AgIsoStack++
A control-function-focused implementation of the major ISOBUS and J1939 protocols
Loading...
Searching...
No Matches
Classes | Static Public Member Functions | Static Private Attributes | List of all members
isobus::DataDictionary Class Reference

This class contains the definition of an auto-generated lookup of all ISOBUS DDIs. More...

#include <isobus_data_dictionary.hpp>

Collaboration diagram for isobus::DataDictionary:
[legend]

Classes

struct  Entry
 A struct containing the information for a single DDI. More...
 

Static Public Member Functions

static const Entryget_entry (std::uint16_t dataDictionaryIdentifier)
 Checks the ISO 11783-11 database for the given DDI number and returns the corresponding entry if found.
 

Static Private Attributes

static const Entry DDI_ENTRIES [715]
 A lookup table of all DDI entries in ISO11783-11.
 
static const Entry DEFAULT_ENTRY = { 65535, "Unknown", "Unknown", 0.0f }
 A default "unknown" DDI to return if a DDI is not in the database.
 

Detailed Description

This class contains the definition of an auto-generated lookup of all ISOBUS DDIs.

Definition at line 20 of file isobus_data_dictionary.hpp.

Member Function Documentation

◆ get_entry()

const DataDictionary::Entry & isobus::DataDictionary::get_entry ( std::uint16_t dataDictionaryIdentifier)
static

Checks the ISO 11783-11 database for the given DDI number and returns the corresponding entry if found.

Parameters
dataDictionaryIdentifierThe DDI number to look up
Returns
The entry for the given DDI number, or a default entry if not found

Definition at line 14 of file isobus_data_dictionary.cpp.

Member Data Documentation

◆ DDI_ENTRIES

const DataDictionary::Entry isobus::DataDictionary::DDI_ENTRIES
staticprivate

A lookup table of all DDI entries in ISO11783-11.

Definition at line 41 of file isobus_data_dictionary.hpp.

◆ DEFAULT_ENTRY

const DataDictionary::Entry isobus::DataDictionary::DEFAULT_ENTRY = { 65535, "Unknown", "Unknown", 0.0f }
staticprivate

A default "unknown" DDI to return if a DDI is not in the database.

Definition at line 43 of file isobus_data_dictionary.hpp.


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