DataStorm
0.1
Data Distribution Service
|
The WriterConfig class specifies configuration options specific to writers. More...
#include <DataStorm/DataStorm.h>
Public Member Functions | |
WriterConfig (Ice::optional< int > sampleCount=Ice::nullopt, Ice::optional< int > sampleLifetime=Ice::nullopt, Ice::optional< ClearHistoryPolicy > clearHistory=Ice::nullopt, Ice::optional< int > priority=Ice::nullopt) noexcept | |
Construct a WriterConfig object. More... | |
![]() | |
Config (Ice::optional< int > sampleCount=Ice::nullopt, Ice::optional< int > sampleLifetime=Ice::nullopt, Ice::optional< ClearHistoryPolicy > clearHistory=Ice::nullopt) noexcept | |
Construct a Config object. More... | |
Public Attributes | |
Ice::optional< int > | priority |
Specifies the writer priority. More... | |
![]() | |
Ice::optional< int > | sampleCount |
The sampleCount configuration specifies how many samples are kept by the reader or writer in its sample history. More... | |
Ice::optional< int > | sampleLifetime |
The sampleLifetime configuration specifies samples to keep in the writer or reader history based on their age. More... | |
Ice::optional< ClearHistoryPolicy > | clearHistory |
The clear history policy specifies when samples are removed from the sample history. More... | |
The WriterConfig class specifies configuration options specific to writers.
It extends the Config class and therefore inherits its configuration options.
|
inlinenoexcept |
Construct a WriterConfig object.
The constructor accepts optional parameters for each of the WriterConfig data members.
sampleCount | The optional sample count. |
sampleLifetime | The optional sample lifetime. |
clearHistory | The optional clear history policy. |
priority | The writer priority. |
Ice::optional<int> DataStorm::WriterConfig::priority |
Specifies the writer priority.
The priority is used by readers using the priority discard policy.