5#include <QtCore/QScopedPointer>
25 void setConfig(
const QJsonObject& json)
override;
26 void setConfig(
const QWidget& qobject)
override;
28 std::shared_ptr<QWidget>
getQConfig()
const override;
35 void simBcastSnd(
const QJsonObject &msg,
const QVariant ¶m = QVariant())
override;
41 void frameSent(
bool status,
const QCanBusFrame& frame);
42 void simBcastRcv(
const QJsonObject &msg,
const QVariant ¶m)
override;
45 QScopedPointer<CanRawLoggerPrivate> d_ptr;
Context CanRawLoggerCtx
Definition canrawlogger.h:13
Definition canrawlogger.h:15
void frameSent(bool status, const QCanBusFrame &frame)
Definition canrawlogger.cpp:129
QWidget * mainWidget() override
Gets components's main widget.
Definition canrawlogger.cpp:20
ComponentInterface::ComponentProperties getSupportedProperties() const override
Definition canrawlogger.cpp:60
std::shared_ptr< QWidget > getQConfig() const override
Gets current component configuation.
Definition canrawlogger.cpp:45
void mainWidgetDockToggled(QWidget *widget) override
void setConfig(const QJsonObject &json) override
Sets configuration for component.
Definition canrawlogger.cpp:26
void simBcastSnd(const QJsonObject &msg, const QVariant ¶m=QVariant()) override
void stopSimulation() override
Definition canrawlogger.cpp:65
CanRawLogger()
Definition canrawlogger.cpp:8
void frameReceived(const QCanBusFrame &frame)
Definition canrawlogger.cpp:122
QJsonObject getConfig() const override
Gets current component configuation.
Definition canrawlogger.cpp:40
void configChanged() override
Reconfigure component if necessary.
Definition canrawlogger.cpp:52
~CanRawLogger()
Definition canrawlogger.cpp:18
void startSimulation() override
Definition canrawlogger.cpp:75
void simBcastRcv(const QJsonObject &msg, const QVariant ¶m) override
Definition canrawlogger.cpp:136
bool mainWidgetDocked() const override
Main widget docking status.
Definition canrawlogger.cpp:54
Definition canrawlogger_p.h:13
Interface to be implemented by every component.
Definition componentinterface.h:15
std::vector< ComponentProperty > ComponentProperties
Definition componentinterface.h:66