40 #include <px4_platform_common/defines.h> 49 if (
_meta ==
nullptr) {
54 if (
_node !=
nullptr) {
60 if (device_master !=
nullptr) {
63 if (node !=
nullptr) {
71 if (q_size < curr_gen) {
88 if (
_node !=
nullptr) {
99 if (
_meta !=
nullptr) {
107 if (
_node ==
nullptr) {
119 if ((time !=
nullptr) && (dst !=
nullptr) &&
advertised()) {
123 if (*time == 0 || *time != t) {
static uORB::Manager * get_instance()
Method to get the singleton instance for the uORB::Manager.
uint8_t get_queue_size() const
uORB::DeviceMaster * get_device_master()
Get the DeviceMaster.
const orb_metadata * _meta
unsigned published_message_count() const
Per-object device instance.
uint64_t copy_and_get_timestamp(void *dst, unsigned &generation)
Copies data and the corresponding generation from a node to the buffer provided.
void remove_internal_subscriber()
Removes the subscriber from the list.
unsigned _last_generation
Subscription's latest data generation.
void add_internal_subscriber()
Add the subscriber to the node's list of subscriber.
bool update(void *dst)
Update the struct.
Master control device for ObjDev.
uORB::DeviceNode * getDeviceNode(const char *node_name)
Public interface for getDeviceNodeLocked().