scenario_simulator_v2 C++ API
Classes | Namespaces | Macros | Functions
field_operator_application_for_autoware_universe.cpp File Reference
#include <boost/range/adaptor/sliced.hpp>
#include <concealer/field_operator_application_for_autoware_universe.hpp>
#include <concealer/has_data_member_allow_goal_modification.hpp>
#include <concealer/has_data_member_option.hpp>
#include <concealer/is_package_exists.hpp>
Include dependency graph for field_operator_application_for_autoware_universe.cpp:

Classes

struct  concealer::lister< N, Tuples >
 
struct  concealer::HasStaticNONE< T, typename >
 
struct  concealer::HasStaticNONE< T, std::void_t< decltype(T::NONE)> >
 
struct  concealer::HasStaticLANE_CHANGE_LEFT< T, typename >
 
struct  concealer::HasStaticLANE_CHANGE_LEFT< T, std::void_t< decltype(T::LANE_CHANGE_LEFT)> >
 
struct  concealer::HasStaticLANE_CHANGE_RIGHT< T, typename >
 
struct  concealer::HasStaticLANE_CHANGE_RIGHT< T, std::void_t< decltype(T::LANE_CHANGE_RIGHT)> >
 
struct  concealer::HasStaticAVOIDANCE_LEFT< T, typename >
 
struct  concealer::HasStaticAVOIDANCE_LEFT< T, std::void_t< decltype(T::AVOIDANCE_LEFT)> >
 
struct  concealer::HasStaticAVOIDANCE_RIGHT< T, typename >
 
struct  concealer::HasStaticAVOIDANCE_RIGHT< T, std::void_t< decltype(T::AVOIDANCE_RIGHT)> >
 
struct  concealer::HasStaticGOAL_PLANNER< T, typename >
 
struct  concealer::HasStaticGOAL_PLANNER< T, std::void_t< decltype(T::GOAL_PLANNER)> >
 
struct  concealer::HasStaticSTART_PLANNER< T, typename >
 
struct  concealer::HasStaticSTART_PLANNER< T, std::void_t< decltype(T::START_PLANNER)> >
 
struct  concealer::HasStaticPULL_OUT< T, typename >
 
struct  concealer::HasStaticPULL_OUT< T, std::void_t< decltype(T::PULL_OUT)> >
 
struct  concealer::HasStaticTRAFFIC_LIGHT< T, typename >
 
struct  concealer::HasStaticTRAFFIC_LIGHT< T, std::void_t< decltype(T::TRAFFIC_LIGHT)> >
 
struct  concealer::HasStaticINTERSECTION< T, typename >
 
struct  concealer::HasStaticINTERSECTION< T, std::void_t< decltype(T::INTERSECTION)> >
 
struct  concealer::HasStaticINTERSECTION_OCCLUSION< T, typename >
 
struct  concealer::HasStaticINTERSECTION_OCCLUSION< T, std::void_t< decltype(T::INTERSECTION_OCCLUSION)> >
 
struct  concealer::HasStaticCROSSWALK< T, typename >
 
struct  concealer::HasStaticCROSSWALK< T, std::void_t< decltype(T::CROSSWALK)> >
 
struct  concealer::HasStaticBLIND_SPOT< T, typename >
 
struct  concealer::HasStaticBLIND_SPOT< T, std::void_t< decltype(T::BLIND_SPOT)> >
 
struct  concealer::HasStaticDETECTION_AREA< T, typename >
 
struct  concealer::HasStaticDETECTION_AREA< T, std::void_t< decltype(T::DETECTION_AREA)> >
 
struct  concealer::HasStaticNO_STOPPING_AREA< T, typename >
 
struct  concealer::HasStaticNO_STOPPING_AREA< T, std::void_t< decltype(T::NO_STOPPING_AREA)> >
 
struct  concealer::HasStaticOCCLUSION_SPOT< T, typename >
 
struct  concealer::HasStaticOCCLUSION_SPOT< T, std::void_t< decltype(T::OCCLUSION_SPOT)> >
 
struct  concealer::HasStaticEXT_REQUEST_LANE_CHANGE_LEFT< T, typename >
 
struct  concealer::HasStaticEXT_REQUEST_LANE_CHANGE_LEFT< T, std::void_t< decltype(T::EXT_REQUEST_LANE_CHANGE_LEFT)> >
 
