CANdevStudio
Development tool for CAN bus simulation
Loading...
Searching...
No Matches
CanSignalSenderGuiInt Struct Referenceabstract

#include <cansignalsenderguiint.h>

Inheritance diagram for CanSignalSenderGuiInt:

Public Types

using dockUndock_t = std::function< void()>
 
using remove_t = std::function< void()>
 
using add_t = std::function< void()>
 
using send_t = std::function< void(const QString &, const QString &, const QVariant &)>
 

Public Member Functions

virtual ~CanSignalSenderGuiInt ()
 
virtual QWidget * mainWidget ()=0
 
virtual void initTv (QStandardItemModel &tvModel, const CanDbHandler *db)=0
 
virtual void setRemoveCbk (const remove_t &cb)=0
 
virtual void setAddCbk (const add_t &cb)=0
 
virtual void setDockUndockCbk (const dockUndock_t &cb)=0
 
virtual void setSendCbk (const send_t &cbk)=0
 
virtual void addRow (const QString &id="", const QString &sig="", const QString &val="")=0
 
virtual QJsonArray getRows ()=0
 
virtual QModelIndexList getSelectedRows ()=0
 

Member Typedef Documentation

◆ add_t

using CanSignalSenderGuiInt::add_t = std::function<void()>

◆ dockUndock_t

using CanSignalSenderGuiInt::dockUndock_t = std::function<void()>

◆ remove_t

using CanSignalSenderGuiInt::remove_t = std::function<void()>

◆ send_t

using CanSignalSenderGuiInt::send_t = std::function<void(const QString&, const QString&, const QVariant&)>

Constructor & Destructor Documentation

◆ ~CanSignalSenderGuiInt()

virtual CanSignalSenderGuiInt::~CanSignalSenderGuiInt ( )
inlinevirtual

Member Function Documentation

◆ addRow()

virtual void CanSignalSenderGuiInt::addRow ( const QString &  id = "",
const QString &  sig = "",
const QString &  val = "" 
)
pure virtual

Implemented in CanSignalSenderGuiImpl.

◆ getRows()

virtual QJsonArray CanSignalSenderGuiInt::getRows ( )
pure virtual

Implemented in CanSignalSenderGuiImpl.

◆ getSelectedRows()

virtual QModelIndexList CanSignalSenderGuiInt::getSelectedRows ( )
pure virtual

Implemented in CanSignalSenderGuiImpl.

◆ initTv()

virtual void CanSignalSenderGuiInt::initTv ( QStandardItemModel &  tvModel,
const CanDbHandler db 
)
pure virtual

Implemented in CanSignalSenderGuiImpl.

◆ mainWidget()

virtual QWidget * CanSignalSenderGuiInt::mainWidget ( )
pure virtual

Implemented in CanSignalSenderGuiImpl.

◆ setAddCbk()

virtual void CanSignalSenderGuiInt::setAddCbk ( const add_t cb)
pure virtual

Implemented in CanSignalSenderGuiImpl.

◆ setDockUndockCbk()

virtual void CanSignalSenderGuiInt::setDockUndockCbk ( const dockUndock_t cb)
pure virtual

Implemented in CanSignalSenderGuiImpl.

◆ setRemoveCbk()

virtual void CanSignalSenderGuiInt::setRemoveCbk ( const remove_t cb)
pure virtual

Implemented in CanSignalSenderGuiImpl.

◆ setSendCbk()

virtual void CanSignalSenderGuiInt::setSendCbk ( const send_t cbk)
pure virtual

Implemented in CanSignalSenderGuiImpl.


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