QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
EventHandler::Impl Struct Reference
Collaboration diagram for EventHandler::Impl:

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

Detailed Description

Definition at line 13 of file EventHandler.cc.

Constructor & Destructor Documentation

◆ Impl()

EventHandler::Impl::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 )
inline

◆ ~Impl()

EventHandler::Impl::~Impl ( )
inline

Definition at line 61 of file EventHandler.cc.

References protocol.

Member Function Documentation

◆ gotEvent()

void EventHandler::Impl::gotEvent ( const mavlink_event_t & event)

Member Data Documentation

◆ compid

const uint8_t EventHandler::Impl::compid

Definition at line 74 of file EventHandler.cc.

Referenced by gotEvent(), and Impl().

◆ handleEventCB

handle_event_f EventHandler::Impl::handleEventCB

Definition at line 72 of file EventHandler.cc.

Referenced by gotEvent(), and Impl().

◆ healthAndArmingChecks

events::HealthAndArmingChecks EventHandler::Impl::healthAndArmingChecks

Definition at line 69 of file EventHandler.cc.

Referenced by gotEvent(), and Impl().

◆ healthAndArmingChecksValid

bool EventHandler::Impl::healthAndArmingChecksValid {false}

Definition at line 70 of file EventHandler.cc.

Referenced by gotEvent().

◆ parser

events::parser::Parser EventHandler::Impl::parser

Definition at line 68 of file EventHandler.cc.

Referenced by gotEvent(), and Impl().

◆ pendingEvents

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().

◆ protocol

events::ReceiveProtocol* EventHandler::Impl::protocol {nullptr}

Definition at line 66 of file EventHandler.cc.

Referenced by Impl(), and ~Impl().

◆ q

EventHandler* EventHandler::Impl::q

Definition at line 65 of file EventHandler.cc.

Referenced by gotEvent(), and Impl().

◆ sendRequestCB

send_request_event_message_f EventHandler::Impl::sendRequestCB

Definition at line 73 of file EventHandler.cc.

Referenced by Impl().

◆ timer

QTimer EventHandler::Impl::timer

Definition at line 67 of file EventHandler.cc.

Referenced by Impl().


The documentation for this struct was generated from the following file: