Compute Graph Framework SDK Reference  5.8
dw::framework::ReadProcessedDataFromChannel< OutputProcessedDataType, InputProcessedDataType > Struct Template Referenceabstract

Detailed Description

template<typename OutputProcessedDataType, typename InputProcessedDataType = OutputProcessedDataType>
struct dw::framework::ReadProcessedDataFromChannel< OutputProcessedDataType, InputProcessedDataType >

Definition at line 54 of file dwChannelDrainerTemplate.hpp.

Public Types

using InputDataPort = PortInput< InputProcessedDataType > *
 

Public Member Functions

virtual dwStatus getNextData (OutputProcessedDataType *outDataFrame, InputDataPort)=0
 
virtual dwStatus getNextDataTimestamp (dwTime_t &outTimestamp)=0
 
virtual dwStatus readNextData (dwTime_t inTimeout_us, InputDataPort inputPort)
 
dwStatus reset ()
 

Public Attributes

std::shared_ptr< InputProcessedDataType > m_nextDataEvent = nullptr
 

Member Typedef Documentation

◆ InputDataPort

template<typename OutputProcessedDataType , typename InputProcessedDataType = OutputProcessedDataType>
using dw::framework::ReadProcessedDataFromChannel< OutputProcessedDataType, InputProcessedDataType >::InputDataPort = PortInput<InputProcessedDataType>*

Definition at line 56 of file dwChannelDrainerTemplate.hpp.

Member Function Documentation

◆ getNextData()

template<typename OutputProcessedDataType , typename InputProcessedDataType = OutputProcessedDataType>
virtual dwStatus dw::framework::ReadProcessedDataFromChannel< OutputProcessedDataType, InputProcessedDataType >::getNextData ( OutputProcessedDataType *  outDataFrame,
InputDataPort   
)
pure virtual

◆ getNextDataTimestamp()

template<typename OutputProcessedDataType , typename InputProcessedDataType = OutputProcessedDataType>
virtual dwStatus dw::framework::ReadProcessedDataFromChannel< OutputProcessedDataType, InputProcessedDataType >::getNextDataTimestamp ( dwTime_t &  outTimestamp)
pure virtual

◆ readNextData()

template<typename OutputProcessedDataType , typename InputProcessedDataType = OutputProcessedDataType>
virtual dwStatus dw::framework::ReadProcessedDataFromChannel< OutputProcessedDataType, InputProcessedDataType >::readNextData ( dwTime_t  inTimeout_us,
InputDataPort  inputPort 
)
inlinevirtual

◆ reset()

template<typename OutputProcessedDataType , typename InputProcessedDataType = OutputProcessedDataType>
dwStatus dw::framework::ReadProcessedDataFromChannel< OutputProcessedDataType, InputProcessedDataType >::reset ( )
inline

Member Data Documentation

◆ m_nextDataEvent

template<typename OutputProcessedDataType , typename InputProcessedDataType = OutputProcessedDataType>
std::shared_ptr<InputProcessedDataType> dw::framework::ReadProcessedDataFromChannel< OutputProcessedDataType, InputProcessedDataType >::m_nextDataEvent = nullptr

The documentation for this struct was generated from the following file: