• <xmp id="om0om">
  • <table id="om0om"><noscript id="om0om"></noscript></table>
  • Compute Graph Framework SDK Reference  5.8
    All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
    dw::framework::dwVehicleStateDrainer Class Reference

    Detailed Description

    Definition at line 45 of file dwVehicleStateDrainer.hpp.

    Inheritance diagram for dw::framework::dwVehicleStateDrainer:
    Collaboration diagram for dw::framework::dwVehicleStateDrainer:

    Public Member Functions

    dwStatus drainProcessedData (dwVehicleIOState *processedOutput, dwTime_t &timestampOutput, dwTime_t &nextTimestampOutput, dwTime_t virtualSyncTime)
     
     dwVehicleStateDrainer (dwSensorDrainerParams params, std::unique_ptr< vio::ReadProcessedData > readProcessedDataFunc, dwSensorHandle_t sensor)
     
    dwStatus replayProcessedData (dwVehicleIOState *processedOutput, dwTime_t &timestampOutput, SensorNode::DataEventReadCallback readCb)
     
    - Public Member Functions inherited from dw::framework::dwSensorDrainerTemplate< dwVehicleIOState, vio::ReadProcessedData >
     dwSensorDrainerTemplate (dwSensorDrainerParams params, std::unique_ptr< vio::ReadProcessedData > readProcessedDataFunc, dwSensorHandle_t hsensor)
     
    dwStatus getNextTimestamp (dwTime_t &timestamp, dwTime_t timeout) override
     
    dwStatus readProcessedData (dwVehicleIOState *outFrame, dwTime_t &latestTimestamp, dwTime_t timeout, bool isDroppingData=false) override
     
    dwStatus replayDroppedFrames (dwVehicleIOState *processedOutput, SensorNode::DataEvent &dataEvent, SensorNode::DataEventReadCallback readCb)
     
    virtual dwStatus replayProcessedData (dwVehicleIOState *processedOutput, dwTime_t &timestampOutput, SensorNode::DataEventReadCallback readCb)
     
    virtual dwStatus reset () override
     
    virtual ~dwSensorDrainerTemplate ()=default
     
    - Public Member Functions inherited from dw::framework::dwBaseDrainerTemplate< dwVehicleIOState, vio::ReadProcessedData, dwSensorHandle_t >
    virtual dwStatus drainProcessedData (dwVehicleIOState *processedOutput, dwTime_t &timestampOutput, dwTime_t &nextTimestampOutput, dwTime_t virtualSyncTime)
     
     dwBaseDrainerTemplate (dwSensorDrainerParams params, std::unique_ptr< vio::ReadProcessedData > readProcessedDataFunc, dwSensorHandle_t dataSource)
     
    virtual dwStatus getNextData (dwVehicleIOState *outFrame, dwTime_t timeout)
     
    virtual dwStatus getNextTimestamp (dwTime_t &timestamp, 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 (dwVehicleIOState *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 (dwVehicleIOState *outFrame, dwTime_t &latestTimestamp, dwTime_t timeout, bool isDroppingData=false)
     

    Additional Inherited Members

    - Public Types inherited from dw::framework::dwSensorDrainerTemplate< dwVehicleIOState, vio::ReadProcessedData >
    using Base = dwBaseDrainerTemplate< dwVehicleIOState, vio::ReadProcessedData, dwSensorHandle_t >
     
    - Public Types inherited from dw::framework::dwBaseDrainerTemplate< dwVehicleIOState, vio::ReadProcessedData, dwSensorHandle_t >
    using OnDataDropped = dw::core::Function< void(dwTime_t const)>
     
    - Static Public Attributes inherited from dw::framework::dwSensorDrainerTemplate< dwVehicleIOState, vio::ReadProcessedData >
    static constexpr char LOG_TAG []
     
    - Static Public Attributes inherited from dw::framework::dwBaseDrainerTemplate< dwVehicleIOState, vio::ReadProcessedData, dwSensorHandle_t >
    static constexpr int32_t DRAIN_SENSOR_DATA_COUNT_MAX
     
    static constexpr char LOG_TAG []
     
    - Protected Attributes inherited from dw::framework::dwSensorDrainerTemplate< dwVehicleIOState, vio::ReadProcessedData >
    bool m_isLockstep
     
    - Protected Attributes inherited from dw::framework::dwBaseDrainerTemplate< dwVehicleIOState, vio::ReadProcessedData, dwSensorHandle_t >
    dwTime_t m_blockingTimeout
     
    dwSensorHandle_t 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< vio::ReadProcessedData > m_readProcessedDataFunc
     
    dwTime_t m_virtualSyncTime
     
    bool m_waitForNewData
     
    - Static Protected Attributes inherited from dw::framework::dwBaseDrainerTemplate< dwVehicleIOState, vio::ReadProcessedData, dwSensorHandle_t >
    static constexpr dwTime_t REPLAY_SENSOR_READ_TIMEOUT
     

    Constructor & Destructor Documentation

    ◆ dwVehicleStateDrainer()

    dw::framework::dwVehicleStateDrainer::dwVehicleStateDrainer ( dwSensorDrainerParams  params,
    std::unique_ptr< vio::ReadProcessedData >  readProcessedDataFunc,
    dwSensorHandle_t  sensor 
    )
    inline

    Definition at line 48 of file dwVehicleStateDrainer.hpp.

    Member Function Documentation

    ◆ drainProcessedData()

    dwStatus dw::framework::dwVehicleStateDrainer::drainProcessedData ( dwVehicleIOState *  processedOutput,
    dwTime_t &  timestampOutput,
    dwTime_t &  nextTimestampOutput,
    dwTime_t  virtualSyncTime 
    )
    inlinevirtual

    ◆ replayProcessedData()


    The documentation for this class was generated from the following file:
    人人超碰97caoporen国产