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

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

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

Private Member Functions

 MavlinkStreamRCChannels (MavlinkStreamRCChannels &)=delete
 
MavlinkStreamRCChannelsoperator= (const MavlinkStreamRCChannels &)=delete
 

Private Attributes

MavlinkOrbSubscription_rc_sub
 
uint64_t _rc_time
 

Additional Inherited Members

- Protected Attributes inherited from ListNode< MavlinkStream *>
MavlinkStream_list_node_sibling
 

Detailed Description

Definition at line 3493 of file mavlink_messages.cpp.

Constructor & Destructor Documentation

◆ MavlinkStreamRCChannels() [1/2]

MavlinkStreamRCChannels::MavlinkStreamRCChannels ( MavlinkStreamRCChannels )
privatedelete

◆ MavlinkStreamRCChannels() [2/2]

MavlinkStreamRCChannels::MavlinkStreamRCChannels ( Mavlink mavlink)
inlineexplicitprotected

Definition at line 3535 of file mavlink_messages.cpp.

Member Function Documentation

◆ get_id()

uint16_t MavlinkStreamRCChannels::get_id ( )
inlineoverridevirtual

Implements MavlinkStream.

Definition at line 3511 of file mavlink_messages.cpp.

References MavlinkStreamHeartbeat::get_id_static().

Here is the call graph for this function:

◆ get_id_static()

static uint16_t MavlinkStreamRCChannels::get_id_static ( )
inlinestatic

Definition at line 3506 of file mavlink_messages.cpp.

◆ get_name()

const char* MavlinkStreamRCChannels::get_name ( ) const
inlineoverridevirtual

Implements MavlinkStream.

Definition at line 3496 of file mavlink_messages.cpp.

References get_name_static().

Here is the call graph for this function:

◆ get_name_static()

static const char* MavlinkStreamRCChannels::get_name_static ( )
inlinestatic

Definition at line 3501 of file mavlink_messages.cpp.

Referenced by get_name().

Here is the caller graph for this function:

◆ get_size()

unsigned MavlinkStreamRCChannels::get_size ( )
inlineoverridevirtual

Get maximal total messages size on update.

Implements MavlinkStream.

Definition at line 3521 of file mavlink_messages.cpp.

◆ new_instance()

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

Definition at line 3516 of file mavlink_messages.cpp.

◆ operator=()

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

◆ send()

bool MavlinkStreamRCChannels::send ( const hrt_abstime  t)
inlineoverrideprotectedvirtual

Implements MavlinkStream.

Definition at line 3540 of file mavlink_messages.cpp.

References MavlinkStream::_mavlink, input_rc_s::channel_count, Mavlink::get_channel(), msg, input_rc_s::rssi, input_rc_s::timestamp, MavlinkOrbSubscription::update(), and input_rc_s::values.

Here is the call graph for this function:

Member Data Documentation

◆ _rc_sub

MavlinkOrbSubscription* MavlinkStreamRCChannels::_rc_sub
private

Definition at line 3527 of file mavlink_messages.cpp.

◆ _rc_time

uint64_t MavlinkStreamRCChannels::_rc_time
private

Definition at line 3528 of file mavlink_messages.cpp.


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