16 using handle_event_f = std::function<void(std::unique_ptr<events::parser::ParsedEvent>)>;
20 uint8_t ourSystemId, uint8_t ourComponentId, uint8_t systemId, uint8_t componentId);
26 void setMetadata(
const QString& metadataJsonFileName);
34 const auto& protocols = _parser.supportedProtocols(_compid);
35 return protocols.find(
"health_and_arming_check") != protocols.end();
42 void gotEvent(
const mavlink_event_t& event);
44 events::ReceiveProtocol* _protocol{
nullptr};
46 events::parser::Parser _parser;
47 events::HealthAndArmingChecks _healthAndArmingChecks;
48 bool _healthAndArmingChecksValid{
false};
49 QVector<mavlink_event_t> _pendingEvents;
52 const uint8_t _compid;