![]() |
Speeduino
|
3D table data types and functions More...
#include "src/utils/nominmax.h"#include "table3d_interpolate.h"#include "table3d_axes.h"#include <array>Go to the source code of this file.
Classes | |
| struct | table3d_t |
Macros | |
| #define | TO_TYPE_KEY(size, xDom, yDom) table3d ## size ## xDom ## yDom ## _key |
| #define | TABLE3D_GEN_TYPE_INNER(size, xDom, yDom, typeName) |
| #define | TABLE3D_GEN_TYPE(size, xDom, yDom) TABLE3D_GEN_TYPE_INNER(size, xDom, yDom, TABLE3D_TYPENAME_BASE(size, xDom, yDom)) |
Enumerations | |
| enum class | TableType : uint8_t { TableType::table_type_None } |
| Table type identifiers. Limited compile time RTTI. More... | |
Functions | |
| TABLE3D_GEN_TYPE_INNER (6, Rpm, Load, TABLE3D_TYPENAME_BASE(6, Rpm, Load))) TABLE3D_GEN_TYPE_INNER(4 | |
| TABLE3D_TYPENAME_BASE (4, Rpm, Load))) TABLE3D_GEN_TYPE_INNER(8 | |
| TABLE3D_TYPENAME_BASE (8, Rpm, Load))) TABLE3D_GEN_TYPE_INNER(16 | |
| TABLE3D_TYPENAME_BASE (16, Rpm, Load))) template< typename TTable > static inline table3d_value_t get3DTableValue(const TTable *pTable | |
| return | get3DTableValue< xFactor, yFactor > (&pTable->get_value_cache, pTable->values, pTable->axisX, pTable->axisY, { x, y }) |
Variables | |
| Rpm | |
| Load | |
| const uint16_t | y |
| const uint16_t const uint16_t x | noexcept |
| constexpr uint16_t | yFactor = getConversionFactor(TTable::YDomain) |
3D table data types and functions