Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
|
#include <structs.hpp>
Public Member Functions | |
bool | read (const JSON &pgnJSON, iv::types::comms::spn spn) |
bool | write (JSON &pgnJSON) const |
Public Attributes | |
iv::types::comms::spn | m_spn |
std::string | m_name |
std::string | m_description |
bool | m_isSigned |
iv::eEndianType | m_endianness |
iv::types::channelValue | m_factor {1.} |
iv::types::channelValue | m_offset {0.} |
uint32_t | m_startingBit |
uint32_t | m_length |
std::optional< iv::types::channelValue > | m_min {std::nullopt} |
std::optional< iv::types::channelValue > | m_max {std::nullopt} |
iv::eMeasurementUnit | m_unit {iv::eMeasurementUnit::NoUnit} |
bool iv::comms::canJ1939::SpnInfo::read | ( | const JSON & | pgnJSON, |
iv::types::comms::spn | spn ) |
TODO: Check how to work with units and weather it's really useful
bool iv::comms::canJ1939::SpnInfo::write | ( | JSON & | pgnJSON | ) | const |
std::string iv::comms::canJ1939::SpnInfo::m_description |
iv::eEndianType iv::comms::canJ1939::SpnInfo::m_endianness |
iv::types::channelValue iv::comms::canJ1939::SpnInfo::m_factor {1.} |
bool iv::comms::canJ1939::SpnInfo::m_isSigned |
uint32_t iv::comms::canJ1939::SpnInfo::m_length |
std::optional<iv::types::channelValue> iv::comms::canJ1939::SpnInfo::m_max {std::nullopt} |
std::optional<iv::types::channelValue> iv::comms::canJ1939::SpnInfo::m_min {std::nullopt} |
std::string iv::comms::canJ1939::SpnInfo::m_name |
iv::types::channelValue iv::comms::canJ1939::SpnInfo::m_offset {0.} |
iv::types::comms::spn iv::comms::canJ1939::SpnInfo::m_spn |
uint32_t iv::comms::canJ1939::SpnInfo::m_startingBit |
iv::eMeasurementUnit iv::comms::canJ1939::SpnInfo::m_unit {iv::eMeasurementUnit::NoUnit} |