rclcpp
master
C++ ROS Client Library API
|
#include <chrono>
#include <functional>
#include "rclcpp/visibility_control.hpp"
#include "rcl/guard_condition.h"
#include "rcl/wait.h"
#include "rmw/macros.h"
#include "rmw/rmw.h"
Go to the source code of this file.
Namespaces | |
rclcpp | |
Functions | |
void | rclcpp::init (int argc, char *argv[]) |
Initialize communications via the rmw implementation and set up a global signal handler. More... | |
bool | rclcpp::ok () |
Check rclcpp's status. More... | |
void | rclcpp::shutdown () |
Notify the signal handler and rmw that rclcpp is shutting down. More... | |
void | rclcpp::on_shutdown (std::function< void(void)> callback) |
Register a function to be called when shutdown is called. More... | |
rcl_guard_condition_t * | rclcpp::get_sigint_guard_condition (rcl_wait_set_t *wait_set) |
Get a handle to the rmw guard condition that manages the signal handler. More... | |
void | rclcpp::release_sigint_guard_condition (rcl_wait_set_t *wait_set) |
Release the previously allocated guard condition that manages the signal handler. More... | |
bool | rclcpp::sleep_for (const std::chrono::nanoseconds &nanoseconds) |
Use the global condition variable to block for the specified amount of time. More... | |