Deluge Firmware
Loading...
Searching...
No Matches
Public Member Functions | List of all members
VoiceVector Class Reference

#include <VoiceVector.h>

Inheritance diagram for VoiceVector:
Inheritance graph
Collaboration diagram for VoiceVector:
Collaboration graph

Public Member Functions

 VoiceVector ()
 
void getRangeForSound (Sound *sound, int *__restrict__ ends)
 
void checkVoiceExists (Voice *voice, Sound *sound, char const *errorCode)
 
VoicegetVoice (int index)
 
- Public Member Functions inherited from OrderedResizeableArrayWithMultiWordKey
 OrderedResizeableArrayWithMultiWordKey (int newElementSize=sizeof(uint32_t) *2, int newNumWordsInKey=2)
 
int searchMultiWord (uint32_t *__restrict__ keyWords, int comparison, int rangeBegin=0, int rangeEnd=-1)
 
int searchMultiWordExact (uint32_t *__restrict__ keyWords, int *getIndexToInsertAt=NULL, int rangeBegin=0)
 
int insertAtKeyMultiWord (uint32_t *__restrict__ keyWords, int rangeBegin=0, int rangeEnd=-1)
 
bool deleteAtKeyMultiWord (uint32_t *__restrict__ keyWords)
 
- Public Member Functions inherited from OrderedResizeableArrayWith32bitKey
 OrderedResizeableArrayWith32bitKey (int newElementSize, int newMaxNumEmptySpacesToKeep=16, int newNumExtraSpacesToAllocate=15)
 
void shiftHorizontal (int32_t amount, int32_t effectiveLength)
 
void searchDual (int32_t const *__restrict__ searchTerms, int *__restrict__ resultingIndexes)
 
void searchMultiple (int32_t *__restrict__ searchTerms, int numSearchTerms, int rangeEnd=-1)
 
bool generateRepeats (int32_t wrapPoint, int32_t endPos)
 
void testSearchMultiple ()
 
int32_t getKeyAtIndex (int i)
 
void setKeyAtIndex (int32_t key, int i)
 
- Public Member Functions inherited from OrderedResizeableArray
 OrderedResizeableArray (int newElementSize, int keyNumBits, int newKeyOffset=0, int newMaxNumEmptySpacesToKeep=16, int newNumExtraSpacesToAllocate=15)
 
int search (int32_t key, int comparison, int rangeBegin, int rangeEnd)
 
int search (int32_t key, int comparison, int rangeBegin=0)
 
int searchExact (int32_t key)
 
int insertAtKey (int32_t key, bool isDefinitelyLast=false)
 
void deleteAtKey (int32_t key)
 
void test ()
 
void testSequentiality (char const *errorCode)
 
void testDuplicates ()
 
int32_t getKeyAtIndex (int i)
 
void setKeyAtIndex (int32_t key, int i)
 
- Public Member Functions inherited from ResizeableArray
 ResizeableArray (int newElementSize, int newMaxNumEmptySpacesToKeep=16, int newNumExtrarSpacesToAllocate=15)
 
 ~ResizeableArray ()
 
void init ()
 
bool cloneFrom (ResizeableArray *other)
 
void empty ()
 
void swapStateWith (ResizeableArray *other)
 
void deleteAtIndex (int i, int numToDelete=1, bool mayShortenMemoryAfter=true)
 
bool ensureEnoughSpaceAllocated (int numAdditionalElementsNeeded)
 
int insertAtIndex (int i, int numToInsert=1, void *thingNotToStealFrom=NULL)
 
void swapElements (int i1, int i2)
 
void repositionElement (int iFrom, int iTo)
 
int beenCloned ()
 
void setMemory (void *newMemory, int newMemorySize)
 
void setStaticMemory (void *newMemory, int newMemorySize)
 
void moveElementsLeft (int oldStartIndex, int oldStopIndex, int distance)
 
void moveElementsRight (int oldStartIndex, int oldStopIndex, int distance)
 
void * getElementAddress (int index)
 
int getNumElements ()
 

Additional Inherited Members

- Public Attributes inherited from OrderedResizeableArrayWithMultiWordKey
int numWordsInKey
 
- Public Attributes inherited from ResizeableArray
unsigned int elementSize
 
bool emptyingShouldFreeMemory
 
uint32_t staticMemoryAllocationSize
 
- Protected Member Functions inherited from OrderedResizeableArrayWith32bitKey
int32_t getKeyAtMemoryLocation (void *address)
 
void setKeyAtMemoryLocation (int32_t key, void *address)
 
- Protected Member Functions inherited from OrderedResizeableArray
int32_t getKeyAtMemoryLocation (void *address)
 
void setKeyAtMemoryLocation (int32_t key, void *address)
 
- Protected Attributes inherited from ResizeableArray
void * memory
 
int numElements
 
int memorySize
 
int memoryStart
 
bool lock
 

Constructor & Destructor Documentation

◆ VoiceVector()

VoiceVector::VoiceVector ( )

Member Function Documentation

◆ checkVoiceExists()

void VoiceVector::checkVoiceExists ( Voice voice,
Sound sound,
char const *  errorCode 
)

◆ getRangeForSound()

void VoiceVector::getRangeForSound ( Sound sound,
int *__restrict__  ends 
)

◆ getVoice()

Voice * VoiceVector::getVoice ( int  index)
inline

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