CANdevStudio
Development tool for CAN bus simulation
Loading...
Searching...
No Matches
CanDeviceQt Struct Reference

#include <candeviceqt.h>

Inheritance diagram for CanDeviceQt:
Collaboration diagram for CanDeviceQt:

Public Member Functions

 CanDeviceQt ()=default
 
virtual void setParent (QObject *parent) override
 
virtual void setFramesWrittenCbk (const framesWritten_t &cb) override
 
virtual void setFramesReceivedCbk (const framesReceived_t &cb) override
 
virtual void setErrorOccurredCbk (const errorOccurred_t &cb) override
 
virtual bool init (const QString &backend, const QString &iface) override
 
virtual bool writeFrame (const QCanBusFrame &frame) override
 
virtual bool connectDevice () override
 
virtual qint64 framesAvailable () override
 
virtual QCanBusFrame readFrame () override
 
virtual void disconnectDevice () override
 
virtual void clearCallbacks () override
 
virtual void setConfigurationParameter (int key, const QVariant &value) override
 
- Public Member Functions inherited from CanDeviceInterface
virtual ~CanDeviceInterface ()
 

Additional Inherited Members

- Public Types inherited from CanDeviceInterface
typedef std::function< void(qint64)> framesWritten_t
 
typedef std::function< void()> framesReceived_t
 
typedef std::function< void(int)> errorOccurred_t
 

Constructor & Destructor Documentation

◆ CanDeviceQt()

CanDeviceQt::CanDeviceQt ( )
default

Member Function Documentation

◆ clearCallbacks()

virtual void CanDeviceQt::clearCallbacks ( )
inlineoverridevirtual

Implements CanDeviceInterface.

◆ connectDevice()

virtual bool CanDeviceQt::connectDevice ( )
inlineoverridevirtual

Implements CanDeviceInterface.

◆ disconnectDevice()

virtual void CanDeviceQt::disconnectDevice ( )
inlineoverridevirtual

Implements CanDeviceInterface.

◆ framesAvailable()

virtual qint64 CanDeviceQt::framesAvailable ( )
inlineoverridevirtual

Implements CanDeviceInterface.

◆ init()

virtual bool CanDeviceQt::init ( const QString &  backend,
const QString &  iface 
)
inlineoverridevirtual

Implements CanDeviceInterface.

◆ readFrame()

virtual QCanBusFrame CanDeviceQt::readFrame ( )
inlineoverridevirtual

Implements CanDeviceInterface.

◆ setConfigurationParameter()

virtual void CanDeviceQt::setConfigurationParameter ( int  key,
const QVariant &  value 
)
inlineoverridevirtual

Implements CanDeviceInterface.

◆ setErrorOccurredCbk()

virtual void CanDeviceQt::setErrorOccurredCbk ( const errorOccurred_t cb)
inlineoverridevirtual

Implements CanDeviceInterface.

◆ setFramesReceivedCbk()

virtual void CanDeviceQt::setFramesReceivedCbk ( const framesReceived_t cb)
inlineoverridevirtual

Implements CanDeviceInterface.

◆ setFramesWrittenCbk()

virtual void CanDeviceQt::setFramesWrittenCbk ( const framesWritten_t cb)
inlineoverridevirtual

Implements CanDeviceInterface.

◆ setParent()

virtual void CanDeviceQt::setParent ( QObject *  parent)
inlineoverridevirtual

Implements CanDeviceInterface.

◆ writeFrame()

virtual bool CanDeviceQt::writeFrame ( const QCanBusFrame &  frame)
inlineoverridevirtual

Implements CanDeviceInterface.


The documentation for this struct was generated from the following file: