Class HistoryManager::HistoryElement

Nested Relationships

This class is a nested type of Template Class HistoryManager.

Class Documentation

class HistoryManager::HistoryElement

Buffer element type

Public Types

typedef TArray<T> DataContainer

Buffer element data type

Public Functions

inline HistoryElement(const DataContainer &rawData, float timestamp)

Constructor

Parameters
  • rawData – Buffer element data (copy)

  • timestamp – Buffer element timestamp

inline ~HistoryElement()

Destructor

HistoryElement(HistoryElement const &x) = delete

Disable copy constructor

Parameters

x

void operator=(HistoryElement const &x) = delete

Disable copy assignment

Parameters

x

inline const DataContainer &get_rawData() const

Gets the reference to the buffer container

Returns

Buffer container

inline void set_rawDataValue(const int index, const T &value)

Set the value for an specific buffer position

Parameters
  • index – Element Position

  • value – Element value

inline const float &get_timestamp() const

Get the timestamp for this history element

Returns

Timestamp of the container

inline void set_timestamp(const float timestamp)

Set the timestamp for this history element

Parameters

timestamp – New timestamp of the container