iPlug2 - C++ Audio Plug-in Framework
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
IMidiQueueBase< T > Class Template Reference

A class to help with queuing timestamped MIDI messages. More...

#include <IPlugMidi.h>

Public Member Functions

 IMidiQueueBase (int size=DEFAULT_BLOCK_SIZE)
 
void Add (const T &msg)
 
void Remove ()
 
bool Empty () const
 
int ToDo () const
 
int GetSize () const
 
T & Peek () const
 
void Flush (int nFrames)
 
void Clear ()
 
int Resize (int size)
 

Protected Member Functions

bool Expand ()
 
void Compact ()
 
int Granulize (int size) const
 

Protected Attributes

T * mBuf
 
int mSize
 
int mGrow
 
int mFront
 
int mBack
 

Detailed Description

template<class T>
class IMidiQueueBase< T >

A class to help with queuing timestamped MIDI messages.

Definition at line 681 of file IPlugMidi.h.

Constructor & Destructor Documentation

◆ IMidiQueueBase()

template<class T >
IMidiQueueBase< T >::IMidiQueueBase ( int  size = DEFAULT_BLOCK_SIZE)
inline

Definition at line 684 of file IPlugMidi.h.

◆ ~IMidiQueueBase()

template<class T >
IMidiQueueBase< T >::~IMidiQueueBase ( )
inline

Definition at line 690 of file IPlugMidi.h.

Member Function Documentation

◆ Add()

template<class T >
void IMidiQueueBase< T >::Add ( const T &  msg)
inline

Definition at line 697 of file IPlugMidi.h.

◆ Clear()

template<class T >
void IMidiQueueBase< T >::Clear ( )
inline

Definition at line 753 of file IPlugMidi.h.

◆ Compact()

template<class T >
void IMidiQueueBase< T >::Compact ( )
inlineprotected

Definition at line 788 of file IPlugMidi.h.

◆ Empty()

template<class T >
bool IMidiQueueBase< T >::Empty ( ) const
inline

Definition at line 727 of file IPlugMidi.h.

◆ Expand()

template<class T >
bool IMidiQueueBase< T >::Expand ( )
inlineprotected

Definition at line 774 of file IPlugMidi.h.

◆ Flush()

template<class T >
void IMidiQueueBase< T >::Flush ( int  nFrames)
inline

Definition at line 743 of file IPlugMidi.h.

◆ GetSize()

template<class T >
int IMidiQueueBase< T >::GetSize ( ) const
inline

Definition at line 734 of file IPlugMidi.h.

◆ Granulize()

template<class T >
int IMidiQueueBase< T >::Granulize ( int  size) const
inlineprotected

Definition at line 796 of file IPlugMidi.h.

◆ Peek()

template<class T >
T & IMidiQueueBase< T >::Peek ( ) const
inline

Definition at line 738 of file IPlugMidi.h.

◆ Remove()

template<class T >
void IMidiQueueBase< T >::Remove ( )
inline

Definition at line 724 of file IPlugMidi.h.

◆ Resize()

template<class T >
int IMidiQueueBase< T >::Resize ( int  size)
inline

Definition at line 756 of file IPlugMidi.h.

◆ ToDo()

template<class T >
int IMidiQueueBase< T >::ToDo ( ) const
inline

Definition at line 730 of file IPlugMidi.h.

Member Data Documentation

◆ mBack

template<class T >
int IMidiQueueBase< T >::mBack
protected

Definition at line 807 of file IPlugMidi.h.

◆ mBuf

template<class T >
T* IMidiQueueBase< T >::mBuf
protected

Definition at line 804 of file IPlugMidi.h.

◆ mFront

template<class T >
int IMidiQueueBase< T >::mFront
protected

Definition at line 807 of file IPlugMidi.h.

◆ mGrow

template<class T >
int IMidiQueueBase< T >::mGrow
protected

Definition at line 806 of file IPlugMidi.h.

◆ mSize

template<class T >
int IMidiQueueBase< T >::mSize
protected

Definition at line 806 of file IPlugMidi.h.


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