4#include <QtCore/QObject>
5#include <QtCore/QScopedPointer>
28 void setConfig(
const QJsonObject& json)
override;
29 void setConfig(
const QWidget& qobject)
override;
31 std::shared_ptr<QWidget>
getQConfig()
const override;
38 void simBcastSnd(
const QJsonObject &msg,
const QVariant ¶m = QVariant())
override;
43 void simBcastRcv(
const QJsonObject &msg,
const QVariant ¶m)
override;
46 QScopedPointer<CanSignalDataPrivate> d_ptr;
Context< CanSignalDataGuiInt > CanSignalDataCtx
Definition cansignaldata.h:14
Q_DECLARE_METATYPE(CANmessages_t)
Definition cansignaldata.h:18
ComponentInterface::ComponentProperties getSupportedProperties() const override
Definition cansignaldata.cpp:64
QJsonObject getConfig() const override
Gets current component configuation.
Definition cansignaldata.cpp:38
std::shared_ptr< QWidget > getQConfig() const override
Gets current component configuation.
Definition cansignaldata.cpp:43
void simBcastSnd(const QJsonObject &msg, const QVariant ¶m=QVariant()) override
void simBcastRcv(const QJsonObject &msg, const QVariant ¶m) override
Definition cansignaldata.cpp:83
CanSignalData()
Definition cansignaldata.cpp:7
void mainWidgetDockToggled(QWidget *widget) override
void configChanged() override
Reconfigure component if necessary.
Definition cansignaldata.cpp:50
void setConfig(const QJsonObject &json) override
Sets configuration for component.
Definition cansignaldata.cpp:26
QWidget * mainWidget() override
Gets components's main widget.
Definition cansignaldata.cpp:19
void stopSimulation() override
Definition cansignaldata.cpp:69
bool mainWidgetDocked() const override
Main widget docking status.
Definition cansignaldata.cpp:59
void startSimulation() override
Definition cansignaldata.cpp:76
~CanSignalData()
Definition cansignaldata.cpp:17
Definition cansignaldata_p.h:14
Definition cansignaldataguiint.h:11
Interface to be implemented by every component.
Definition componentinterface.h:15
std::vector< ComponentProperty > ComponentProperties
Definition componentinterface.h:66