1#ifndef CANSIGNALVIEWER_H
2#define CANSIGNALVIEWER_H
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;
36 void simBcastSnd(
const QJsonObject &msg,
const QVariant ¶m = QVariant())
override;
41 void simBcastRcv(
const QJsonObject &msg,
const QVariant ¶m)
override;
45 QScopedPointer<CanSignalViewerPrivate> d_ptr;
Context< CanSignalViewerGuiInt > CanSignalViewerCtx
Definition cansignalviewer.h:13
Definition cansignalviewer.h:16
void startSimulation() override
Definition cansignalviewer.cpp:70
CanSignalViewer()
Definition cansignalviewer.cpp:6
std::shared_ptr< QWidget > getQConfig() const override
Gets current component configuation.
Definition cansignalviewer.cpp:44
bool mainWidgetDocked() const override
Main widget docking status.
Definition cansignalviewer.cpp:53
void rcvSignal(const QString &name, const QVariant &val, const Direction &dir)
Definition cansignalviewer.cpp:85
void simBcastSnd(const QJsonObject &msg, const QVariant ¶m=QVariant()) override
QJsonObject getConfig() const override
Gets current component configuation.
Definition cansignalviewer.cpp:39
void mainWidgetDockToggled(QWidget *widget) override
void configChanged() override
Reconfigure component if necessary.
Definition cansignalviewer.cpp:51
ComponentInterface::ComponentProperties getSupportedProperties() const override
Definition cansignalviewer.cpp:58
QWidget * mainWidget() override
Gets components's main widget.
Definition cansignalviewer.cpp:18
~CanSignalViewer()
Definition cansignalviewer.cpp:16
void setConfig(const QJsonObject &json) override
Sets configuration for component.
Definition cansignalviewer.cpp:25
void stopSimulation() override
Definition cansignalviewer.cpp:63
void simBcastRcv(const QJsonObject &msg, const QVariant ¶m) override
Definition cansignalviewer.cpp:79
Definition cansignalviewer_p.h:12
Direction
The enum class describing frame direction.
Definition datadirection.h:7
Definition cansignalviewerguiint.h:10
Interface to be implemented by every component.
Definition componentinterface.h:15
std::vector< ComponentProperty > ComponentProperties
Definition componentinterface.h:66