18#ifndef itkRingBuffer_h
19#define itkRingBuffer_h
39template <
typename TElement>
95 return this->m_HeadIndex;
124 std::vector<ElementPointer> m_PointerVector{};
129#ifndef ITK_MANUAL_INSTANTIATION
130# include "itkRingBuffer.hxx"
Control indentation during Print() invocation.
Light weight base class for most itk classes.
Base class for most ITK classes.
Templated ring buffer for holding anything.
void MoveHead(OffsetValueType offset)
bool BufferIsFull(OffsetValueType offset)
void PrintSelf(std::ostream &os, Indent indent) const override
void SetBufferContents(OffsetValueType offset, ElementPointer element)
typename ElementType::Pointer ElementPointer
SizeValueType GetNumberOfBuffers()
SizeValueType GetHeadIndex()
void SetNumberOfBuffers(SizeValueType n)
ElementType::Pointer GetBufferContents(OffsetValueType offset)
~RingBuffer() override=default
itk::SizeValueType SizeValueType
itk::OffsetValueType OffsetValueType
OffsetValueType GetOffsetBufferIndex(OffsetValueType offset)
SmartPointer< Self > Pointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned long SizeValueType