PX4 Firmware
PX4 Autopilot Software http://px4.io
|
Base publication multi wrapper class. More...
#include <PublicationMulti.hpp>
Public Member Functions | |
PublicationMulti (const orb_metadata *meta, uint8_t priority=ORB_PRIO_DEFAULT) | |
Constructor. More... | |
~PublicationMulti () | |
bool | publish (const T &data) |
Publish the struct. More... | |
Protected Attributes | |
const orb_metadata * | _meta |
orb_advert_t | _handle {nullptr} |
const uint8_t | _priority |
Base publication multi wrapper class.
Definition at line 52 of file PublicationMulti.hpp.
|
inline |
Constructor.
meta | The uORB metadata (usually from the ORB_ID() macro) for the topic. |
priority | The priority for multi pub/sub, 0 means don't publish as multi |
Definition at line 62 of file PublicationMulti.hpp.
|
inline |
Definition at line 67 of file PublicationMulti.hpp.
|
inline |
Publish the struct.
data | The uORB message struct we are updating. |
Definition at line 73 of file PublicationMulti.hpp.
Referenced by RCInput::cycle(), MavlinkTimesync::handle_message(), MavlinkReceiver::handle_message_distance_sensor(), MavlinkReceiver::handle_message_hil_optical_flow(), MavlinkReceiver::handle_message_hil_sensor(), MavlinkReceiver::handle_message_hil_state_quaternion(), MavlinkReceiver::handle_message_manual_control(), MavlinkReceiver::handle_message_optical_flow_rad(), MavlinkReceiver::handle_message_ping(), MavlinkReceiver::handle_message_radio_status(), MavlinkReceiver::handle_message_rc_channels_override(), PX4IO::io_publish_pwm_outputs(), PX4IO::io_publish_raw_rc(), UavcanEscController::orb_pub_timer_cb(), UavcanGnssBridge::process_fixx(), Ekf2::publish_wind_estimate(), MixingOutput::publishMixerStatus(), MulticopterRateControl::Run(), FixedwingAttitudeControl::Run(), PAW3902::Run(), PMW3901::Run(), AirspeedModule::select_airspeed_and_publish(), MixingOutput::setAndPublishActuatorOutputs(), and uORB::PublicationMultiData< sensor_baro_s >::update().
|
protected |
Definition at line 94 of file PublicationMulti.hpp.
Referenced by uORB::PublicationMulti< rate_ctrl_status_s >::publish(), and uORB::PublicationMulti< rate_ctrl_status_s >::~PublicationMulti().
|
protected |
Definition at line 92 of file PublicationMulti.hpp.
Referenced by uORB::PublicationMulti< rate_ctrl_status_s >::publish().
|
protected |
Definition at line 96 of file PublicationMulti.hpp.
Referenced by uORB::PublicationMulti< rate_ctrl_status_s >::publish().