rclcpp  master
C++ ROS Client Library API
Public Member Functions | List of all members
rclcpp::exceptions::RCLBadAlloc Class Reference

Created when the ret is RCL_RET_BAD_ALLOC. More...

#include <exceptions.hpp>

Inheritance diagram for rclcpp::exceptions::RCLBadAlloc:
Inheritance graph
[legend]
Collaboration diagram for rclcpp::exceptions::RCLBadAlloc:
Collaboration graph
[legend]

Public Member Functions

 RCLBadAlloc (rcl_ret_t ret, const rcl_error_state_t *error_state)
 
 RCLBadAlloc (const RCLErrorBase &base_exc)
 
- Public Member Functions inherited from rclcpp::exceptions::RCLErrorBase
 RCLErrorBase (rcl_ret_t ret, const rcl_error_state_t *error_state)
 
virtual ~RCLErrorBase ()
 
- Public Member Functions inherited from std::bad_alloc
operator= (T... args)
 
bad_alloc (T... args)
 
what (T... args)
 

Additional Inherited Members

- Public Attributes inherited from rclcpp::exceptions::RCLErrorBase
rcl_ret_t ret
 
std::string message
 
std::string file
 
size_t line
 
std::string formatted_message
 

Detailed Description

Created when the ret is RCL_RET_BAD_ALLOC.

Constructor & Destructor Documentation

◆ RCLBadAlloc() [1/2]

rclcpp::exceptions::RCLBadAlloc::RCLBadAlloc ( rcl_ret_t  ret,
const rcl_error_state_t *  error_state 
)

◆ RCLBadAlloc() [2/2]

rclcpp::exceptions::RCLBadAlloc::RCLBadAlloc ( const RCLErrorBase base_exc)
explicit

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