Public Member Functions | Private Types | Private Attributes
dji2mav::MavHotpoint Class Reference

#include <mavHotpoint.h>

Inheritance diagram for dji2mav::MavHotpoint:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void activelySend ()
 Implement the messages actively sending function.
 MavHotpoint (MavHandler &handler, std::string name, uint16_t gcsNum,...)
 Constructor for Hotpoint Module. Recv buf size 4096.
void passivelyReceive (mavlink_message_t &msg)
 Implement the messages passive handling function.
void reactToMissionAck (uint16_t gcsIdx, const mavlink_message_t &recvMsg)
void reactToMissionClearAll (uint16_t gcsIdx, const mavlink_message_t &recvMsg)
void reactToMissionCount (uint16_t gcsIdx, const mavlink_message_t &recvMsg)
void reactToMissionItem (uint16_t gcsIdx, const mavlink_message_t &recvMsg)
void reactToMissionRequest (uint16_t gcsIdx, const mavlink_message_t &recvMsg)
void reactToMissionRequestList (uint16_t gcsIdx, const mavlink_message_t &recvMsg)
void reactToMissionSetCurrent (uint16_t gcsIdx, const mavlink_message_t &recvMsg)
void setMissionAckHook (void(*func)())
void setMissionClearAllHook (void(*func)())
void setMissionCountHook (void(*func)(uint16_t))
void setMissionItemHook (void(*func)(uint16_t))
void setMissionRequestHook (void(*func)(uint16_t))
void setMissionRequestListHook (void(*func)())
void setMissionSetCurrentHook (void(*func)(uint16_t))
void setTargetHook (void(*func)(const float[], uint16_t, uint16_t))
 ~MavHotpoint ()

Private Types

enum  {
  idle, uploading, downloading, loaded,
  executing, paused, error
}

Private Attributes

HotpointData m_hp
void(* m_missionAckHook )()
void(* m_missionClearAllHook )()
void(* m_missionCountHook )(uint16_t)
void(* m_missionItemHook )(uint16_t)
void(* m_missionRequestHook )(uint16_t)
void(* m_missionRequestListHook )()
void(* m_missionSetCurrentHook )(uint16_t)
enum dji2mav::MavHotpoint:: { ... }  m_status
void(* m_targetHook )(const float[], uint16_t, uint16_t)

Detailed Description

Definition at line 24 of file mavHotpoint.h.


Member Enumeration Documentation

anonymous enum [private]
Enumerator:
idle 
uploading 
downloading 
loaded 
executing 
paused 
error 

Definition at line 483 of file mavHotpoint.h.


Constructor & Destructor Documentation

dji2mav::MavHotpoint::MavHotpoint ( MavHandler handler,
std::string  name,
uint16_t  gcsNum,
  ... 
) [inline]

Constructor for Hotpoint Module. Recv buf size 4096.

Parameters:
handler: The reference of MavHandler Object
name: The name of this module
gcsNum: The number of GCS that the module employs
...: The indexes of GCS list, should be uint16_t

Definition at line 33 of file mavHotpoint.h.

Definition at line 65 of file mavHotpoint.h.


Member Function Documentation

void dji2mav::MavHotpoint::activelySend ( ) [inline, virtual]

Implement the messages actively sending function.

Implements dji2mav::MavModule.

Definition at line 111 of file mavHotpoint.h.

void dji2mav::MavHotpoint::passivelyReceive ( mavlink_message_t msg) [inline, virtual]

Implement the messages passive handling function.

Parameters:
msg: The reference of received message

Implements dji2mav::MavModule.

Definition at line 75 of file mavHotpoint.h.

void dji2mav::MavHotpoint::reactToMissionAck ( uint16_t  gcsIdx,
const mavlink_message_t recvMsg 
) [inline]

Definition at line 207 of file mavHotpoint.h.

void dji2mav::MavHotpoint::reactToMissionClearAll ( uint16_t  gcsIdx,
const mavlink_message_t recvMsg 
) [inline]

Definition at line 339 of file mavHotpoint.h.

void dji2mav::MavHotpoint::reactToMissionCount ( uint16_t  gcsIdx,
const mavlink_message_t recvMsg 
) [inline]

Definition at line 244 of file mavHotpoint.h.

void dji2mav::MavHotpoint::reactToMissionItem ( uint16_t  gcsIdx,
const mavlink_message_t recvMsg 
) [inline]

Definition at line 287 of file mavHotpoint.h.

void dji2mav::MavHotpoint::reactToMissionRequest ( uint16_t  gcsIdx,
const mavlink_message_t recvMsg 
) [inline]

Definition at line 156 of file mavHotpoint.h.

void dji2mav::MavHotpoint::reactToMissionRequestList ( uint16_t  gcsIdx,
const mavlink_message_t recvMsg 
) [inline]

Definition at line 115 of file mavHotpoint.h.

void dji2mav::MavHotpoint::reactToMissionSetCurrent ( uint16_t  gcsIdx,
const mavlink_message_t recvMsg 
) [inline]

Definition at line 381 of file mavHotpoint.h.

void dji2mav::MavHotpoint::setMissionAckHook ( void(*)()  func) [inline]

Definition at line 449 of file mavHotpoint.h.

void dji2mav::MavHotpoint::setMissionClearAllHook ( void(*)()  func) [inline]

Definition at line 464 of file mavHotpoint.h.

void dji2mav::MavHotpoint::setMissionCountHook ( void(*)(uint16_t)  func) [inline]

Definition at line 454 of file mavHotpoint.h.

void dji2mav::MavHotpoint::setMissionItemHook ( void(*)(uint16_t)  func) [inline]

Definition at line 459 of file mavHotpoint.h.

void dji2mav::MavHotpoint::setMissionRequestHook ( void(*)(uint16_t)  func) [inline]

Definition at line 444 of file mavHotpoint.h.

void dji2mav::MavHotpoint::setMissionRequestListHook ( void(*)()  func) [inline]

Definition at line 439 of file mavHotpoint.h.

void dji2mav::MavHotpoint::setMissionSetCurrentHook ( void(*)(uint16_t)  func) [inline]

Definition at line 469 of file mavHotpoint.h.

void dji2mav::MavHotpoint::setTargetHook ( void(*)(const float[], uint16_t, uint16_t)  func) [inline]

Definition at line 474 of file mavHotpoint.h.


Member Data Documentation

Definition at line 481 of file mavHotpoint.h.

Definition at line 495 of file mavHotpoint.h.

Definition at line 498 of file mavHotpoint.h.

void(* dji2mav::MavHotpoint::m_missionCountHook)(uint16_t) [private]

Definition at line 496 of file mavHotpoint.h.

void(* dji2mav::MavHotpoint::m_missionItemHook)(uint16_t) [private]

Definition at line 497 of file mavHotpoint.h.

void(* dji2mav::MavHotpoint::m_missionRequestHook)(uint16_t) [private]

Definition at line 494 of file mavHotpoint.h.

Definition at line 493 of file mavHotpoint.h.

void(* dji2mav::MavHotpoint::m_missionSetCurrentHook)(uint16_t) [private]

Definition at line 499 of file mavHotpoint.h.

enum { ... } dji2mav::MavHotpoint::m_status [private]
void(* dji2mav::MavHotpoint::m_targetHook)(const float[], uint16_t, uint16_t) [private]

Definition at line 500 of file mavHotpoint.h.


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


dji_sdk_dji2mav
Author(s):
autogenerated on Thu Jun 6 2019 17:55:37