MuseScore  3.4
Music composition and notation
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Ms::FifoBase Class Reference

#include <fifo.h>

Inheritance diagram for Ms::FifoBase:
Inheritance graph
[legend]

Public Member Functions

 FifoBase ()
 
virtual ~FifoBase ()
 
void clear ()
 
int count () const
 
bool empty () const
 
bool isFull () const
 

Protected Member Functions

void push ()
 
void pop ()
 

Protected Attributes

int ridx
 
int widx
 
std::atomic< int > counter
 
int maxCount
 

Constructor & Destructor Documentation

◆ FifoBase()

Ms::FifoBase::FifoBase ( )
inline

◆ ~FifoBase()

virtual Ms::FifoBase::~FifoBase ( )
inlinevirtual

Member Function Documentation

◆ clear()

void Ms::FifoBase::clear ( )

◆ count()

int Ms::FifoBase::count ( ) const
inline

◆ empty()

bool Ms::FifoBase::empty ( ) const
inline

◆ isFull()

bool Ms::FifoBase::isFull ( ) const
inline

◆ pop()

void Ms::FifoBase::pop ( )
protected

◆ push()

void Ms::FifoBase::push ( )
protected

Member Data Documentation

◆ counter

std::atomic<int> Ms::FifoBase::counter
protected

◆ maxCount

int Ms::FifoBase::maxCount
protected

◆ ridx

int Ms::FifoBase::ridx
protected

◆ widx

int Ms::FifoBase::widx
protected

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