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_, uint8_t ourSystemId, uint8_t ourComponentId, uint8_t systemId, uint8_t componentId)
 
 ~Impl ()
 
void gotEvent (const mavlink_event_t &event)
 

Public Attributes

EventHandlerq
 
events::ReceiveProtocol * protocol {nullptr}
 
QTimer timer
 
events::parser::Parser parser
 
events::HealthAndArmingChecks healthAndArmingChecks
 
bool healthAndArmingChecksValid {false}
 
QVector< mavlink_event_tpendingEvents
 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_,
uint8_t  ourSystemId,
uint8_t  ourComponentId,
uint8_t  systemId,
uint8_t  componentId 
)
inline

Definition at line 15 of file EventHandler.cc.

◆ ~Impl()

EventHandler::Impl::~Impl ( )
inline

Definition at line 64 of file EventHandler.cc.

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 77 of file EventHandler.cc.

Referenced by gotEvent().

◆ handleEventCB

handle_event_f EventHandler::Impl::handleEventCB

Definition at line 75 of file EventHandler.cc.

Referenced by gotEvent().

◆ healthAndArmingChecks

events::HealthAndArmingChecks EventHandler::Impl::healthAndArmingChecks

Definition at line 72 of file EventHandler.cc.

Referenced by gotEvent().

◆ healthAndArmingChecksValid

bool EventHandler::Impl::healthAndArmingChecksValid {false}

Definition at line 73 of file EventHandler.cc.

Referenced by gotEvent().

◆ parser

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

Definition at line 71 of file EventHandler.cc.

Referenced by gotEvent().

◆ pendingEvents

QVector<mavlink_event_t> EventHandler::Impl::pendingEvents

stores incoming events until we have the metadata loaded

Definition at line 74 of file EventHandler.cc.

Referenced by gotEvent().

◆ protocol

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

Definition at line 69 of file EventHandler.cc.

◆ q

EventHandler* EventHandler::Impl::q

Definition at line 68 of file EventHandler.cc.

Referenced by gotEvent().

◆ sendRequestCB

send_request_event_message_f EventHandler::Impl::sendRequestCB

Definition at line 76 of file EventHandler.cc.

◆ timer

QTimer EventHandler::Impl::timer

Definition at line 70 of file EventHandler.cc.


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