mc_rtc::internal Namespace Reference

Classes

struct  _has_configuration_load_object
 
struct  _has_configuration_save_object
 
struct  _has_static_fromConfiguration
 
struct  _has_toConfiguration_method
 
struct  Allocator
 
struct  Allocator< T, typename T::eigen_aligned_operator_new_marker_type >
 
struct  args_t
 
struct  has_write_builder
 
struct  has_write_builder< T, std::void_t< decltype(std::declval< const T & >().write(std::declval< MessagePackBuilder & >()))> >
 
struct  lambda_traits
 
struct  lambda_traits< RetT(C::*)(Args...) const >
 
struct  lambda_traits< RetT(C::*)(Args...)>
 

Functions

template<typename T >
bool is_valid_hash (std::size_t h)
 
template<typename T , typename U , typename... Args>
bool is_valid_hash (std::size_t h)
 
template<typename T >
bool is_valid_name (const std::string &name)
 
template<typename T , typename U , typename... Args>
bool is_valid_name (const std::string &name)
 
template<typename RefT , typename T >
constexpr bool is_like ()
 
MC_RTC_UTILS_DLLAPI std::string demangle (const char *name)
 

Variables

template<typename T >
constexpr bool has_configuration_load_object_v
 
template<typename T >
constexpr bool has_static_fromConfiguration_v = decltype(_has_static_fromConfiguration::test<T>(nullptr))::value
 
template<typename T , typename... Args>
constexpr bool has_configuration_save_object_v
 
template<typename T , typename... Args>
constexpr bool has_toConfiguration_method_v
 
template<typename T >
constexpr bool is_integral_v = std::is_integral_v<T> || std::numeric_limits<std::decay_t<T>>::is_integer
 
template<typename T >
constexpr bool is_like_int8_t = is_like<int8_t, T>()
 
template<typename T >
constexpr bool is_like_int16_t = is_like<int16_t, T>()
 
template<typename T >
constexpr bool is_like_int32_t = is_like<int32_t, T>()
 
template<typename T >
constexpr bool is_like_int64_t = is_like<int64_t, T>()
 
template<typename T >
constexpr bool is_like_uint8_t = is_like<uint8_t, T>()
 
template<typename T >
constexpr bool is_like_uint16_t = is_like<uint16_t, T>()
 
template<typename T >
constexpr bool is_like_uint32_t = is_like<uint32_t, T>()
 
template<typename T >
constexpr bool is_like_uint64_t = is_like<uint64_t, T>()
 

Function Documentation

◆ demangle()

MC_RTC_UTILS_DLLAPI std::string mc_rtc::internal::demangle ( const char *  name)

◆ is_like()

template<typename RefT , typename T >
constexpr bool mc_rtc::internal::is_like ( )
constexpr

Compare two integral types

◆ is_valid_hash() [1/2]

template<typename T >
bool mc_rtc::internal::is_valid_hash ( std::size_t  h)

◆ is_valid_hash() [2/2]

template<typename T , typename U , typename... Args>
bool mc_rtc::internal::is_valid_hash ( std::size_t  h)

◆ is_valid_name() [1/2]

template<typename T >
bool mc_rtc::internal::is_valid_name ( const std::string &  name)

◆ is_valid_name() [2/2]

template<typename T , typename U , typename... Args>
bool mc_rtc::internal::is_valid_name ( const std::string &  name)

Variable Documentation

◆ has_configuration_load_object_v

template<typename T >
constexpr bool mc_rtc::internal::has_configuration_load_object_v
inlineconstexpr
Initial value:
=
decltype(_has_configuration_load_object::test<T>(nullptr))::value

◆ has_configuration_save_object_v

template<typename T , typename... Args>
constexpr bool mc_rtc::internal::has_configuration_save_object_v
inlineconstexpr
Initial value:
=
decltype(_has_configuration_save_object::test<T, Args...>(nullptr))::value

◆ has_static_fromConfiguration_v

template<typename T >
constexpr bool mc_rtc::internal::has_static_fromConfiguration_v = decltype(_has_static_fromConfiguration::test<T>(nullptr))::value
inlineconstexpr

◆ has_toConfiguration_method_v

template<typename T , typename... Args>
constexpr bool mc_rtc::internal::has_toConfiguration_method_v
inlineconstexpr
Initial value:
=
decltype(_has_toConfiguration_method::test<T, Args...>(nullptr))::value

◆ is_integral_v

template<typename T >
constexpr bool mc_rtc::internal::is_integral_v = std::is_integral_v<T> || std::numeric_limits<std::decay_t<T>>::is_integer
constexpr

◆ is_like_int16_t

template<typename T >
constexpr bool mc_rtc::internal::is_like_int16_t = is_like<int16_t, T>()
constexpr

◆ is_like_int32_t

template<typename T >
constexpr bool mc_rtc::internal::is_like_int32_t = is_like<int32_t, T>()
constexpr

◆ is_like_int64_t

template<typename T >
constexpr bool mc_rtc::internal::is_like_int64_t = is_like<int64_t, T>()
constexpr

◆ is_like_int8_t

template<typename T >
constexpr bool mc_rtc::internal::is_like_int8_t = is_like<int8_t, T>()
constexpr

◆ is_like_uint16_t

template<typename T >
constexpr bool mc_rtc::internal::is_like_uint16_t = is_like<uint16_t, T>()
constexpr

◆ is_like_uint32_t

template<typename T >
constexpr bool mc_rtc::internal::is_like_uint32_t = is_like<uint32_t, T>()
constexpr

◆ is_like_uint64_t

template<typename T >
constexpr bool mc_rtc::internal::is_like_uint64_t = is_like<uint64_t, T>()
constexpr

◆ is_like_uint8_t

template<typename T >
constexpr bool mc_rtc::internal::is_like_uint8_t = is_like<uint8_t, T>()
constexpr