1#ifndef CANRAWLOGGERMODEL_H
2#define CANRAWLOGGERMODEL_H
7#include <QtCore/QObject>
9using QtNodes::NodeData;
10using QtNodes::NodeDataType;
11using QtNodes::PortIndex;
12using QtNodes::PortType;
23 unsigned int nPorts(PortType portType)
const override;
24 NodeDataType
dataType(PortType portType, PortIndex portIndex)
const override;
25 std::shared_ptr<NodeData>
outData(PortIndex port)
override;
26 void setInData(std::shared_ptr<NodeData> nodeData, PortIndex port)
override;
33 void frameSent(
bool status,
const QCanBusFrame& frame);
37 std::unique_ptr<NodePainter> _painter;
Definition canrawloggermodel.h:17
CanRawLoggerModel()
Definition canrawloggermodel.cpp:22
NodeDataType dataType(PortType portType, PortIndex portIndex) const override
Definition canrawloggermodel.cpp:44
unsigned int nPorts(PortType portType) const override
Definition canrawloggermodel.cpp:39
void frameSent(bool status, const QCanBusFrame &frame)
QtNodes::NodePainterDelegate * painterDelegate() const override
Definition canrawloggermodel.cpp:34
void setInData(std::shared_ptr< NodeData > nodeData, PortIndex port) override
Definition canrawloggermodel.cpp:59
std::shared_ptr< NodeData > outData(PortIndex port) override
Definition canrawloggermodel.cpp:54
void frameReceived(const QCanBusFrame &frame)
Definition componentmodel.h:37
Direction
The enum class describing frame direction.
Definition datadirection.h:7