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

#include <pcinterface.h>

Inheritance diagram for PCInterface:

Public Types

using node_t = std::function< void(QtNodes::Node &)>
 
using menu_t = std::function< void(QtNodes::Node &, const QPointF &)>
 

Public Member Functions

virtual ~PCInterface ()
 
virtual void setNodeCreatedCallback (QtNodes::FlowScene *scene, const node_t &cb)=0
 
virtual void setNodeDeletedCallback (QtNodes::FlowScene *scene, const node_t &cb)=0
 
virtual void setNodeDoubleClickedCallback (QtNodes::FlowScene *scene, const node_t &cb)=0
 
virtual void setNodeContextMenuCallback (QtNodes::FlowScene *scene, const menu_t &cb)=0
 
virtual void setConfigChangedCbk (const node_t cb)=0
 
virtual void openProperties (QtNodes::Node &node)=0
 
virtual void showContextMenu (QMenu &menu, const QPoint &pos)=0
 

Member Typedef Documentation

◆ menu_t

using PCInterface::menu_t = std::function<void(QtNodes::Node&, const QPointF&)>

◆ node_t

using PCInterface::node_t = std::function<void(QtNodes::Node&)>

Constructor & Destructor Documentation

◆ ~PCInterface()

virtual PCInterface::~PCInterface ( )
inlinevirtual

Member Function Documentation

◆ openProperties()

virtual void PCInterface::openProperties ( QtNodes::Node &  node)
pure virtual

Implemented in PCImpl.

◆ setConfigChangedCbk()

virtual void PCInterface::setConfigChangedCbk ( const node_t  cb)
pure virtual

Implemented in PCImpl.

◆ setNodeContextMenuCallback()

virtual void PCInterface::setNodeContextMenuCallback ( QtNodes::FlowScene *  scene,
const menu_t cb 
)
pure virtual

Implemented in PCImpl.

◆ setNodeCreatedCallback()

virtual void PCInterface::setNodeCreatedCallback ( QtNodes::FlowScene *  scene,
const node_t cb 
)
pure virtual

Implemented in PCImpl.

◆ setNodeDeletedCallback()

virtual void PCInterface::setNodeDeletedCallback ( QtNodes::FlowScene *  scene,
const node_t cb 
)
pure virtual

Implemented in PCImpl.

◆ setNodeDoubleClickedCallback()

virtual void PCInterface::setNodeDoubleClickedCallback ( QtNodes::FlowScene *  scene,
const node_t cb 
)
pure virtual

Implemented in PCImpl.

◆ showContextMenu()

virtual void PCInterface::showContextMenu ( QMenu &  menu,
const QPoint &  pos 
)
pure virtual

Implemented in PCImpl.


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