ark::distill::SummaryMsgStage

Defined in header “ark/distill/stages/summary_msg_stage.hh”.


Templated class for summarizing the rate and gaps of timed message types. This can be very useful in summarzing information from Sensor Data Message types.

Typedefs

  • using SourceTimePoint = std::optional< std::chrono::steady_clock::time_point >

  • using ExtractTimestampFn = std::function< SourceTimePoint(const Type)>

Methods

  • SummaryMsgStage(ExtractTimestampFn time_callback, std::string name)
    Constructor, which takes in the configuration for the parent class and the callback on how to extract timestamp from the message type.

  • ~SummaryMsgStage()