MuseScore  3.4
Music composition and notation
Public Member Functions | Private Attributes | List of all members
VoiceFifo Class Reference

#include <zerberus.h>

Public Member Functions

 VoiceFifo ()
 
void init (Zerberus *z)
 
void push (Voice *v)
 
Voicepop ()
 
bool empty () const
 

Private Attributes

std::queue< Voice * > buffer
 
std::vector< std::unique_ptr< Voice > > voices
 

Constructor & Destructor Documentation

◆ VoiceFifo()

VoiceFifo::VoiceFifo ( )
inline

Member Function Documentation

◆ empty()

bool VoiceFifo::empty ( ) const
inline

◆ init()

void VoiceFifo::init ( Zerberus z)
inline

◆ pop()

Voice* VoiceFifo::pop ( )
inline

◆ push()

void VoiceFifo::push ( Voice v)
inline

Member Data Documentation

◆ buffer

std::queue<Voice*> VoiceFifo::buffer
private

◆ voices

std::vector< std::unique_ptr<Voice> > VoiceFifo::voices
private

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