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

#include <SampleClusterArray.h>

Inheritance diagram for SampleClusterArray:
Inheritance graph
Collaboration diagram for SampleClusterArray:
Collaboration graph

Public Member Functions

 SampleClusterArray ()
 
int insertSampleClustersAtEnd (int numToInsert)
 
SampleClustergetElement (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 ResizeableArray
unsigned int elementSize
 
bool emptyingShouldFreeMemory
 
uint32_t staticMemoryAllocationSize
 
- Protected Attributes inherited from ResizeableArray
void * memory
 
int numElements
 
int memorySize
 
int memoryStart
 
bool lock
 

Constructor & Destructor Documentation

◆ SampleClusterArray()

SampleClusterArray::SampleClusterArray ( )

Member Function Documentation

◆ getElement()

SampleCluster * SampleClusterArray::getElement ( int  i)

◆ insertSampleClustersAtEnd()

int SampleClusterArray::insertSampleClustersAtEnd ( int  numToInsert)

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