#include <apicomponent.h>
Public Member Functions | |
| APICallBack ()=delete | |
| ~APICallBack () | |
| APICallBack (APICallBack &)=delete | |
| APICallBack & | operator= (const APICallBack &)=delete |
| APICallBack (APICallBack &&)=delete | |
| APICallBack & | operator= (APICallBack &&)=delete |
| APICallBack (const APISignature &signature) | |
Public Attributes | |
| Signal< const APIEvent & > | messageReceived |
| called when this callback receives an API message More... | |
Helper class, allows for binding a callback to an api signature. This object is created and managed by the APIComponent. Listen to the messageReceived signal to receive api events that target a specific api signature. Use APIComponent::getOrCreateCallback() to acquire a callback based on an API signature.
|
delete |
| ~APICallBack | ( | ) |
|
delete |
Copy is not allowed
|
delete |
Move is not allowed
| APICallBack | ( | const APISignature & | signature | ) |
Creates a callback based on the given api signature
| signature | the method signature to create a callback for |
|
delete |
|
delete |