openDAQ
Open data acquisition platform
PacketReaderPtr Class Reference

A signal reader reads packets from a signal data stream. More...

+ Inheritance diagram for PacketReaderPtr:
+ Collaboration diagram for PacketReaderPtr:

Detailed Description

A signal reader reads packets from a signal data stream.

Public Member Functions

daq::PacketPtr read () const
 Retrieves the next available packet in the data-stream. More...
 
daq::ListPtr< daq::IPacket > readAll () const
 Retrieves all the currently available packets in the data-stream. More...
 
- Public Member Functions inherited from GenericReaderPtr< IPacketReader >
daq::SizeT getAvailableCount () const
 Gets the number of segments available to read. More...
 
void setOnDataAvailable (const daq::ProcedurePtr &callback) const
 Sets the specified callback function to be called when there is available data in the reader. More...
 
void setExternalListener (const daq::InputPortNotificationsPtr &listener) const
 Sets an external listener to the reader. More...
 
daq::Bool getEmpty () const
 Checks if there is data to read. More...