adtf_file_library  0.13.2
Public Member Functions | List of all members
utils5ext::FileRingBuffer< ADDITIONAL_DATA, alignment >::DropCallback Class Referenceabstract

#include <fileringbuffer.h>

Public Member Functions

virtual void onDrop (const Item &dropped_item, const Item &next_item)=0
 

Detailed Description

template<typename ADDITIONAL_DATA = uint8_t, uint8_t alignment = 1>
class utils5ext::FileRingBuffer< ADDITIONAL_DATA, alignment >::DropCallback

Callback interface for dropped items.

Member Function Documentation

◆ onDrop()

template<typename ADDITIONAL_DATA = uint8_t, uint8_t alignment = 1>
virtual void utils5ext::FileRingBuffer< ADDITIONAL_DATA, alignment >::DropCallback::onDrop ( const Item dropped_item,
const Item next_item 
)
pure virtual

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

Parameters
[in]dropped_itemThe dropped item
[in]next_itemThe item after the dropped item, i.e. the new head of the buffer.

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

Copyright © CARIAD SE.
Generated on Mon Jun 10 2024 by doxygen 1.9.1
GIT Commit Hash: eb3af397a6b49ad6fcad9a60d8277d909b458b48