rclcpp  master
C++ ROS Client Library API
Classes | Enumerations | Functions
rclcpp::executor Namespace Reference

Classes

struct  AnyExecutable
 
class  Executor
 Coordinate the order and timing of available communication tasks. More...
 
struct  ExecutorArgs
 

Enumerations

enum  FutureReturnCode { FutureReturnCode::SUCCESS, FutureReturnCode::INTERRUPTED, FutureReturnCode::TIMEOUT }
 Return codes to be used with spin_until_future_complete. More...
 

Functions

std::ostreamoperator<< (std::ostream &os, const FutureReturnCode &future_return_code)
 
std::string to_string (const FutureReturnCode &future_return_code)
 

Enumeration Type Documentation

◆ FutureReturnCode

Return codes to be used with spin_until_future_complete.

SUCCESS: The future is complete and can be accessed with "get" without blocking. This does not indicate that the operation succeeded; "get" may still throw an exception. INTERRUPTED: The future is not complete, spinning was interrupted by Ctrl-C or another error. TIMEOUT: Spinning timed out.

Enumerator
SUCCESS 
INTERRUPTED 
TIMEOUT 

Function Documentation

◆ operator<<()

std::ostream& rclcpp::executor::operator<< ( std::ostream os,
const FutureReturnCode future_return_code 
)

◆ to_string()

std::string rclcpp::executor::to_string ( const FutureReturnCode future_return_code)