openDAQ
Open data acquisition platform
BlockReaderStatusPtr Class Reference

IBlockReaderStatus inherits from IReaderStatus to expand information returned read function. More...

+ Inheritance diagram for BlockReaderStatusPtr:
+ Collaboration diagram for BlockReaderStatusPtr:

Detailed Description

IBlockReaderStatus inherits from IReaderStatus to expand information returned read function.

Public Member Functions

daq::SizeT getReadSamples () const
 Returns the number of samples that were read. Sometimes, during the process of reading, an event packet may occur that stops the reading of remaining samples. Developers can use this function to determine how many samples were actually read. More...
 
- Public Member Functions inherited from GenericReaderStatusPtr< IBlockReaderStatus >
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...