ADTF  3.18.4
cFileRingBuffer< ADDITIONAL_DATA, ALIGNMENT >::IDropCallbackabstract

Callback interface for dropped items. More...

Public Member Functions

virtual tResult OnDrop (const tItem &sDroppedItem, const tItem &sNextItem)=0
 Called whenever an item is removed from the head of the buffer. More...
 

Detailed Description

template<typename ADDITIONAL_DATA = tUInt8, tUInt8 ALIGNMENT = 1>
class A_UTILS_NS::cFileRingBuffer< ADDITIONAL_DATA, ALIGNMENT >::IDropCallback

Callback interface for dropped items.

Definition at line 45 of file fileringbuffer.h.

Member Function Documentation

◆ OnDrop()

virtual tResult OnDrop ( const tItem sDroppedItem,
const tItem sNextItem 
)
pure virtual

Called whenever an item is removed from the head of the buffer.

Parameters
[in]sDroppedItemThe dropped item
[in]sNextItemThe item after the dropped item, i.e. the new head of the buffer.
Returns
Return a Standard result, this will be passed on by AppendItem.

Referenced by cFileRingBuffer< ADDITIONAL_DATA, ALIGNMENT >::PopFront().