-
Notifications
You must be signed in to change notification settings - Fork 23
QuantumGate Callbacks
Karel Donk edited this page Jan 18, 2020
·
6 revisions
Callback functions are used within QuantumGate to asynchronously notify you of certain events taking place on an instance. You can usually pass them into an instance as a parameter to another function call.
The basic type of a callback function is QuantumGate::Callback
. The signature of the function is specified as a template parameter.
Certain often used callback function types are declared with using
statements to make them easier to handle as parameters and to make the code more readable. These callback function types are listed below.
Type |
---|
QuantumGate::ConnectCallback |
QuantumGate::DisconnectCallback |
QuantumGate::SendCallback |