kbLogger 2.0.b1
The automotive ready test and logging program.
|
This class defines the API of the ConfigItemComObject.
#include <configitemcomobject.h>
Public Slots | |
ComDevice related functions. | |
virtual QString | getConfiguration () |
virtual ScriptValue | getConfiguration (QString strKey) |
virtual void | setBinMode (bool bBinMode) |
Set the binary mode. | |
virtual void | handleCommand (QString strCommand) |
Handle ComDevice specific commands. | |
ComDeviceRs232 related functions. | |
virtual void | RS232_setBaudRate (int BaudRate) |
Set the BaudRate. | |
|
virtualslot |
Get the configuration of the ConfigItemComObject
The ConfigItem has settings in the project file (*.klp). All of those key value pairs are returned in a string like this: "key1=value1,key2=value2"
Example:
|
virtualslot |
Get the configuration of the ConfigItemComObject
The ConfigItem has setting for the given key in the project file (*.klp).
Example:
|
virtualslot |
Handle ComObject specific commands.
In this moment, possible commands are: "open", "close", "reopen"
Example:
strCommand |
|
virtualslot |
This function is changing the BaudRate of the ComObject in case the ComObject is of type Rs232Object.
Example:
BaudRate | The baud rate to set. |
|
virtualslot |
Set the binary mode.
Example:
bBinMode | Set to true to activate the binary mode, otherwise set it to false. |