1#ifndef CANRAWLOGGER_P_H
2#define CANRAWLOGGER_P_H
5#include <QElapsedTimer>
7#include <QtCore/QObject>
22 void logFrame(
const QCanBusFrame& frame,
const QString& dir);
37 const QString _nameProperty =
"name";
38 const QString _dirProperty =
"directory";
45 std::make_tuple(_nameProperty, QVariant::String,
true, cf(
nullptr)),
46 std::make_tuple(_dirProperty, QVariant::String,
true, cf([] {
return new PropertyFieldPath(
true); } ))
Context CanRawLoggerCtx
Definition canrawlogger.h:13
Definition canrawlogger.h:15
Definition canrawlogger_p.h:13
void setSettings(const QJsonObject &json)
Definition canrawlogger_p.cpp:37
ComponentInterface::ComponentProperties getSupportedProperties() const
Definition canrawlogger_p.cpp:21
CanRawLoggerCtx _ctx
Definition canrawlogger_p.h:29
bool _simStarted
Definition canrawlogger_p.h:28
QFile _file
Definition canrawlogger_p.h:32
std::map< QString, QVariant > _props
Definition canrawlogger_p.h:30
QJsonObject getSettings()
Definition canrawlogger_p.cpp:26
void logFrame(const QCanBusFrame &frame, const QString &dir)
Definition canrawlogger_p.cpp:46
QString _filename
Definition canrawlogger_p.h:31
QElapsedTimer _timer
Definition canrawlogger_p.h:33
std::vector< ComponentProperty > ComponentProperties
Definition componentinterface.h:66
std::function< QWidget *(void)> CustomEditFieldCbk
Definition componentinterface.h:64
Definition propertyfields.h:49