Definition at line 88 of file dwChannelDrainerTemplate.hpp.
Public Member Functions | |
dwChannelDrainerTemplate (dwSensorDrainerParams params, std::unique_ptr< ReadProcessedDataFunc > readProcessedDataFunc, InputDataPort inputPort) | |
dwStatus | readProcessedData (OutputProcessedDataType *outFrame, dwTime_t &latestTimestamp, dwTime_t timeout, bool isDroppingData=false) override |
virtual dwStatus | reset () override |
virtual | ~dwChannelDrainerTemplate ()=default |
![]() | |
virtual dwStatus | drainProcessedData (OutputProcessedDataType *processedOutput, dwTime_t ×tampOutput, dwTime_t &nextTimestampOutput, dwTime_t virtualSyncTime) |
dwBaseDrainerTemplate (dwSensorDrainerParams params, std::unique_ptr< ReadProcessedDataFunc > readProcessedDataFunc, PortInput< OutputProcessedDataType > * dataSource) | |
virtual dwStatus | getNextData (OutputProcessedDataType *outFrame, dwTime_t timeout) |
virtual dwStatus | getNextTimestamp (dwTime_t ×tamp, dwTime_t timeout) |
virtual dwTime_t | getReadTimeout () const |
virtual void | isLockstepDataAvailable (dwStatus &status, dwTime_t &readTimeout) |
virtual bool | isVirtualDataReady (dwTime_t dataTime, dwTime_t timeout) |
virtual dwStatus | readProcessedData (OutputProcessedDataType *outFrame, dwTime_t &latestTimestamp, dwTime_t timeout, bool isDroppingData=false)=0 |
virtual dwStatus | reset () |
void | setOnDataDropped (OnDataDropped onDataDropped) |
virtual void | setVirtualSyncTime (dwTime_t virtualSyncTime) |
virtual dwStatus | tryRead (OutputProcessedDataType *outFrame, dwTime_t &latestTimestamp, dwTime_t timeout, bool isDroppingData=false) |
Static Public Attributes | |
static constexpr char | LOG_TAG [] = "dwChannelDrainerTemplate" |
![]() | |
static constexpr int32_t | DRAIN_SENSOR_DATA_COUNT_MAX |
static constexpr char | LOG_TAG [] |
Additional Inherited Members | |
![]() | |
using | OnDataDropped = dw::core::Function< void(dwTime_t const)> |
![]() | |
dwTime_t | m_blockingTimeout |
PortInput< OutputProcessedDataType > * | m_dataSource |
bool | m_dropStaleData |
bool | m_isVirtual |
Node::Name_t | m_name |
bool | m_nextDataReady |
dwTime_t | m_nonBlockingTimeout |
OnDataDropped | m_onDataDropped |
bool | m_outputAvailable |
std::unique_ptr< ReadProcessedDataFunc > | m_readProcessedDataFunc |
dwTime_t | m_virtualSyncTime |
bool | m_waitForNewData |
![]() | |
static constexpr dwTime_t | REPLAY_SENSOR_READ_TIMEOUT |
|
inlineexplicit |
Definition at line 95 of file dwChannelDrainerTemplate.hpp.
|
virtualdefault |
|
inlineoverridevirtual |
Definition at line 113 of file dwChannelDrainerTemplate.hpp.
References dw::framework::dwBaseDrainerTemplate< ProcessedDataType, ReadProcessedDataFunc, DataSourceType >::tryRead().
|
inlineoverridevirtual |
Reimplemented from dw::framework::dwBaseDrainerTemplate< OutputProcessedDataType, ReadProcessedDataFunc, PortInput< OutputProcessedDataType > * >.
Definition at line 102 of file dwChannelDrainerTemplate.hpp.
References dw::framework::dwBaseDrainerTemplate< OutputProcessedDataType, ReadProcessedDataFunc, PortInput< OutputProcessedDataType > * >::m_nextDataReady, and dw::framework::dwBaseDrainerTemplate< OutputProcessedDataType, ReadProcessedDataFunc, PortInput< OutputProcessedDataType > * >::m_virtualSyncTime.
|
staticconstexpr |
Definition at line 93 of file dwChannelDrainerTemplate.hpp.