1#ifndef CANSIGNALDECODER_P_H
2#define CANSIGNALDECODER_P_H
24 int64_t rawToSignal(
const uint8_t* data,
int startBit,
int sigSize,
bool littleEndian,
bool isSigned);
33 const QString _nameProperty =
"name";
34 const QString _dbProperty =
"CAN database";
35 std::map<QString, QVariant> _signalCache;
42 std::make_tuple(_nameProperty, QVariant::String,
true, cf(
nullptr)),
Context CanSignalDecoderCtx
Definition cansignaldecoder.h:12
Definition candbhandler.h:14
QWidget * createPropertyWidget()
Definition candbhandler.cpp:96
Definition cansignaldecoder.h:16
Definition cansignaldecoder_p.h:11
CanDbHandler _db
Definition cansignaldecoder_p.h:29
CanSignalDecoderCtx _ctx
Definition cansignaldecoder_p.h:27
void setSettings(const QJsonObject &json)
Definition cansignaldecoder_p.cpp:64
bool _simStarted
Definition cansignaldecoder_p.h:26
QJsonObject getSettings()
Definition cansignaldecoder_p.cpp:53
std::map< QString, QVariant > _props
Definition cansignaldecoder_p.h:28
void decodeFrame(const QCanBusFrame &frame, Direction const direction, bool status)
Definition cansignaldecoder_p.cpp:75
ComponentInterface::ComponentProperties getSupportedProperties() const
Definition cansignaldecoder_p.cpp:48
Direction
The enum class describing frame direction.
Definition datadirection.h:7
std::vector< ComponentProperty > ComponentProperties
Definition componentinterface.h:66
std::function< QWidget *(void)> CustomEditFieldCbk
Definition componentinterface.h:64