Public Member Functions | |
| Impl (EventHandler *q_, const QString &profile, handle_event_f handleEventCB_, send_request_event_message_f sendRequestCB_, quint32 ourSystemId, uint8_t ourComponentId, quint32 systemId, uint8_t componentId) | |
| ~Impl () | |
| void | gotEvent (const mavlink_event_t &event) |
Public Attributes | |
| EventHandler * | q |
| events::ReceiveProtocol * | protocol {nullptr} |
| QTimer | timer |
| events::parser::Parser | parser |
| events::HealthAndArmingChecks | healthAndArmingChecks |
| bool | healthAndArmingChecksValid {false} |
| QVector< mavlink_event_t > | pendingEvents |
| stores incoming events until we have the metadata loaded | |
| handle_event_f | handleEventCB |
| send_request_event_message_f | sendRequestCB |
| const uint8_t | compid |
Definition at line 13 of file EventHandler.cc.
|
inline |
Definition at line 15 of file EventHandler.cc.
References compid, EventHandler::EventHandler(), handleEventCB, healthAndArmingChecks, parser, protocol, q, sendRequestCB, and timer.
|
inline |
Definition at line 61 of file EventHandler.cc.
References protocol.
| void EventHandler::Impl::gotEvent | ( | const mavlink_event_t & | event | ) |
Definition at line 77 of file EventHandler.cc.
References compid, handleEventCB, healthAndArmingChecks, healthAndArmingChecksValid, parser, pendingEvents, and q.
| const uint8_t EventHandler::Impl::compid |
Definition at line 74 of file EventHandler.cc.
Referenced by gotEvent(), and Impl().
| handle_event_f EventHandler::Impl::handleEventCB |
Definition at line 72 of file EventHandler.cc.
Referenced by gotEvent(), and Impl().
| events::HealthAndArmingChecks EventHandler::Impl::healthAndArmingChecks |
Definition at line 69 of file EventHandler.cc.
Referenced by gotEvent(), and Impl().
| bool EventHandler::Impl::healthAndArmingChecksValid {false} |
Definition at line 70 of file EventHandler.cc.
Referenced by gotEvent().
| events::parser::Parser EventHandler::Impl::parser |
Definition at line 68 of file EventHandler.cc.
Referenced by gotEvent(), and Impl().
| QVector<mavlink_event_t> EventHandler::Impl::pendingEvents |
stores incoming events until we have the metadata loaded
Definition at line 71 of file EventHandler.cc.
Referenced by gotEvent().
| events::ReceiveProtocol* EventHandler::Impl::protocol {nullptr} |
Definition at line 66 of file EventHandler.cc.
| EventHandler* EventHandler::Impl::q |
Definition at line 65 of file EventHandler.cc.
Referenced by gotEvent(), and Impl().
| send_request_event_message_f EventHandler::Impl::sendRequestCB |
Definition at line 73 of file EventHandler.cc.
Referenced by Impl().
| QTimer EventHandler::Impl::timer |
Definition at line 67 of file EventHandler.cc.
Referenced by Impl().