5#include <QtCore/QScopedPointer>
26 void setConfig(
const QJsonObject& json)
override;
27 void setConfig(
const QWidget& qobject)
override;
29 std::shared_ptr<QWidget>
getQConfig()
const override;
38 void simBcastSnd(
const QJsonObject &msg,
const QVariant ¶m = QVariant())
override;
41 void txFrameIn(
const QCanBusFrame& frame);
42 void rxFrameIn(
const QCanBusFrame& frame);
45 void simBcastRcv(
const QJsonObject &msg,
const QVariant ¶m)
override;
48 QScopedPointer<CanRawFilterPrivate> d_ptr;
Context< CanRawFilterGuiInt > CanRawFilterCtx
Definition canrawfilter.h:14
Definition canrawfilter.h:16
QJsonObject getConfig() const override
Gets current component configuation.
Definition canrawfilter.cpp:42
void setConfig(const QJsonObject &json) override
Sets configuration for component.
Definition canrawfilter.cpp:28
CanRawFilter()
Definition canrawfilter.cpp:7
void txFrameIn(const QCanBusFrame &frame)
Definition canrawfilter.cpp:82
void stopSimulation() override
Definition canrawfilter.cpp:68
void mainWidgetDockToggled(QWidget *widget) override
ComponentInterface::ComponentProperties getSupportedProperties() const override
Definition canrawfilter.cpp:63
void txFrameOut(const QCanBusFrame &frame)
void simBcastSnd(const QJsonObject &msg, const QVariant ¶m=QVariant()) override
bool mainWidgetDocked() const override
Main widget docking status.
Definition canrawfilter.cpp:58
QWidget * mainWidget() override
Gets components's main widget.
Definition canrawfilter.cpp:21
void rxFrameIn(const QCanBusFrame &frame)
Definition canrawfilter.cpp:91
void simBcastRcv(const QJsonObject &msg, const QVariant ¶m) override
Definition canrawfilter.cpp:100
std::shared_ptr< QWidget > getQConfig() const override
Gets current component configuation.
Definition canrawfilter.cpp:47
~CanRawFilter()
Definition canrawfilter.cpp:17
void configChanged() override
Reconfigure component if necessary.
Definition canrawfilter.cpp:54
void startSimulation() override
Definition canrawfilter.cpp:75
void rxFrameOut(const QCanBusFrame &frame)
Definition canrawfilter_p.h:11
Definition canrawfilterguiint.h:11
Interface to be implemented by every component.
Definition componentinterface.h:15
std::vector< ComponentProperty > ComponentProperties
Definition componentinterface.h:66