29 lines
666 B
C++
29 lines
666 B
C++
#ifndef CANDEVICECONFIG_H
|
|
#define CANDEVICECONFIG_H
|
|
#include "PCANBasic.h"
|
|
#include <QDataStream>
|
|
#include <QString>
|
|
|
|
|
|
class CCANDeviceConfig
|
|
{
|
|
public:
|
|
CCANDeviceConfig();
|
|
CCANDeviceConfig(CCANDeviceConfig &Other);
|
|
|
|
TPCANHandle mCANDeviceID;
|
|
TPCANBaudrate mCANDeviceBaudrate;
|
|
QString mCANDeviceDatabaseFilename;
|
|
QString mDeviceDescription;
|
|
QString mDeviceName;
|
|
unsigned int mDevicePollPeriod;
|
|
|
|
CCANDeviceConfig &operator=(const CCANDeviceConfig *source);
|
|
};
|
|
|
|
QDataStream &operator<<(QDataStream &out, const CCANDeviceConfig &source);
|
|
QDataStream &operator>>(QDataStream &in, CCANDeviceConfig &dest);
|
|
|
|
#endif // CANDEVICECONFIG_H
|
|
|