JUCE  v5.2.0-514-g49784a029
JUCE API
juce::littlefoot::LittleFootRemoteHeap< ImplementationClass >::Diff Struct Reference
Collaboration diagram for juce::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 >
juce::littlefoot::LittleFootRemoteHeap< ImplementationClass >::Diff::Diff ( uint16 current,
const uint8 target,
size_t  blockSizeToUse 
)
inline

Member Function Documentation

◆ coalesceSequences()

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

◆ coalesceUniformRegions()

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

◆ createChangeMessage()

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

◆ trim()

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

Member Data Documentation

◆ blockSize

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

◆ newData

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

◆ ranges

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

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