scenario_simulator_v2 C++ API
Classes | Namespaces | Macros
api.hpp File Reference
#include <simulation_api_schema.pb.h>
#include <autoware_auto_vehicle_msgs/msg/vehicle_control_command.hpp>
#include <autoware_auto_vehicle_msgs/msg/vehicle_state_command.hpp>
#include <boost/variant.hpp>
#include <cassert>
#include <memory>
#include <optional>
#include <rclcpp/rclcpp.hpp>
#include <rosgraph_msgs/msg/clock.hpp>
#include <simulation_interface/conversions.hpp>
#include <simulation_interface/zmq_multi_client.hpp>
#include <std_msgs/msg/float64.hpp>
#include <stdexcept>
#include <string>
#include <traffic_simulator/api/configuration.hpp>
#include <traffic_simulator/data_type/entity_status.hpp>
#include <traffic_simulator/data_type/lane_change.hpp>
#include <traffic_simulator/data_type/lanelet_pose.hpp>
#include <traffic_simulator/entity/entity_base.hpp>
#include <traffic_simulator/entity/entity_manager.hpp>
#include <traffic_simulator/hdmap_utils/hdmap_utils.hpp>
#include <traffic_simulator/helper/helper.hpp>
#include <traffic_simulator/simulation_clock/simulation_clock.hpp>
#include <traffic_simulator/traffic/traffic_controller.hpp>
#include <traffic_simulator/traffic_lights/traffic_light.hpp>
#include <traffic_simulator/traffic_lights/traffic_lights.hpp>
#include <traffic_simulator_msgs/msg/behavior_parameter.hpp>
#include <utility>
Include dependency graph for api.hpp:

Go to the source code of this file.

Classes

struct  traffic_simulator::VehicleBehavior
 
struct  traffic_simulator::PedestrianBehavior
 
class  traffic_simulator::API
 

Namespaces

 traffic_simulator
 

Macros

#define FORWARD_TO_ENTITY_MANAGER(NAME)
 

Macro Definition Documentation

◆ FORWARD_TO_ENTITY_MANAGER

#define FORWARD_TO_ENTITY_MANAGER (   NAME)
Value:
\
template <typename... Ts> \
decltype(auto) NAME(Ts &&... xs) \
{ \
assert(entity_manager_ptr_); \
return (*entity_manager_ptr_).NAME(std::forward<decltype(xs)>(xs)...); \
} \
static_assert(true, "")
Definition: junit5.hpp:25