JUCE  v5.4.1-191-g0ab5e696f
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
littlefoot::LittleFootRemoteHeap< ImplementationClass >::Diff Struct Reference
Collaboration diagram for littlefoot::LittleFootRemoteHeap< ImplementationClass >::Diff:

Classes

struct  ByteSequence
 

Public Member Functions

 Diff (uint16 *current, const uint8 *target, size_t blockSizeToUse)
 
bool createChangeMessage (const ImplementationClass &bi, const uint16 *currentState, OwnedArray< ChangeMessage > &messagesCreated, uint32 nextPacketIndex)
 

Private Member Functions

void coalesceSequences ()
 
void coalesceUniformRegions ()
 
void trim ()
 

Private Attributes

const size_t blockSize
 
const uint8 *const newData
 
Array< ByteSequenceranges
 

Constructor & Destructor Documentation

◆ Diff()

template<typename ImplementationClass >
littlefoot::LittleFootRemoteHeap< ImplementationClass >::Diff::Diff ( uint16 current,
const uint8 target,
size_t  blockSizeToUse 
)
inline

References int().

Member Function Documentation

◆ coalesceSequences()

template<typename ImplementationClass >
void littlefoot::LittleFootRemoteHeap< ImplementationClass >::Diff::coalesceSequences ( )
inlineprivate

References juce::jmin().

◆ coalesceUniformRegions()

template<typename ImplementationClass >
void littlefoot::LittleFootRemoteHeap< ImplementationClass >::Diff::coalesceUniformRegions ( )
inlineprivate

References juce::jmin().

◆ createChangeMessage()

template<typename ImplementationClass >
bool littlefoot::LittleFootRemoteHeap< ImplementationClass >::Diff::createChangeMessage ( const ImplementationClass &  bi,
const uint16 currentState,
OwnedArray< ChangeMessage > &  messagesCreated,
uint32  nextPacketIndex 
)
inline

◆ trim()

template<typename ImplementationClass >
void littlefoot::LittleFootRemoteHeap< ImplementationClass >::Diff::trim ( )
inlineprivate

Member Data Documentation

◆ blockSize

template<typename ImplementationClass >
const size_t littlefoot::LittleFootRemoteHeap< ImplementationClass >::Diff::blockSize
private

◆ newData

template<typename ImplementationClass >
const uint8* const littlefoot::LittleFootRemoteHeap< ImplementationClass >::Diff::newData
private

◆ ranges

template<typename ImplementationClass >
Array<ByteSequence> littlefoot::LittleFootRemoteHeap< ImplementationClass >::Diff::ranges
private

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