41 #ifndef MAVLINK_ORB_SUBSCRIPTION_H_ 42 #define MAVLINK_ORB_SUBSCRIPTION_H_ 64 bool update(uint64_t *time,
void *data);
90 void subscribe_from_beginning(
bool from_beginning);
93 int get_instance()
const;
95 int get_fd() {
return _fd; }
99 const uint8_t _instance;
103 bool _published{
false};
105 bool _subscribe_from_beginning{
false};
An intrusive linked list.
bool update_if_changed(void *data)
Check if the subscription has been updated.
Definition: mavlink_orb_subscription.cpp:120
High-resolution timer with callouts and timekeeping.
API for the uORB lightweight object broker.
__BEGIN_DECLS typedef uint64_t hrt_abstime
Absolute time, in microsecond units.
Definition: drv_hrt.h:58
bool update(uint64_t *time, void *data)
Check if subscription updated based on timestamp.
Definition: mavlink_orb_subscription.cpp:78
bool is_published()
Check if the topic has been published.
Definition: mavlink_orb_subscription.cpp:136
Definition: mavlink_orb_subscription.h:48