|
| void | newCallback (QJsonObject) |
| | Emits whenever a new json mesage callback is ready to send. More...
|
| |
§ getCommands()
| QStringList JsonCB::getCommands |
( |
| ) |
|
|
inline |
Get all possible commands to subscribe for.
- Returns
- The list of commands
§ getSubscribedCommands()
| QStringList JsonCB::getSubscribedCommands |
( |
| ) |
|
|
inline |
Get all subscribed commands.
- Returns
- The list of commands
§ newCallback
| void JsonCB::newCallback |
( |
QJsonObject |
| ) |
|
|
signal |
Emits whenever a new json mesage callback is ready to send.
- Parameters
-
§ subscribeFor()
| bool JsonCB::subscribeFor |
( |
const QString & |
cmd | ) |
|
Subscribe to future data updates given by cmd.
- Parameters
-
| cmd | The cmd which will be subscribed for |
- Returns
- True on success, false if not found
The documentation for this class was generated from the following files:
- include/api/JsonCB.h
- libsrc/api/JsonCB.cpp