openDAQ
Open data acquisition platform
GenericReaderStatusPtr< InterfaceType > Class Template Reference

Represents the status of the reading process returned by the reader::read function. More...

Detailed Description

template<typename InterfaceType>
class GenericReaderStatusPtr< InterfaceType >

Represents the status of the reading process returned by the reader::read function.

The IReaderStatus class provides information about the outcome of the reading operation, including the validity of the reader and the potential encounter of event packets during processing. Objects of this class are typically returned as a result of the read function of the Readers, allowing the client code to assess and respond to the status of the reading process.

Public Member Functions

daq::ReadStatus getReadStatus () const
 Retrieves the current reading status, indicating whether the reading process is in an "Ok" state, has encountered an Event, has failed, or is in an Unknown state. More...
 
daq::EventPacketPtr getEventPacket () const
 Retrieves the event packet from the reading process. More...
 
daq::Bool getValid () const
 Checks the validity of the reader. More...
 
daq::NumberPtr getOffset () const
 Retrieves the offset of the the read values. More...