openDAQ
Open data acquisition platform
WrappedDataPacketPtr Class Reference

Data packet that wraps the source packet. More...

Inherits ObjectPtr< IWrappedDataPacket >.

Detailed Description

Data packet that wraps the source packet.

Wrapped data packets share the same raw data with source packet but have their own data descriptor. This typically means that their raw sample type and sample count should be the same.

Public Member Functions

daq::GenericDataPacketPtr getSourcePacket () const
 Gets the wrapped source data packet. More...
 

Member Function Documentation

◆ getSourcePacket()

daq::GenericDataPacketPtr getSourcePacket ( ) const
inline

Gets the wrapped source data packet.

Returns
The wrapped source data packet.