PX4 Firmware
PX4 Autopilot Software http://px4.io
MavlinkStreamHomePosition Class Reference
Inheritance diagram for MavlinkStreamHomePosition:
Collaboration diagram for MavlinkStreamHomePosition:

Public Member Functions

const char * get_name () const override
 
uint16_t get_id () override
 
unsigned get_size () override
 Get maximal total messages size on update. More...
 
- Public Member Functions inherited from ListNode< MavlinkStream *>
void setSibling (MavlinkStream * sibling)
 
const MavlinkStreamgetSibling () const
 

Static Public Member Functions

static const char * get_name_static ()
 
static uint16_t get_id_static ()
 
static MavlinkStreamnew_instance (Mavlink *mavlink)
 

Protected Member Functions

 MavlinkStreamHomePosition (Mavlink *mavlink)
 
bool send (const hrt_abstime t) override
 

Private Member Functions

 MavlinkStreamHomePosition (MavlinkStreamHomePosition &)=delete
 
MavlinkStreamHomePositionoperator= (const MavlinkStreamHomePosition &)=delete
 

Private Attributes

MavlinkOrbSubscription_home_sub
 

Additional Inherited Members

- Protected Attributes inherited from ListNode< MavlinkStream *>
MavlinkStream_list_node_sibling
 

Detailed Description

Definition at line 2784 of file mavlink_messages.cpp.

Constructor & Destructor Documentation

◆ MavlinkStreamHomePosition() [1/2]

MavlinkStreamHomePosition::MavlinkStreamHomePosition ( MavlinkStreamHomePosition )
privatedelete

◆ MavlinkStreamHomePosition() [2/2]

MavlinkStreamHomePosition::MavlinkStreamHomePosition ( Mavlink mavlink)
inlineexplicitprotected

Definition at line 2825 of file mavlink_messages.cpp.

Member Function Documentation

◆ get_id()

uint16_t MavlinkStreamHomePosition::get_id ( )
inlineoverridevirtual

Implements MavlinkStream.

Definition at line 2802 of file mavlink_messages.cpp.

References MavlinkStreamHeartbeat::get_id_static().

Here is the call graph for this function:

◆ get_id_static()

static uint16_t MavlinkStreamHomePosition::get_id_static ( )
inlinestatic

Definition at line 2797 of file mavlink_messages.cpp.

◆ get_name()

const char* MavlinkStreamHomePosition::get_name ( ) const
inlineoverridevirtual

Implements MavlinkStream.

Definition at line 2787 of file mavlink_messages.cpp.

References get_name_static().

Here is the call graph for this function:

◆ get_name_static()

static const char* MavlinkStreamHomePosition::get_name_static ( )
inlinestatic

Definition at line 2792 of file mavlink_messages.cpp.

Referenced by get_name().

Here is the caller graph for this function:

◆ get_size()

unsigned MavlinkStreamHomePosition::get_size ( )
inlineoverridevirtual

Get maximal total messages size on update.

Implements MavlinkStream.

Definition at line 2812 of file mavlink_messages.cpp.

References _home_sub.

◆ new_instance()

static MavlinkStream* MavlinkStreamHomePosition::new_instance ( Mavlink mavlink)
inlinestatic

Definition at line 2807 of file mavlink_messages.cpp.

◆ operator=()

MavlinkStreamHomePosition& MavlinkStreamHomePosition::operator= ( const MavlinkStreamHomePosition )
privatedelete

◆ send()

bool MavlinkStreamHomePosition::send ( const hrt_abstime  t)
inlineoverrideprotectedvirtual

Implements MavlinkStream.

Definition at line 2829 of file mavlink_messages.cpp.

References MavlinkStream::_mavlink, home_position_s::alt, f(), Mavlink::get_channel(), MavlinkOrbSubscription::is_published(), home_position_s::lat, home_position_s::lon, msg, home_position_s::timestamp, MavlinkOrbSubscription::update(), home_position_s::valid_hpos, home_position_s::x, home_position_s::y, home_position_s::yaw, and home_position_s::z.

Here is the call graph for this function:

Member Data Documentation

◆ _home_sub

MavlinkOrbSubscription* MavlinkStreamHomePosition::_home_sub
private

Definition at line 2818 of file mavlink_messages.cpp.


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