1#ifndef CANRAWFILTERMODEL_H 
    2#define CANRAWFILTERMODEL_H 
    7#include <QtCore/QObject> 
    8#include <readerwriterqueue.h> 
   10using QtNodes::NodeData;
 
   11using QtNodes::NodeDataType;
 
   12using QtNodes::PortIndex;
 
   13using QtNodes::PortType;
 
   24    unsigned int nPorts(PortType portType) 
const override;
 
   25    NodeDataType 
dataType(PortType portType, PortIndex portIndex) 
const override;
 
   26    std::shared_ptr<NodeData> 
outData(PortIndex port) 
override;
 
   27    void setInData(std::shared_ptr<NodeData> nodeData, PortIndex port) 
override;
 
   40    std::unique_ptr<NodePainter> _painter;
 
   42    moodycamel::ReaderWriterQueue<std::shared_ptr<NodeData>> _fwdQueue{ 127 };
 
 
Definition canrawfiltermodel.h:18
std::shared_ptr< NodeData > outData(PortIndex port) override
Definition canrawfiltermodel.cpp:59
void filteredTx(const QCanBusFrame &frame)
Definition canrawfiltermodel.cpp:91
void filterRx(const QCanBusFrame &frame)
QtNodes::NodePainterDelegate * painterDelegate() const override
Definition canrawfiltermodel.cpp:39
unsigned int nPorts(PortType portType) const override
Definition canrawfiltermodel.cpp:44
void filterTx(const QCanBusFrame &frame)
void filteredRx(const QCanBusFrame &frame)
Definition canrawfiltermodel.cpp:102
void setInData(std::shared_ptr< NodeData > nodeData, PortIndex port) override
Definition canrawfiltermodel.cpp:72
CanRawFilterModel()
Definition canrawfiltermodel.cpp:25
NodeDataType dataType(PortType portType, PortIndex portIndex) const override
Definition canrawfiltermodel.cpp:49
Definition componentmodel.h:37
Direction
The enum class describing frame direction.
Definition datadirection.h:7