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

#include <cansignaldecoder_p.h>

Inheritance diagram for CanSignalDecoderPrivate:
Collaboration diagram for CanSignalDecoderPrivate:

Public Member Functions

 CanSignalDecoderPrivate (CanSignalDecoder *q, CanSignalDecoderCtx &&ctx=CanSignalDecoderCtx())
 
ComponentInterface::ComponentProperties getSupportedProperties () const
 
QJsonObject getSettings ()
 
void setSettings (const QJsonObject &json)
 
void decodeFrame (const QCanBusFrame &frame, Direction const direction, bool status)
 

Public Attributes

bool _simStarted { false }
 
CanSignalDecoderCtx _ctx
 
std::map< QString, QVariant > _props
 
CanDbHandler _db { _props, _dbProperty }
 

Constructor & Destructor Documentation

◆ CanSignalDecoderPrivate()

CanSignalDecoderPrivate::CanSignalDecoderPrivate ( CanSignalDecoder q,
CanSignalDecoderCtx &&  ctx = CanSignalDecoderCtx() 
)

Member Function Documentation

◆ decodeFrame()

void CanSignalDecoderPrivate::decodeFrame ( const QCanBusFrame &  frame,
Direction const  direction,
bool  status 
)

◆ getSettings()

QJsonObject CanSignalDecoderPrivate::getSettings ( )

◆ getSupportedProperties()

ComponentInterface::ComponentProperties CanSignalDecoderPrivate::getSupportedProperties ( ) const

◆ setSettings()

void CanSignalDecoderPrivate::setSettings ( const QJsonObject &  json)

Member Data Documentation

◆ _ctx

CanSignalDecoderCtx CanSignalDecoderPrivate::_ctx

◆ _db

CanDbHandler CanSignalDecoderPrivate::_db { _props, _dbProperty }

◆ _props

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

◆ _simStarted

bool CanSignalDecoderPrivate::_simStarted { false }

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