Skip to content

Class nebula::drivers::PacketLossDetector

template <typename PacketT>

ClassList > nebula > drivers > PacketLossDetector

  • #include <packet_loss_detector.hpp>

Inherits the following classes: nebula::drivers::PacketLossDetectorTypedBase

Public Types

Type Name
typedef PacketLossDetectorBase::lost_cb_t lost_cb_t

Public Types inherited from nebula::drivers::PacketLossDetectorBase

See nebula::drivers::PacketLossDetectorBase

Type Name
typedef std::function< void(uint64_t n_lost)> lost_cb_t

Public Functions

Type Name
virtual void set_lost_callback (lost_cb_t on_lost) override
virtual void update (const PacketT & packet)

Public Functions inherited from nebula::drivers::PacketLossDetectorTypedBase

See nebula::drivers::PacketLossDetectorTypedBase

Type Name
virtual void update (const PacketT &)

Public Functions inherited from nebula::drivers::PacketLossDetectorBase

See nebula::drivers::PacketLossDetectorBase

Type Name
virtual void set_lost_callback (lost_cb_t)
virtual ~PacketLossDetectorBase () = default

Public Types Documentation

typedef lost_cb_t

using nebula::drivers::PacketLossDetector< PacketT >::lost_cb_t =  PacketLossDetectorBase::lost_cb_t;

Public Functions Documentation

function set_lost_callback

inline virtual void nebula::drivers::PacketLossDetector::set_lost_callback (
    lost_cb_t on_lost
) override

Implements nebula::drivers::PacketLossDetectorBase::set_lost_callback


function update

inline virtual void nebula::drivers::PacketLossDetector::update (
    const PacketT & packet
) 

Implements nebula::drivers::PacketLossDetectorTypedBase::update



The documentation for this class was generated from the following file nebula_decoders/include/nebula_decoders/nebula_decoders_hesai/decoders/packet_loss_detector.hpp