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

#include <cansignalencoder_p.h>

Inheritance diagram for CanSignalEncoderPrivate:
Collaboration diagram for CanSignalEncoderPrivate:

Public Slots

void initCacheAndTimers ()
 

Public Member Functions

 CanSignalEncoderPrivate (CanSignalEncoder *q, CanSignalEncoderCtx &&ctx=CanSignalEncoderCtx())
 
ComponentInterface::ComponentProperties getSupportedProperties () const
 
QJsonObject getSettings ()
 
void setSettings (const QJsonObject &json)
 
void encodeSignal (const QString &name, const QVariant &val)
 

Public Attributes

bool _simStarted { false }
 
CanSignalEncoderCtx _ctx
 
std::map< QString, QVariant > _props
 
CanDbHandler _db { _props, _dbProperty }
 
std::vector< std::unique_ptr< QTimer > > _cycleTimers
 

Constructor & Destructor Documentation

◆ CanSignalEncoderPrivate()

CanSignalEncoderPrivate::CanSignalEncoderPrivate ( CanSignalEncoder q,
CanSignalEncoderCtx &&  ctx = CanSignalEncoderCtx() 
)

Member Function Documentation

◆ encodeSignal()

void CanSignalEncoderPrivate::encodeSignal ( const QString &  name,
const QVariant &  val 
)

◆ getSettings()

QJsonObject CanSignalEncoderPrivate::getSettings ( )

◆ getSupportedProperties()

ComponentInterface::ComponentProperties CanSignalEncoderPrivate::getSupportedProperties ( ) const

◆ initCacheAndTimers

void CanSignalEncoderPrivate::initCacheAndTimers ( )
slot

◆ setSettings()

void CanSignalEncoderPrivate::setSettings ( const QJsonObject &  json)

Member Data Documentation

◆ _ctx

CanSignalEncoderCtx CanSignalEncoderPrivate::_ctx

◆ _cycleTimers

std::vector<std::unique_ptr<QTimer> > CanSignalEncoderPrivate::_cycleTimers

◆ _db

CanDbHandler CanSignalEncoderPrivate::_db { _props, _dbProperty }

◆ _props

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

◆ _simStarted

bool CanSignalEncoderPrivate::_simStarted { false }

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