rosidl_runtime_cpp  master
Generate the rosidl interfaces in C++.
Classes | Enumerations | Functions
rosidl_runtime_cpp Namespace Reference

Classes

class  BoundedVector
 A container based on std::vector but with an upper bound. More...
 

Enumerations

enum  MessageInitialization { MessageInitialization::ALL = ROSIDL_RUNTIME_C_MSG_INIT_ALL, MessageInitialization::SKIP = ROSIDL_RUNTIME_C_MSG_INIT_SKIP, MessageInitialization::ZERO = ROSIDL_RUNTIME_C_MSG_INIT_ZERO, MessageInitialization::DEFAULTS_ONLY = ROSIDL_RUNTIME_C_MSG_INIT_DEFAULTS_ONLY }
 Enum utilized in rosidl generated sources for describing how members are initialized. More...
 

Functions

template<typename T >
const rosidl_action_type_support_t * get_action_type_support_handle ()
 Get the action type support handle. More...
 
template<typename Tp , std::size_t UpperBound, typename Alloc >
void swap (BoundedVector< Tp, UpperBound, Alloc > &x, BoundedVector< Tp, UpperBound, Alloc > &y)
 See rosidl_runtime_cpp::BoundedVector::swap(). More...
 
template<typename T >
const rosidl_message_type_support_t * get_message_type_support_handle ()
 Get the message type support handle. More...
 
template<typename T >
const rosidl_service_type_support_t * get_service_type_support_handle ()
 Get the service type support handle. More...
 

Enumeration Type Documentation

◆ MessageInitialization

Enum utilized in rosidl generated sources for describing how members are initialized.

See the documentation for the rosidl_runtime_c__message_initialization enum for more information.

Enumerator
ALL 
SKIP 
ZERO 
DEFAULTS_ONLY 

Function Documentation

◆ get_action_type_support_handle()

template<typename T >
const rosidl_action_type_support_t* rosidl_runtime_cpp::get_action_type_support_handle ( )

Get the action type support handle.

Note: this is implemented by generated sources of rosidl packages.

Returns
Function handler for the action's typesupport.

◆ swap()

template<typename Tp , std::size_t UpperBound, typename Alloc >
void rosidl_runtime_cpp::swap ( BoundedVector< Tp, UpperBound, Alloc > &  x,
BoundedVector< Tp, UpperBound, Alloc > &  y 
)
inline

◆ get_message_type_support_handle()

template<typename T >
const rosidl_message_type_support_t* rosidl_runtime_cpp::get_message_type_support_handle ( )

Get the message type support handle.

Note: this is implemented by generated sources of rosidl packages.

Returns
Function handler for the message's typesupport.

◆ get_service_type_support_handle()

template<typename T >
const rosidl_service_type_support_t* rosidl_runtime_cpp::get_service_type_support_handle ( )

Get the service type support handle.

Note: this is implemented by generated sources of rosidl packages.

Returns
Function handler for the service's typesupport.