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

Public Member Functions | |
| WriterConfig (std::optional< int > sampleCount=std::nullopt, std::optional< int > sampleLifetime=std::nullopt, std::optional< ClearHistoryPolicy > clearHistory=std::nullopt, std::optional< int > priority=std::nullopt) noexcept | |
| Constructs a WriterConfig 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< int > | priority |
| Specifies the writer priority. The priority is used by readers using the priority discard policy. | |
| 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 WriterConfig class specifies configuration options specific to writers.
It extends the Config class and therefore inherits its configuration options.