
Public Member Functions | |
| Client (const QString &name) | |
| void | set_process_callback (ProcessCallback call) |
| void | set_transport_control_callback (TransportControlCallback call) |
| bool | is_smaller_then (APILinkedListNode *) |
Public Attributes | |
| ProcessCallback | process |
| TransportControlCallback | transport_control |
| QString | m_name |
Use the set_process_callback( ProcessCallback call) to set the Objects callback function. It's now save to add the Client to the AudioDevice, which will be done in a Thread save way, without using any mutual exclusion mechanisms.
| name | The name of the Client, this should be a unique name |
| void Client::set_process_callback | ( | ProcessCallback | call | ) |
Set this Client's process callback delegate to call.
The ProcessCallback is of type FastDelegate.
Use the convenience function MakeDelegate(this, &MyApp::process); to create a ProcessCallback delegate. See the AudioDevice for a code example
| call | The FastDelegate call to use as the callback function |
1.5.5