engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
TCircularHistoryBuffer< ElementType > 模板类 参考

Modeled after TCircularBuffer/Queue, but resizable with it's own stack-style way of indexing (0 = most recent value added) 更多...

#include <MotionDelayBuffer.h>

Public 成员函数

ElementType & operator[] (uint32 Index)
 NOTE: Will clamp to the oldest value available if the buffer isn't full and the index is larger than the number of values buffered. 更多...
 

详细描述

template<typename ElementType>
class TCircularHistoryBuffer< ElementType >

Modeled after TCircularBuffer/Queue, but resizable with it's own stack-style way of indexing (0 = most recent value added)

成员函数说明

◆ operator[]()

template<typename ElementType >
ElementType & TCircularHistoryBuffer< ElementType >::operator[] ( uint32  Index)

NOTE: Will clamp to the oldest value available if the buffer isn't full and the index is larger than the number of values buffered.

参数
IndexStack-esque indexing: 0 => the most recent value added, 1+n => Older entries, 1+n back from the newest.

该类的文档由以下文件生成: