scenario_simulator_v2 C++ API
Classes | Namespaces | Macros | Typedefs
behavior_plugin_base.hpp File Reference
#include <optional>
#include <string>
#include <traffic_simulator/behavior/follow_trajectory.hpp>
#include <traffic_simulator/data_type/behavior.hpp>
#include <traffic_simulator/data_type/entity_status.hpp>
#include <traffic_simulator/hdmap_utils/hdmap_utils.hpp>
#include <traffic_simulator/traffic_lights/traffic_lights.hpp>
#include <traffic_simulator_msgs/msg/behavior_parameter.hpp>
#include <traffic_simulator_msgs/msg/entity_type.hpp>
#include <traffic_simulator_msgs/msg/obstacle.hpp>
#include <traffic_simulator_msgs/msg/pedestrian_parameters.hpp>
#include <traffic_simulator_msgs/msg/vehicle_parameters.hpp>
#include <traffic_simulator_msgs/msg/waypoints_array.hpp>
#include <unordered_map>
#include <visualization_msgs/msg/marker_array.hpp>
Include dependency graph for behavior_plugin_base.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  entity_behavior::BehaviorPluginBase
 

Namespaces

 entity_behavior
 

Macros

#define DEFINE_GETTER_SETTER(NAME, KEY, TYPE)
 

Typedefs

using entity_behavior::EntityStatusDict = std::unordered_map< std::string, traffic_simulator::CanonicalizedEntityStatus >
 

Macro Definition Documentation

◆ DEFINE_GETTER_SETTER

#define DEFINE_GETTER_SETTER (   NAME,
  KEY,
  TYPE 
)
Value:
virtual TYPE get##NAME() = 0; \
virtual void set##NAME(const TYPE & value) = 0; \
auto get##NAME##Key() const->const std::string & \
{ \
static const std::string key = KEY; \
return key; \
}
Definition: cache.hpp:27
std::string string
Definition: junit5.hpp:26