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;
36 void simBcastSnd(
const QJsonObject &msg,
const QVariant ¶m = QVariant())
override;
41 void simBcastRcv(
const QJsonObject &msg,
const QVariant ¶m)
override;
44 QScopedPointer<CanRawPlayerPrivate> d_ptr;
Context CanRawPlayerCtx
Definition canrawplayer.h:13
Definition canrawplayer.h:15
void sendFrame(const QCanBusFrame &frame)
void setConfig(const QJsonObject &json) override
Sets configuration for component.
Definition canrawplayer.cpp:26
void stopSimulation() override
Definition canrawplayer.cpp:76
void mainWidgetDockToggled(QWidget *widget) override
void configChanged() override
Reconfigure component if necessary.
Definition canrawplayer.cpp:52
std::shared_ptr< QWidget > getQConfig() const override
Gets current component configuation.
Definition canrawplayer.cpp:45
CanRawPlayer()
Definition canrawplayer.cpp:8
QJsonObject getConfig() const override
Gets current component configuation.
Definition canrawplayer.cpp:40
void simBcastRcv(const QJsonObject &msg, const QVariant ¶m) override
Definition canrawplayer.cpp:92
void startSimulation() override
Definition canrawplayer.cpp:84
ComponentInterface::ComponentProperties getSupportedProperties() const override
Definition canrawplayer.cpp:71
QWidget * mainWidget() override
Gets components's main widget.
Definition canrawplayer.cpp:20
bool mainWidgetDocked() const override
Main widget docking status.
Definition canrawplayer.cpp:65
void simBcastSnd(const QJsonObject &msg, const QVariant ¶m=QVariant()) override
~CanRawPlayer()
Definition canrawplayer.cpp:18
Definition canrawplayer_p.h:13
Interface to be implemented by every component.
Definition componentinterface.h:15
std::vector< ComponentProperty > ComponentProperties
Definition componentinterface.h:66