CANpie FD
CAN programming interface environment - Version 3.08
|
The QCanPlugin class is the base class for CAN interface plug-ins, which can be used to add any kind of CAN interface cards to the CANpie FD Server.
For an example of the QCanPlugin class refer to the QCanPluginTemplate class located inside the source/qcan/applications/plugins/qcan_template
directory.
Inherits QObject.
Public Member Functions | |
virtual QCanInterface * | getInterface (uint8_t ubInterfaceV=0)=0 |
virtual QIcon | icon (void)=0 |
virtual uint8_t | interfaceCount (void)=0 |
virtual QString | name (void)=0 |
|
pure virtual |
[in] | ubInterfaceV | Number of CAN interface |
The function returns a pointer to a QCanInterface class defined by the parameter ubInterfaceV. The first interface starts at index 0. If the number of available interfaces is exceeded the function returns NULL.
|
pure virtual |
The function returns the icon of the plug-in.
|
pure virtual |
The function returns the number of CAN interfaces that are available.
|
pure virtual |
The function returns the name of the plug-in.