• <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::dwVehicleStateChannelDrainer Class Reference

    Detailed Description

    Definition at line 88 of file dwVehicleStateDrainer.hpp.

    Inheritance diagram for dw::framework::dwVehicleStateChannelDrainer:
    Collaboration diagram for dw::framework::dwVehicleStateChannelDrainer:

    Public Member Functions

    dwStatus drainProcessedData (dwVehicleIOState *processedOutput, dwTime_t &timestampOutput, dwTime_t &nextTimestampOutput, dwTime_t virtualSyncTime)
     
     dwVehicleStateChannelDrainer (dwSensorDrainerParams params, std::unique_ptr< vio::ReadProcessedVehicleStateDataFromChannel > readProcessedDataFunc, InputPort inputPort)
     
    - Public Member Functions inherited from dw::framework::dwChannelDrainerTemplate< dwVehicleIOState, vio::ReadProcessedVehicleStateDataFromChannel >
     dwChannelDrainerTemplate (dwSensorDrainerParams params, std::unique_ptr< vio::ReadProcessedVehicleStateDataFromChannel > readProcessedDataFunc, InputDataPort inputPort)
     
    dwStatus readProcessedData (dwVehicleIOState *outFrame, dwTime_t &latestTimestamp, dwTime_t timeout, bool isDroppingData=false) override
     
    virtual dwStatus reset () override
     
    virtual ~dwChannelDrainerTemplate ()=default
     
    - Public Member Functions inherited from dw::framework::dwBaseDrainerTemplate< dwVehicleIOState, vio::ReadProcessedVehicleStateDataFromChannel, PortInput< dwVehicleIOState > * >
    virtual dwStatus drainProcessedData (dwVehicleIOState *processedOutput, dwTime_t &timestampOutput, dwTime_t &nextTimestampOutput, dwTime_t virtualSyncTime)
     
     dwBaseDrainerTemplate (dwSensorDrainerParams params, std::unique_ptr< vio::ReadProcessedVehicleStateDataFromChannel > readProcessedDataFunc, PortInput< dwVehicleIOState > * 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::dwBaseDrainerTemplate< dwVehicleIOState, vio::ReadProcessedVehicleStateDataFromChannel, PortInput< dwVehicleIOState > * >
    using OnDataDropped = dw::core::Function< void(dwTime_t const)>
     
    - Static Public Attributes inherited from dw::framework::dwChannelDrainerTemplate< dwVehicleIOState, vio::ReadProcessedVehicleStateDataFromChannel >
    static constexpr char LOG_TAG []
     
    - Static Public Attributes inherited from dw::framework::dwBaseDrainerTemplate< dwVehicleIOState, vio::ReadProcessedVehicleStateDataFromChannel, PortInput< dwVehicleIOState > * >
    static constexpr int32_t DRAIN_SENSOR_DATA_COUNT_MAX
     
    static constexpr char LOG_TAG []
     
    - Protected Attributes inherited from dw::framework::dwBaseDrainerTemplate< dwVehicleIOState, vio::ReadProcessedVehicleStateDataFromChannel, PortInput< dwVehicleIOState > * >
    dwTime_t m_blockingTimeout
     
    PortInput< dwVehicleIOState > * 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::ReadProcessedVehicleStateDataFromChannel > m_readProcessedDataFunc
     
    dwTime_t m_virtualSyncTime
     
    bool m_waitForNewData
     
    - Static Protected Attributes inherited from dw::framework::dwBaseDrainerTemplate< dwVehicleIOState, vio::ReadProcessedVehicleStateDataFromChannel, PortInput< dwVehicleIOState > * >
    static constexpr dwTime_t REPLAY_SENSOR_READ_TIMEOUT
     

    Constructor & Destructor Documentation

    ◆ dwVehicleStateChannelDrainer()

    dw::framework::dwVehicleStateChannelDrainer::dwVehicleStateChannelDrainer ( dwSensorDrainerParams  params,
    std::unique_ptr< vio::ReadProcessedVehicleStateDataFromChannel >  readProcessedDataFunc,
    InputPort  inputPort 
    )
    inline

    Definition at line 93 of file dwVehicleStateDrainer.hpp.

    Member Function Documentation

    ◆ drainProcessedData()


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