Builder component of Multi reader objects. Contains setter methods to configure the Multi reader parameters and a build
method that builds the Unit object.
More...
Inherits ObjectPtr< IMultiReaderBuilder >.
Builder component of Multi reader objects. Contains setter methods to configure the Multi reader parameters and a build
method that builds the Unit object.
Public Member Functions | |
daq::MultiReaderPtr | build () const |
Builds and returns a Multi reader object using the currently set values of the Builder. More... | |
MultiReaderBuilderPtr | addSignal (const daq::SignalPtr &signal) const |
Adds the signal to list in multi reader. More... | |
MultiReaderBuilderPtr | addInputPort (const daq::InputPortPtr &port) const |
Adds the input port to list in multi reader. More... | |
daq::ListPtr< daq::IComponent > | getSourceComponents () const |
Gets the list of input ports. More... | |
MultiReaderBuilderPtr | setValueReadType (daq::SampleType type) const |
Sets the value signal read type. More... | |
daq::SampleType | getValueReadType () const |
Gets the value signal read type. More... | |
MultiReaderBuilderPtr | setDomainReadType (daq::SampleType type) const |
Sets the domain signal read type. More... | |
daq::SampleType | getDomainReadType () const |
Gets the domain signal read type. More... | |
MultiReaderBuilderPtr | setReadMode (daq::ReadMode mode) const |
Sets the read mode (Unscaled, Scaled, RawValue) More... | |
daq::ReadMode | getReadMode () const |
Gets the read mode (Unscaled, Scaled, RawValue) More... | |
MultiReaderBuilderPtr | setReadTimeoutType (daq::ReadTimeoutType type) const |
Sets the read timeout mode. More... | |
daq::ReadTimeoutType | getReadTimeoutType () const |
Gets the read timeout mode. More... | |
MultiReaderBuilderPtr | setRequiredCommonSampleRate (daq::Int sampleRate) const |
Sets the required common sample rate. More... | |
daq::Int | getRequiredCommonSampleRate () const |
Gets the required common sample rate. More... | |
MultiReaderBuilderPtr | setStartOnFullUnitOfDomain (daq::Bool enabled) const |
Sets the start on full unit of domain. More... | |
daq::Bool | getStartOnFullUnitOfDomain () const |
Gets the start on full unit of domain. More... | |
MultiReaderBuilderPtr | setMinReadCount (daq::SizeT minReadCount) const |
Sets the minimal number of samples to read. More... | |
daq::SizeT | getMinReadCount () const |
Gets the minimal number of samples to read. More... | |
|
inline |
Adds the input port to list in multi reader.
port | The input port which will be handled in multi reader |
|
inline |
Adds the signal to list in multi reader.
signal | The signal which will be handled in multi reader |
|
inline |
Builds and returns a Multi reader object using the currently set values of the Builder.
|
inline |
Gets the domain signal read type.
|
inline |
Gets the minimal number of samples to read.
If set, the reader will return 0 for getAvailableCount
if less than minReadCount
samples are available. It will also never read less than minReadCount
samples. The default value is 1.
|
inline |
Gets the read mode (Unscaled, Scaled, RawValue)
|
inline |
Gets the read timeout mode.
|
inline |
Gets the required common sample rate.
|
inline |
Gets the list of input ports.
|
inline |
Gets the start on full unit of domain.
|
inline |
Gets the value signal read type.
|
inline |
Sets the domain signal read type.
type | The domain signal read type |
|
inline |
Sets the minimal number of samples to read.
minReadCount | The minimal number of samples to read. |
If set, the reader will return 0 for getAvailableCount
if less than minReadCount
samples are available. It will also never read less than minReadCount
samples. The default value is 1.
|
inline |
Sets the read mode (Unscaled, Scaled, RawValue)
mode | The read mode |
|
inline |
Sets the read timeout mode.
type | The timeout mode. if "Any" returns immediately if there is available data otherwise time-out is exceeded. if "All" waiting until timeout and returns available data if existing. otherwise time-out is exceeded. |
|
inline |
Sets the required common sample rate.
sampleRate | The required common sample rate |
|
inline |
Sets the start on full unit of domain.
enabled | enable/disable start on full unit of domain |
|
inline |
Sets the value signal read type.
type | The value signal read type |