Firmware
|
Master control device for ObjDev. More...
#include <uORBDeviceMaster.hpp>
Public Member Functions | |
int | advertise (const struct orb_metadata *meta, int *instance, int priority) |
uORB::DeviceNode * | getDeviceNode (const char *node_name) |
Public interface for getDeviceNodeLocked(). More... | |
uORB::DeviceNode * | getDeviceNode (const struct orb_metadata *meta, const uint8_t instance) |
void | printStatistics (bool reset) |
Print statistics for each existing topic. More... | |
void | showTop (char **topic_filter, int num_filters) |
Continuously print statistics, like the unix top command for processes. More... | |
Friends | |
class | uORB::Manager |
Master control device for ObjDev.
Used primarily to create new objects via the ORBIOCCREATE ioctl.
uORB::DeviceNode * uORB::DeviceMaster::getDeviceNode | ( | const char * | node_name | ) |
Public interface for getDeviceNodeLocked().
Takes care of synchronization.
void uORB::DeviceMaster::printStatistics | ( | bool | reset | ) |
Print statistics for each existing topic.
reset | if true, reset statistics afterwards |
void uORB::DeviceMaster::showTop | ( | char ** | topic_filter, |
int | num_filters | ||
) |
Continuously print statistics, like the unix top command for processes.
Exited when the user presses the enter key.
topic_filter | list of topic filters: if set, each string can be a substring for topics to match. Or it can be '-a', which means to print all topics instead of only currently publishing ones. |
num_filters |