CANFilter
A description for CANFilter.
-
class CANFilter : public AbstractFileFilter
Manages the import/export of data which are using dbc files for parsing the log files.
Subclassed by VectorBLFFilter
Public Functions
-
virtual void readDataFromFile(const QString &fileName, AbstractDataSource* = nullptr, ImportMode = ImportMode::Replace) override
reads the content of the file
fileNameto the data sourcedataSource.
-
virtual void write(const QString &fileName, AbstractDataSource*) override
writes the content of the data source
dataSourceto the filefileName.
-
bool setDBCFile(const QString &file)
setDBCFile Sets dbc file which is used to decode the messages
- Parameters:
file –
- Returns:
-
virtual void save(QXmlStreamWriter*) const override
Saves as XML.
-
virtual bool load(XmlStreamReader*) override
Loads from XML.
Public Static Functions
-
static QString fileInfoString(const QString&)
fileInfoString Information about the file content
- Returns:
-
virtual void readDataFromFile(const QString &fileName, AbstractDataSource* = nullptr, ImportMode = ImportMode::Replace) override