CANFilter
Manages the import/export of data which are using dbc files for parsing the log files.
Public Types
enum TimeHandling
Public Methods
|
CANFilter(FileType type, CANFilterPrivate *) |
|
columnModes() const |
|
fileInfoString(const QString &) |
|
load(XmlStreamReader *) override |
|
preview(const QString &filename, int lines) |
|
readDataFromFile(const QString &fileName, AbstractDataSource *=nullptr, ImportMode=ImportMode::Replace) override |
|
save(QXmlStreamWriter *) const override |
|
setConvertTimeToSeconds(bool) |
|
setDBCFile(const QString &file) |
|
setTimeHandlingMode(TimeHandling) |
|
vectorNames() const |
|
write(const QString &fileName, AbstractDataSource *) override |
Detailed Description
-
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