nros C++ API
Lightweight ROS 2 client for embedded real-time systems (C++ headers)
Loading...
Searching...
No Matches
rclcpp.hpp File Reference
#include "rclcpp/detail/nros_cpp_ffi.h"
#include "rclcpp/detail/traits.hpp"
#include "rclcpp/logging.hpp"
#include "rclcpp/result.hpp"
#include "rclcpp/duration.hpp"
#include "rclcpp/time.hpp"
#include "rclcpp/clock.hpp"
#include "rclcpp/qos.hpp"
#include "rclcpp/options.hpp"
#include "rclcpp/future.hpp"
#include "rclcpp/stream.hpp"
#include "rclcpp/detail/serialization_format.hpp"
#include "rclcpp/node.hpp"
#include "rclcpp/publisher.hpp"
#include "rclcpp/subscription.hpp"
#include "rclcpp/generic.hpp"
#include "rclcpp/service.hpp"
#include "rclcpp/client.hpp"
#include "rclcpp_action/server.hpp"
#include "rclcpp_action/client.hpp"
#include "rclcpp/polling_action_server.hpp"
#include "rclcpp/polling_action_client.hpp"
#include "rclcpp/polling_client.hpp"
#include "rclcpp/polling_service.hpp"
#include "rclcpp/polling_subscription.hpp"
#include "rclcpp/parameter.hpp"
#include "rclcpp/node_parameters.hpp"
#include "rclcpp_lifecycle/lifecycle_node.hpp"
#include "rclcpp/rosout.hpp"
#include "rclcpp/detail/component.hpp"
#include <cstdlib>
#include <type_traits>
#include "rclcpp_action/create_client.hpp"
#include "rclcpp_action/create_server.hpp"
#include "rclcpp/parameter_event_handler.hpp"
Include dependency graph for rclcpp.hpp:

Go to the source code of this file.

Classes

class  rclcpp::Context
class  rclcpp::executors::MultiThreadedExecutorRefused< T >
 The refusal behind MultiThreadedExecutor; see that alias. More...
class  rclcpp::Rate
class  rclcpp::executors::SingleThreadedExecutor
struct  rclcpp::detail::timer_capture_capacity< F >
struct  rclcpp::detail::timer_capture_capacity< InplaceFn< Sig, Cap > >
class  rclcpp::detail::timer_takes_info< F >
struct  rclcpp::detail::TimerAdapter< F, TakesInfo >
struct  rclcpp::detail::TimerAdapter< F, false >

Namespaces

namespace  rclcpp
namespace  rclcpp::contexts
namespace  rclcpp::detail
namespace  rclcpp::executors
namespace  rclcpp::node_interfaces

Typedefs

using rclcpp::executors::MultiThreadedExecutor = MultiThreadedExecutorRefused<>
using rclcpp::WallRate = Rate

Enumerations

enum class  rclcpp::FutureReturnCode { rclcpp::SUCCESS , rclcpp::TIMEOUT , rclcpp::INTERRUPTED }

Functions

void rclcpp::detail::abort_failed_create (const char *verb, const char *name, int32_t code)
constexpr bool rclcpp::detail::argv_has_ros_args (int argc, char const *const *argv, int i=0)
void rclcpp::arm_monitors ()
inline ::rclcpp::Node & rclcpp::detail::as_node_ref (::rclcpp::Node &n)
inline ::rclcpp::Node & rclcpp::detail::as_node_ref (::rclcpp::Node *n)
inline ::rclcpp::Node & rclcpp::detail::as_node_ref (const ::rclcpp::Node::SharedPtr &n)
template<typename NodePtr>
void rclcpp::detail::check_node_on_executor (const NodePtr &node, void *executor, bool process)
 phase-515 P2 — the add_node check, against one executor handle.
template<typename M, typename Cb>
Subscription< M >::SharedPtr rclcpp::detail::create_subscription_dispatch (::rclcpp::Node &node, const char *topic, const ::rclcpp::QoS &qos, Cb cb, ::rclcpp::tr::false_type)
 The one-argument callback path (void(const M&), or a hosted pointer shape).
template<typename M, typename Cb>
Subscription< M >::SharedPtr rclcpp::detail::create_subscription_dispatch (::rclcpp::Node &node, const char *topic, const ::rclcpp::QoS &qos, Cb cb, ::rclcpp::tr::true_type)
template<typename NodeT, typename CallbackT>
inline ::rclcpp::TimerHandle rclcpp::create_timer (NodeT &&node, ::rclcpp::Clock *clock, ::rclcpp::Duration period, CallbackT &&callback, const ::rclcpp::CallbackGroup *group=nullptr, bool autostart=true)
template<typename F>
bool rclcpp::detail::future_is_ready (F &f)
Context rclcpp::contexts::get_global_default_context ()
void * rclcpp::global_handle ()
void rclcpp::init ()
 rclcpp::init() — the zero-argument form. ADOPT.
void rclcpp::init (int argc, char const *const *argv)
constexpr bool rclcpp::detail::is_ros_args_flag (char const *s, int i=0)
Result rclcpp::on_shutdown (ShutdownCallback callback, void *context=nullptr, OnShutdownCallbackHandle *out=nullptr)
Result rclcpp::pre_shutdown (ShutdownCallback callback, void *context=nullptr, PreShutdownCallbackHandle *out=nullptr)
template<typename Cb>
TimerHandle rclcpp::detail::register_timer_capturing (::rclcpp::Node &node, rcl_clock_type_t clock_type, Duration period, Cb &&cb, const char *verb, const CallbackGroup *group=nullptr, bool autostart=true)
bool rclcpp::remove_on_shutdown_callback (OnShutdownCallbackHandle handle)
bool rclcpp::remove_pre_shutdown_callback (PreShutdownCallbackHandle handle)
void rclcpp::detail::require_created (::rclcpp::Result r, const char *verb, const char *name)
bool rclcpp::shutdown ()
void rclcpp::spin (const Node::SharedPtr &node)
void rclcpp::spin (const node_interfaces::NodeBaseInterface &base)
template<typename Future>
FutureReturnCode rclcpp::detail::spin_executor_until_future_complete (void *executor, Future &future, int32_t timeout_ms, bool process)
Result rclcpp::spin_in ()
Result rclcpp::spin_in (uint32_t duration_ms, int32_t poll_ms=10)
Result rclcpp::spin_once (int32_t timeout_ms=10)
Result rclcpp::spin_once (int32_t timeout_ms=10)
void rclcpp::spin_some (const Node::SharedPtr &node)
void rclcpp::spin_some (const node_interfaces::NodeBaseInterface &base)
 rclcpp::spin_some(node->get_node_base_interface()); see spin.
template<typename Future>
FutureReturnCode rclcpp::spin_until_future_complete (const Node::SharedPtr &node, Future &&future, int32_t timeout_ms=-1)