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

#include <canload_p.h>

Inheritance diagram for CanLoadPrivate:
Collaboration diagram for CanLoadPrivate:

Public Member Functions

 CanLoadPrivate (CanLoad *q, CanLoadCtx &&ctx=CanLoadCtx())
 
ComponentInterface::ComponentProperties getSupportedProperties () const
 
QJsonObject getSettings ()
 
void setSettings (const QJsonObject &json)
 

Public Attributes

bool _simStarted { false }
 
CanLoadCtx _ctx
 
std::map< QString, QVariant > _props
 
const QString _nameProperty = "name"
 
const QString _periodProperty = "period [ms]"
 
const QString _bitrateProperty = "bitrate [bps]"
 
uint32_t _period = 0
 
uint32_t _bitrate = 0
 
uint32_t _div = 0
 
uint64_t _totalBits = 0
 
QTimer _timer
 

Constructor & Destructor Documentation

◆ CanLoadPrivate()

CanLoadPrivate::CanLoadPrivate ( CanLoad q,
CanLoadCtx &&  ctx = CanLoadCtx() 
)

Member Function Documentation

◆ getSettings()

QJsonObject CanLoadPrivate::getSettings ( )

◆ getSupportedProperties()

ComponentInterface::ComponentProperties CanLoadPrivate::getSupportedProperties ( ) const

◆ setSettings()

void CanLoadPrivate::setSettings ( const QJsonObject &  json)

Member Data Documentation

◆ _bitrate

uint32_t CanLoadPrivate::_bitrate = 0

◆ _bitrateProperty

const QString CanLoadPrivate::_bitrateProperty = "bitrate [bps]"

◆ _ctx

CanLoadCtx CanLoadPrivate::_ctx

◆ _div

uint32_t CanLoadPrivate::_div = 0

◆ _nameProperty

const QString CanLoadPrivate::_nameProperty = "name"

◆ _period

uint32_t CanLoadPrivate::_period = 0

◆ _periodProperty

const QString CanLoadPrivate::_periodProperty = "period [ms]"

◆ _props

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

◆ _simStarted

bool CanLoadPrivate::_simStarted { false }

◆ _timer

QTimer CanLoadPrivate::_timer

◆ _totalBits

uint64_t CanLoadPrivate::_totalBits = 0

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