iPlug2 - C++ Audio Plug-in Framework
Public Member Functions | Static Public Attributes | List of all members
ISender< MAXNC, QUEUE_SIZE, T > Class Template Reference

ISender is a utility class which can be used to defer data from the realtime audio processing and send it to the GUI for visualization. More...

#include <ISender.h>

Public Member Functions

void PushData (const ISenderData< MAXNC, T > &d)
 Pushes a data element onto the queue. More...
 
void TransmitData (IEditorDelegate &dlg)
 Pops elements off the queue and sends messages to controls. More...
 

Static Public Attributes

static constexpr int kUpdateMessage = 0
 

Detailed Description

template<int MAXNC = 1, int QUEUE_SIZE = 64, typename T = float>
class ISender< MAXNC, QUEUE_SIZE, T >

ISender is a utility class which can be used to defer data from the realtime audio processing and send it to the GUI for visualization.

Definition at line 57 of file ISender.h.

Member Function Documentation

template<int MAXNC = 1, int QUEUE_SIZE = 64, typename T = float>
void ISender< MAXNC, QUEUE_SIZE, T >::PushData ( const ISenderData< MAXNC, T > &  d)
inline

Pushes a data element onto the queue.

This can be called on the realtime audio thread.

Definition at line 63 of file ISender.h.

Referenced by IPeakSender< MAXNC, QUEUE_SIZE >::ProcessBlock().

template<int MAXNC = 1, int QUEUE_SIZE = 64, typename T = float>
void ISender< MAXNC, QUEUE_SIZE, T >::TransmitData ( IEditorDelegate dlg)
inline

Pops elements off the queue and sends messages to controls.

This must be called on the main thread - typically in MyPlugin::OnIdle()

Definition at line 70 of file ISender.h.


The documentation for this class was generated from the following file: