§ JsonAPI()
| JsonAPI::JsonAPI |
( |
QString |
peerAddress, |
|
|
Logger * |
log, |
|
|
QObject * |
parent, |
|
|
bool |
noListener = false |
|
) |
| |
Constructor.
- Parameters
-
| peerAddress | provide the Address of the peer |
| log | The Logger class of the creator |
| parent | Parent QObject |
| noListener | if true, this instance won't listen for hyperion push events |
§ handleMessage()
| void JsonAPI::handleMessage |
( |
const QString & |
message | ) |
|
Handle an incoming JSON message.
- Parameters
-
| message | the incoming message as string |
§ streamLedcolorsUpdate
| void JsonAPI::streamLedcolorsUpdate |
( |
const std::vector< ColorRgb > & |
ledColors | ) |
|
|
slot |
is called whenever the current Hyperion instance pushes new led raw values (if enabled)
- Parameters
-
| ledColors | The current ledColors |
The documentation for this class was generated from the following files: