#ifndef CANDEVICE_H #define CANDEVICE_H #include "defines.h" #include #include "CANAnalyzer.h" #include "CANMessage.h" #include "PCANInterface.h" #include "CANDatabase.h" #include class CCANDevice : public QObject { Q_OBJECT public: explicit CCANDevice(QObject *parent = 0); ~CCANDevice(); int Init(QString DatabaseFileName, unsigned short CANDeviceID, unsigned short CANDeviceBaudRate); private: QString mDeviceDatabaseFileName; unsigned int mCANDeviceID; CCANAnalyzer mCANAnalyzer; //The module that handles the USB puck and decodes the data CCANDatabase mCANDatabase; //The device's database loaded from dbc file signals: public slots: }; #endif // CANDEVICE_H