1#ifndef CANSIGNALDATAMODEL_H
2#define CANSIGNALDATAMODEL_H
6#include <QtCore/QObject>
10using QtNodes::NodeData;
11using QtNodes::NodeDataType;
12using QtNodes::PortIndex;
13using 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>, PortIndex)
override{};
33 std::unique_ptr<CanDbPainter> _painter;
34 CANmessages_t _messages;
Definition cansignaldatamodel.h:17
NodeDataType dataType(PortType portType, PortIndex portIndex) const override
Definition cansignaldatamodel.cpp:37
std::shared_ptr< NodeData > outData(PortIndex port) override
Definition cansignaldatamodel.cpp:42
QtNodes::NodePainterDelegate * painterDelegate() const override
Definition cansignaldatamodel.cpp:27
void setInData(std::shared_ptr< NodeData >, PortIndex) override
Definition cansignaldatamodel.h:26
CanSignalDataModel()
Definition cansignaldatamodel.cpp:18
unsigned int nPorts(PortType portType) const override
Definition cansignaldatamodel.cpp:32
Definition componentmodel.h:37
Direction
The enum class describing frame direction.
Definition datadirection.h:7