Additional implementation of the new connection scheme. It is now possible to send frames to CANConnection objects indirectly based on registered bus number.

This further abstracts the interface. Things are reasonably stable now for frame reception. Initial work has been done to support frame transmission as well. This is currently less stable but mostly working.
This commit is contained in:
Collin Kidder
2016-03-27 22:37:02 -04:00
parent 3c6f7cb2ea
commit a3cd14e495
18 changed files with 128 additions and 50 deletions
+2 -3
View File
@@ -27,7 +27,7 @@ class FramePlaybackWindow : public QDialog
Q_OBJECT
public:
explicit FramePlaybackWindow(const QVector<CANFrame> *frames, SerialWorker *worker, QWidget *parent = 0);
explicit FramePlaybackWindow(const QVector<CANFrame> *frames, QWidget *parent = 0);
~FramePlaybackWindow();
private slots:
@@ -54,7 +54,7 @@ private slots:
void loadFilters();
signals:
void sendCANFrame(const CANFrame *, int);
void sendCANFrame(const CANFrame *);
void sendFrameBatch(const QList<CANFrame> *);
private:
@@ -65,7 +65,6 @@ private:
const QVector<CANFrame> *modelFrames;
int currentPosition;
QTimer *playbackTimer;
SerialWorker *serialWorker;
bool playbackActive;
bool playbackForward;
int whichBusSend;