CANdevStudio
Development tool for CAN bus simulation
Loading...
Searching...
No Matches
CanRawPlayerPrivate Class Reference

#include <canrawplayer_p.h>

Inheritance diagram for CanRawPlayerPrivate:
Collaboration diagram for CanRawPlayerPrivate:

Public Member Functions

 CanRawPlayerPrivate (CanRawPlayer *q, CanRawPlayerCtx &&ctx=CanRawPlayerCtx())
 
ComponentInterface::ComponentProperties getSupportedProperties () const
 
QJsonObject getSettings ()
 
void setSettings (const QJsonObject &json)
 
void loadTraceFile (const QString &filename)
 
void startPlayback ()
 
void stopPlayback ()
 

Public Attributes

bool _simStarted { false }
 
CanRawPlayerCtx _ctx
 
std::map< QString, QVariant > _props
 
uint32_t _tick { 10 }
 
const QString _nameProperty = "name"
 
const QString _fileProperty = "file"
 
const QString _tickProperty = "timer tick [ms]"
 

Constructor & Destructor Documentation

◆ CanRawPlayerPrivate()

CanRawPlayerPrivate::CanRawPlayerPrivate ( CanRawPlayer q,
CanRawPlayerCtx &&  ctx = CanRawPlayerCtx() 
)

Member Function Documentation

◆ getSettings()

QJsonObject CanRawPlayerPrivate::getSettings ( )

◆ getSupportedProperties()

ComponentInterface::ComponentProperties CanRawPlayerPrivate::getSupportedProperties ( ) const

◆ loadTraceFile()

void CanRawPlayerPrivate::loadTraceFile ( const QString &  filename)

◆ setSettings()

void CanRawPlayerPrivate::setSettings ( const QJsonObject &  json)

◆ startPlayback()

void CanRawPlayerPrivate::startPlayback ( )

◆ stopPlayback()

void CanRawPlayerPrivate::stopPlayback ( )

Member Data Documentation

◆ _ctx

CanRawPlayerCtx CanRawPlayerPrivate::_ctx

◆ _fileProperty

const QString CanRawPlayerPrivate::_fileProperty = "file"

◆ _nameProperty

const QString CanRawPlayerPrivate::_nameProperty = "name"

◆ _props

std::map<QString, QVariant> CanRawPlayerPrivate::_props

◆ _simStarted

bool CanRawPlayerPrivate::_simStarted { false }

◆ _tick

uint32_t CanRawPlayerPrivate::_tick { 10 }

◆ _tickProperty

const QString CanRawPlayerPrivate::_tickProperty = "timer tick [ms]"

The documentation for this class was generated from the following files: