41 #ifndef MAVLINK_ORB_SUBSCRIPTION_H_ 42 #define MAVLINK_ORB_SUBSCRIPTION_H_ bool update(void *data)
Copy topic data to given buffer.
bool is_published()
Check if the topic has been published.
uint8_t get_instance() const
An intrusive linked list.
MavlinkOrbSubscription(const orb_id_t topic, int instance)
High-resolution timer with callouts and timekeeping.
void subscribe_from_beginning(bool from_beginning)
orb_id_t get_topic() const
bool update(uint64_t *time, void *data)
Check if subscription updated based on timestamp.
bool _subscribe_from_beginning
we need to subscribe from the beginning, e.g. for vehicle_command_acks
~MavlinkOrbSubscription()=default
bool update_if_changed(void *data)
Check if the subscription has been updated.
orb_id_t get_topic() const
bool update(void *dst)
Update the struct.
bool copy(void *dst)
Copy the struct.