struct  concealer::HasStaticEXT_REQUEST_LANE_CHANGE_RIGHT< T, typename >
 
struct  concealer::HasStaticEXT_REQUEST_LANE_CHANGE_RIGHT< T, std::void_t< decltype(T::EXT_REQUEST_LANE_CHANGE_RIGHT)> >
 
struct  concealer::HasStaticAVOIDANCE_BY_LC_LEFT< T, typename >
 
struct  concealer::HasStaticAVOIDANCE_BY_LC_LEFT< T, std::void_t< decltype(T::AVOIDANCE_BY_LC_LEFT)> >
 
struct  concealer::HasStaticAVOIDANCE_BY_LC_RIGHT< T, typename >
 
struct  concealer::HasStaticAVOIDANCE_BY_LC_RIGHT< T, std::void_t< decltype(T::AVOIDANCE_BY_LC_RIGHT)> >
 
struct  concealer::HasStaticNO_DRIVABLE_LANE< T, typename >
 
struct  concealer::HasStaticNO_DRIVABLE_LANE< T, std::void_t< decltype(T::NO_DRIVABLE_LANE)> >
 
struct  concealer::HasStaticCOMFORTABLE_STOP< T, typename >
 
struct  concealer::HasStaticCOMFORTABLE_STOP< T, std::void_t< decltype(T::COMFORTABLE_STOP)> >
 
struct  concealer::HasStaticEMERGENCY_STOP< T, typename >
 
struct  concealer::HasStaticEMERGENCY_STOP< T, std::void_t< decltype(T::EMERGENCY_STOP)> >
 
struct  concealer::HasStaticUNKNOWN< T, typename >
 
struct  concealer::HasStaticUNKNOWN< T, std::void_t< decltype(T::UNKNOWN)> >
 
struct  concealer::HasStaticPULL_OVER< T, typename >
 
struct  concealer::HasStaticPULL_OVER< T, std::void_t< decltype(T::PULL_OVER)> >
 
struct  concealer::HasDistance< T, typename >
 
struct  concealer::HasDistance< T, std::void_t< decltype(std::declval< T >().distance)> >
 

Namespaces

 concealer
 

Macros

#define DEFINE_STATIC_DATA_MEMBER_DETECTOR(NAME)
 
#define EMPLACE(IDENTIFIER)
 
#define EMPLACE(IDENTIFIER)
 

Functions

template<auto N, typename Tuples >
auto concealer::operator<< (std::ostream &ostream, const lister< N, Tuples > &lister) -> std::ostream &
 
template<auto N, typename Tuples >
auto concealer::listup (const Tuples &tuples) -> lister< N, Tuples >
 
template<typename T >
auto concealer::toModuleType (const std::string &module_name)
 
template<typename CooperateStatusType >
bool concealer::isValidCooperateStatus (const CooperateStatusType &cooperate_status, std::uint8_t command_type, std::uint8_t module_type)
 
template<typename T >
auto concealer::toMinimumRiskManeuverBehaviorString (const std::uint8_t &behavior_number) -> std::string
 
auto concealer::toMinimumRiskManeuverStateString (const std::uint8_t &state_number) -> std::string
 

Macro Definition Documentation

◆ DEFINE_STATIC_DATA_MEMBER_DETECTOR

#define DEFINE_STATIC_DATA_MEMBER_DETECTOR (   NAME)
Value:
template <typename T, typename = void> \
struct HasStatic##NAME : public std::false_type \
{ \
}; \
\
template <typename T> \
struct HasStatic##NAME<T, std::void_t<decltype(T::NAME)>> : public std::true_type \
{ \
}
void void_t
Definition: void_t.hpp:25

◆ EMPLACE [1/2]

#define EMPLACE (   IDENTIFIER)
Value:
if constexpr (HasStatic##IDENTIFIER<T>::value) { \
module_type_map.emplace(#IDENTIFIER, T::IDENTIFIER); \
} \
static_assert(true)

◆ EMPLACE [2/2]

#define EMPLACE (   IDENTIFIER)
Value:
if constexpr (HasStatic##IDENTIFIER<T>::value) { \
behavior_string_map.emplace(T::IDENTIFIER, #IDENTIFIER); \
} \
static_assert(true)