The ReaderConfig class specifies configuration options specific to readers. More...
#include <DataStorm/DataStorm.h>

Public Member Functions | |
| ReaderConfig (std::optional< int > sampleCount=std::nullopt, std::optional< int > sampleLifetime=std::nullopt, std::optional< ClearHistoryPolicy > clearHistory=std::nullopt, std::optional< DiscardPolicy > discardPolicy=std::nullopt) noexcept | |
| Constructs a ReaderConfig object. | |
| Public Member Functions inherited from DataStorm::Config | |
| 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< DiscardPolicy > | discardPolicy |
| Specifies if and how samples are discarded after being received by a reader. | |
| Public Attributes inherited from DataStorm::Config | |
| 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 ReaderConfig class specifies configuration options specific to readers.
It extends the Config class and therefore inherits its configuration options.