PX4 Firmware
PX4 Autopilot Software http://px4.io
uORB::Utils Class Reference

#include <uORBUtils.hpp>

Collaboration diagram for uORB::Utils:

Static Public Member Functions

static int node_mkpath (char *buf, const struct orb_metadata *meta, int *instance=nullptr)
 
static int node_mkpath (char *buf, const char *orbMsgName)
 same as above except this generators the path based on the string. More...
 

Detailed Description

Definition at line 43 of file uORBUtils.hpp.

Member Function Documentation

◆ node_mkpath() [1/2]

int uORB::Utils::node_mkpath ( char *  buf,
const struct orb_metadata meta,
int *  instance = nullptr 
)
static

Definition at line 38 of file uORBUtils.cpp.

References ll40ls::instance, orb_metadata::o_name, OK, and uORB::orb_maxpath.

Referenced by uORB::DeviceMaster::advertise(), uORB::Manager::node_open(), and uORB::Manager::orb_exists().

Here is the caller graph for this function:

◆ node_mkpath() [2/2]

int uORB::Utils::node_mkpath ( char *  buf,
const char *  orbMsgName 
)
static

same as above except this generators the path based on the string.

Definition at line 59 of file uORBUtils.cpp.

References OK, and uORB::orb_maxpath.


The documentation for this class was generated from the following files: