PX4 Firmware
PX4 Autopilot Software http://px4.io
|
#include <logger.h>
Public Member Functions | |
LoggerSubscription ()=default | |
LoggerSubscription (const orb_metadata *meta, uint32_t interval_ms=0, uint8_t instance=0) | |
Public Member Functions inherited from uORB::SubscriptionInterval | |
SubscriptionInterval (const orb_metadata *meta, uint32_t interval_us=0, uint8_t instance=0) | |
Constructor. More... | |
SubscriptionInterval () | |
~SubscriptionInterval ()=default | |
bool | subscribe () |
bool | advertised () |
bool | updated () |
Check if there is a new update. More... | |
bool | update (void *dst) |
Copy the struct if updated. More... | |
bool | copy (void *dst) |
Copy the struct. More... | |
bool | valid () const |
uint8_t | get_instance () const |
orb_id_t | get_topic () const |
void | set_interval_us (uint32_t interval) |
Set the interval in microseconds. More... | |
void | set_interval_ms (uint32_t interval) |
Set the interval in milliseconds. More... | |
Public Attributes | |
uint8_t | msg_id {MSG_ID_INVALID} |
Additional Inherited Members | |
Protected Attributes inherited from uORB::SubscriptionInterval | |
Subscription | _subscription |
uint64_t | _last_update {0} |
uint32_t | _interval_us {0} |
|
default |
|
inline |
uint8_t px4::logger::LoggerSubscription::msg_id {MSG_ID_INVALID} |
Definition at line 90 of file logger.h.
Referenced by px4::logger::Logger::write_add_logged_msg().