Autoware.Auto
message_adapters.hpp File Reference

This file includes common helper functions. More...

#include <builtin_interfaces/msg/time.hpp>
#include <string>
Include dependency graph for message_adapters.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  autoware::common::helper_functions::message_field_adapters::HasHeader< T, typename >
 Helper class to check existance of header file in compile time: https://stackoverflow.com/a/16000226/2325407. More...
 
struct  autoware::common::helper_functions::message_field_adapters::HasHeader< T, decltype((void) T::header, nullptr)>
 

Namespaces

 autoware
 This file defines the lanelet2_map_provider_node class.
 
 autoware::common
 
 autoware::common::helper_functions
 
 autoware::common::helper_functions::message_field_adapters
 

Typedefs

using autoware::common::helper_functions::message_field_adapters::TimeStamp = builtin_interfaces::msg::Time
 Using alias for Time message. More...
 

Functions

template<typename T , nullptr_t >
const std::string & autoware::common::helper_functions::message_field_adapters::get_frame_id (const T &msg) noexcept
 
template<typename T , nullptr_t >
std::string & autoware::common::helper_functions::message_field_adapters::get_frame_id (T &msg) noexcept
 
template<typename T , nullptr_t >
const TimeStamp & autoware::common::helper_functions::message_field_adapters::get_stamp (const T &msg) noexcept
 
template<typename T , nullptr_t >
TimeStamp & autoware::common::helper_functions::message_field_adapters::get_stamp (T &msg) noexcept
 
template<class T , typename std::enable_if< HasHeader< T >::value, nullptr_t >::type = nullptr>
TimeStamp autoware::common::helper_functions::message_field_adapters::get_stamp (const T &msg) noexcept
 

Detailed Description

This file includes common helper functions.