The configuration base class holds configuration options common to readers and writers. More...
#include <DataStorm/DataStorm.h>

Public Member Functions | |
| Config (std::optional< int > sampleCount=std::nullopt, std::optional< int > sampleLifetime=std::nullopt, std::optional< ClearHistoryPolicy > clearHistory=std::nullopt) noexcept | |
| Constructs a Config object. | |
Public Attributes | |
| std::optional< ClearHistoryPolicy > | clearHistory |
| The clear history policy specifies when samples are removed from the sample history. | |
| std::optional< int > | sampleCount |
| The sampleCount configuration specifies how many samples are kept by the reader or writer in its sample history. | |
| std::optional< int > | sampleLifetime |
| The sampleLifetime configuration specifies samples to keep in the writer or reader history based on their age. | |
The configuration base class holds configuration options common to readers and writers.