Struct Signal

Inheritance Relationships

Derived Type

Struct Documentation

struct Signal

CAN signal storing necessary information for en-/decoding.

Subclassed by off_highway_can::MessageCounter

Public Functions

bool set(double value, const std::string &signal_name)
template<typename FrameData>
void decode(const FrameData &frame)
template<typename FrameData>
void encode(FrameData &frame)

Public Members

uint16_t start_bit = {0}
uint16_t length = {0}
bool is_big_endian = {false}
bool is_signed = {false}
double factor = {1.}
double offset = {0.}
double min = {0.}
double max = {0.}
double value = {0.}