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

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...
 
bool const_rate () override
 
- 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

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

Private Member Functions

 MavlinkStreamHeartbeat (MavlinkStreamHeartbeat &)=delete
 
MavlinkStreamHeartbeatoperator= (const MavlinkStreamHeartbeat &)=delete
 

Private Attributes

MavlinkOrbSubscription_status_sub
 

Additional Inherited Members

- Protected Attributes inherited from ListNode< MavlinkStream *>
MavlinkStream_list_node_sibling
 

Detailed Description

Definition at line 306 of file mavlink_messages.cpp.

Constructor & Destructor Documentation

◆ MavlinkStreamHeartbeat() [1/2]

MavlinkStreamHeartbeat::MavlinkStreamHeartbeat ( MavlinkStreamHeartbeat )
privatedelete

Referenced by new_instance().

Here is the caller graph for this function:

◆ MavlinkStreamHeartbeat() [2/2]

MavlinkStreamHeartbeat::MavlinkStreamHeartbeat ( Mavlink mavlink)
inlineexplicitprotected

Definition at line 352 of file mavlink_messages.cpp.

Member Function Documentation

◆ const_rate()

bool MavlinkStreamHeartbeat::const_rate ( )
inlineoverridevirtual
Returns
true if steam rate shouldn't be adjusted

Reimplemented from MavlinkStream.

Definition at line 339 of file mavlink_messages.cpp.

◆ get_id()

uint16_t MavlinkStreamHeartbeat::get_id ( )
inlineoverridevirtual

Implements MavlinkStream.

Definition at line 324 of file mavlink_messages.cpp.

References get_id_static().

Here is the call graph for this function:

◆ get_id_static()

static uint16_t MavlinkStreamHeartbeat::get_id_static ( )
inlinestatic

Definition at line 319 of file mavlink_messages.cpp.

Referenced by get_id(), MavlinkStreamStatustext::get_id(), MavlinkStreamCommandLong::get_id(), MavlinkStreamSysStatus::get_id(), MavlinkStreamBatteryStatus::get_id(), MavlinkStreamHighresIMU::get_id(), MavlinkStreamScaledIMU::get_id(), MavlinkStreamScaledIMU2::get_id(), MavlinkStreamScaledIMU3::get_id(), MavlinkStreamAttitude::get_id(), MavlinkStreamAttitudeQuaternion::get_id(), MavlinkStreamVFRHUD::get_id(), MavlinkStreamGPSRawInt::get_id(), MavlinkStreamGPS2Raw::get_id(), MavlinkStreamSystemTime::get_id(), MavlinkStreamTimesync::get_id(), MavlinkStreamADSBVehicle::get_id(), MavlinkStreamUTMGlobalPosition::get_id(), MavlinkStreamCollision::get_id(), MavlinkStreamCameraTrigger::get_id(), MavlinkStreamCameraImageCaptured::get_id(), MavlinkStreamGlobalPositionInt::get_id(), MavlinkStreamOdometry::get_id(), MavlinkStreamLocalPositionNED::get_id(), MavlinkStreamEstimatorStatus::get_id(), MavlinkStreamAttPosMocap::get_id(), MavlinkStreamHomePosition::get_id(), MavlinkStreamServoOutputRaw< N >::get_id(), MavlinkStreamActuatorControlTarget< N >::get_id(), MavlinkStreamHILActuatorControls::get_id(), MavlinkStreamPositionTargetGlobalInt::get_id(), MavlinkStreamLocalPositionSetpoint::get_id(), MavlinkStreamAttitudeTarget::get_id(), MavlinkStreamRCChannels::get_id(), MavlinkStreamManualControl::get_id(), MavlinkStreamTrajectoryRepresentationWaypoints::get_id(), MavlinkStreamOpticalFlowRad::get_id(), MavlinkStreamNamedValueFloat::get_id(), MavlinkStreamDebug::get_id(), MavlinkStreamDebugVect::get_id(), MavlinkStreamDebugFloatArray::get_id(), MavlinkStreamNavControllerOutput::get_id(), MavlinkStreamCameraCapture::get_id(), MavlinkStreamDistanceSensor::get_id(), MavlinkStreamExtendedSysState::get_id(), MavlinkStreamAltitude::get_id(), MavlinkStreamWind::get_id(), MavlinkStreamMountOrientation::get_id(), MavlinkStreamGroundTruth::get_id(), MavlinkStreamPing::get_id(), MavlinkStreamOrbitStatus::get_id(), and MavlinkStreamObstacleDistance::get_id().

◆ get_name()

const char* MavlinkStreamHeartbeat::get_name ( ) const
inlineoverridevirtual

Implements MavlinkStream.

Definition at line 309 of file mavlink_messages.cpp.

References get_name_static().

Here is the call graph for this function:

◆ get_name_static()

static const char* MavlinkStreamHeartbeat::get_name_static ( )
inlinestatic

Definition at line 314 of file mavlink_messages.cpp.

Referenced by get_name().

Here is the caller graph for this function:

◆ get_size()

unsigned MavlinkStreamHeartbeat::get_size ( )
inlineoverridevirtual

Get maximal total messages size on update.

Implements MavlinkStream.

Definition at line 334 of file mavlink_messages.cpp.

◆ new_instance()

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

Definition at line 329 of file mavlink_messages.cpp.

References MavlinkStreamHeartbeat().

Here is the call graph for this function:

◆ operator=()

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

Referenced by MavlinkStreamStatustext::get_size(), MavlinkStreamSystemTime::get_size(), and MavlinkStreamTimesync::get_size().

Here is the caller graph for this function:

◆ send()

bool MavlinkStreamHeartbeat::send ( const hrt_abstime  t)
inlineoverrideprotectedvirtual

Implements MavlinkStream.

Definition at line 356 of file mavlink_messages.cpp.

References MavlinkStream::_mavlink, Mavlink::get_channel(), get_mavlink_mode_state(), Mavlink::get_system_type(), and MavlinkOrbSubscription::update().

Here is the call graph for this function:

Member Data Documentation

◆ _status_sub

MavlinkOrbSubscription* MavlinkStreamHeartbeat::_status_sub
private

Definition at line 345 of file mavlink_messages.cpp.


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