scenario_simulator_v2 C++ API
Classes | Typedefs | Functions | Variables
openscenario_interpreter::syntax Namespace Reference

Classes

struct  equal_to
 
struct  equal_to< T, typename std::enable_if< std::is_floating_point< T >::value >::type >
 
struct  equal_to< std::valarray< T >, typename std::enable_if< std::is_floating_point< T >::value >::type >
 
struct  AbsoluteTargetLane
 
struct  AbsoluteTargetSpeed
 
struct  AccelerationCondition
 
struct  AcquirePositionAction
 
struct  Act
 
struct  Action
 
struct  Actors
 
struct  AddEntityAction
 
struct  AssignControllerAction
 
struct  AssignRouteAction
 
struct  Axle
 
struct  FrontAxle
 
struct  RearAxle
 
struct  AdditionalAxle
 
struct  Axles
 
struct  Boolean
 
struct  BoundingBox
 
struct  ByEntityCondition
 
struct  ByObjectType
 
struct  ByType
 
struct  ByValueCondition
 
struct  Catalog
 
struct  CatalogDefinition
 
class  CatalogLocation
 
struct  CatalogLocations
 
struct  CatalogReference
 
struct  Center
 
struct  CollisionCondition
 
struct  Command
 
struct  Condition
 
struct  ConditionEdge
 
struct  ConditionGroup
 
struct  Controller
 
struct  ControllerAction
 
struct  CoordinateSystem
 
struct  SpecialAction
 
class  SpecialAction< EXIT_FAILURE >
 
struct  CustomCommand
 
struct  CustomCommandAction
 
struct  DeleteEntityAction
 
struct  Deterministic
 
struct  DeterministicMultiParameterDistribution
 
struct  DeterministicMultiParameterDistributionType
 
struct  DeterministicParameterDistribution
 
struct  DeterministicSingleParameterDistribution
 
struct  DeterministicSingleParameterDistributionType
 
struct  Dimensions
 
struct  Directory
 
struct  DistanceCondition
 
struct  DistributionDefinition
 
struct  DistributionRange
 
struct  DistributionSet
 
struct  DistributionSetElement
 
struct  DomeImage
 
struct  Double
 
struct  DynamicConstraints
 
struct  DynamicsDimension
 
struct  DynamicsShape
 
struct  Entities
 
struct  Entity
 
struct  EntityAction
 
struct  EntityCondition
 
struct  EntityObject
 
struct  EntityRef
 
struct  EntitySelection
 
struct  Environment
 
struct  EnvironmentAction
 
struct  Event
 
struct  ExternalObjectReference
 
struct  File
 
struct  FileHeader
 
struct  Fog
 
struct  FollowTrajectoryAction
 
struct  FollowingMode
 
struct  FractionalCloudCover
 
struct  GlobalAction
 
struct  Histogram
 
struct  HistogramBin
 
struct  InfrastructureAction
 
struct  Init
 
struct  InitActions
 
struct  Integer
 
struct  LaneChangeAction
 
struct  LaneChangeTarget
 
struct  LanePosition
 
struct  LateralAction
 
struct  License
 
struct  LongitudinalAction
 
struct  Maneuver
 
struct  ManeuverGroup
 
struct  MiscObject
 
struct  MiscObjectCategory
 
struct  ModifyRule
 
struct  None
 
struct  NormalDistribution
 
struct  ObjectController
 
struct  ObjectType
 
struct  OpenScenario
 
struct  OpenScenarioCategory
 
struct  Orientation
 
struct  OverrideControllerValueAction
 
struct  ParameterAction
 
struct  ParameterAddValueRule
 
struct  ParameterAssignment
 
struct  ParameterAssignments
 
struct  ParameterCondition
 
struct  ParameterDeclaration
 
struct  ParameterDeclarations
 
struct  ParameterModifyAction
 
struct  ParameterMultiplyByValueRule
 
struct  ParameterSetAction
 
struct  ParameterType
 
struct  ParameterValueDistribution
 
struct  ParameterValueDistributionDefinition
 
struct  ParameterValueSet
 
struct  Pedestrian
 
struct  PedestrianCategory
 
struct  Performance
 
struct  Phase
 
struct  PoissonDistribution
 
struct  Polyline
 
struct  Position
 
struct  Precipitation
 
struct  PrecipitationType
 
struct  Priority
 
struct  Private
 
struct  PrivateAction
 
struct  ProbabilityDistributionSet
 
struct  ProbabilityDistributionSetElement
 
struct  Properties
 
struct  Property
 
struct  Range
 
struct  ReachPositionCondition
 
struct  ReferenceContext
 
struct  RelativeClearanceCondition
 
struct  RelativeDistanceCondition
 
struct  RelativeDistanceType
 
struct  RelativeLaneRange
 
struct  RelativeObjectPosition
 
struct  RelativeTargetLane
 
struct  RelativeTargetSpeed
 
struct  RelativeWorldPosition
 
struct  RoadCondition
 
struct  RoadNetwork
 
struct  Route
 
struct  RouteStrategy
 
struct  RoutingAction
 
struct  RoutingAlgorithm
 
struct  RuleResultDeduction
 
struct  RuleResultDeduction< std::valarray< T >, U >
 
struct  Rule
 
struct  ScenarioDefinition
 
struct  ScenarioObject
 
struct  SelectedEntities
 
struct  Shape
 
struct  SimulationTimeCondition
 
struct  SpeedAction
 
struct  SpeedActionTarget
 
struct  SpeedCondition
 
struct  SpeedProfileAction
 
struct  SpeedProfileEntry
 
struct  SpeedTargetValueType
 
struct  StandStillCondition
 
struct  Stochastic
 
struct  StochasticDistribution
 
struct  StochasticDistributionType
 
struct  Story
 
struct  Storyboard
 
class  StoryboardElement
 
struct  StoryboardElementState
 
struct  StoryboardElementStateCondition
 
struct  StoryboardElementType
 
struct  Sun
 
struct  TeleportAction
 
struct  TimeHeadwayCondition
 
struct  TimeOfDay
 
struct  TimeReference
 
struct  Timing
 
struct  TrafficSignalAction
 
struct  TrafficSignalCondition
 
struct  TrafficSignalController
 
struct  TrafficSignalControllerAction
 
struct  TrafficSignalControllerCondition
 
struct  TrafficSignalState
 
struct  TrafficSignalStateAction
 
class  TrafficSignals
 
struct  Trajectory
 
struct  TrajectoryFollowingMode
 
struct  TrajectoryRef
 
struct  TransitionDynamics
 
struct  Trigger
 
struct  TriggeringEntities
 
struct  TriggeringEntitiesRule
 
struct  UniformDistribution
 
struct  UnsignedInteger
 
struct  UnsignedShort
 
struct  UserDefinedAction
 
struct  UserDefinedDistribution
 
class  UserDefinedValueCondition
 
struct  ValueConstraint
 
struct  ValueConstraintGroup
 
struct  ValueSetDistribution
 
struct  Vehicle
 
struct  VehicleCategory
 
struct  Vertex
 
struct  Waypoint
 
struct  Weather
 
struct  Wetness
 
struct  Wind
 
struct  WorldPosition
 
struct  ApplyFaultInjectionAction
 
struct  ApplyPseudoTrafficSignalDetectorConfidenceSetAction
 
struct  ApplyRequestToCorporateCommandAction
 
struct  ApplyV2ITrafficSignalStateAction
 
struct  ApplyWalkStraightAction
 
struct  DebugError
 
struct  DebugSegmentationFault
 
struct  DummyLongRunningAction
 
struct  ExitSuccess
 
struct  ExitFailure
 
struct  PrintParameter
 
struct  TestCommand
 
struct  ForkExecCommand
 
struct  MagicSubscription
 

Typedefs

template<typename T >
using isConditionGroup = typename std::is_same< typename std::decay< T >::type, ConditionGroup >
 
using String = std::string
 
using UnsignedInt = UnsignedInteger
 

Functions

 DEFINE_LAZY_VISITOR (Action, CASE(GlobalAction), CASE(UserDefinedAction), CASE(PrivateAction),)
 
auto operator>> (std::istream &, Boolean &) -> std::istream &
 
auto operator<< (std::ostream &, const Boolean &) -> std::ostream &
 
auto asBoolean (bool) -> const Object &
 
auto operator>> (std::istream &, Command &) -> std::istream &
 
auto operator<< (std::ostream &, const Command &) -> std::ostream &
 
auto operator<< (boost::json::object &, const Condition &) -> boost::json::object &
 
auto operator>> (std::istream &is, ConditionEdge &) -> std::istream &
 
auto operator<< (std::ostream &os, const ConditionEdge &) -> std::ostream &
 
auto operator<< (boost::json::object &, const ConditionGroup &) -> boost::json::object &
 
auto operator>> (std::istream &, CoordinateSystem &) -> std::istream &
 
auto operator<< (std::ostream &, const CoordinateSystem &) -> std::ostream &
 
 DEFINE_LAZY_VISITOR (DeterministicParameterDistribution, CASE(DeterministicMultiParameterDistribution), CASE(DeterministicSingleParameterDistribution),)
 
 DEFINE_LAZY_VISITOR (DeterministicSingleParameterDistributionType, CASE(DistributionSet), CASE(DistributionRange), CASE(UserDefinedDistribution),)
 
template<>
auto DistanceCondition::distance< CoordinateSystem::entity, RelativeDistanceType::euclidianDistance, RoutingAlgorithm::undefined, false > (const EntityRef &) const -> double
 
template<>
auto DistanceCondition::distance< CoordinateSystem::entity, RelativeDistanceType::euclidianDistance, RoutingAlgorithm::undefined, true > (const EntityRef &) const -> double
 
template<>
auto DistanceCondition::distance< CoordinateSystem::entity, RelativeDistanceType::lateral, RoutingAlgorithm::undefined, false > (const EntityRef &) const -> double
 
template<>
auto DistanceCondition::distance< CoordinateSystem::entity, RelativeDistanceType::lateral, RoutingAlgorithm::undefined, true > (const EntityRef &) const -> double
 
template<>
auto DistanceCondition::distance< CoordinateSystem::entity, RelativeDistanceType::longitudinal, RoutingAlgorithm::undefined, false > (const EntityRef &) const -> double
 
template<>
auto DistanceCondition::distance< CoordinateSystem::entity, RelativeDistanceType::longitudinal, RoutingAlgorithm::undefined, true > (const EntityRef &) const -> double
 
template<>
auto DistanceCondition::distance< CoordinateSystem::lane, RelativeDistanceType::lateral, RoutingAlgorithm::undefined, false > (const EntityRef &) const -> double
 
template<>
auto DistanceCondition::distance< CoordinateSystem::lane, RelativeDistanceType::lateral, RoutingAlgorithm::undefined, true > (const EntityRef &) const -> double
 
template<>
auto DistanceCondition::distance< CoordinateSystem::lane, RelativeDistanceType::longitudinal, RoutingAlgorithm::undefined, false > (const EntityRef &) const -> double
 
template<>
auto DistanceCondition::distance< CoordinateSystem::lane, RelativeDistanceType::longitudinal, RoutingAlgorithm::undefined, true > (const EntityRef &) const -> double
 
template<>
auto DistanceCondition::distance< CoordinateSystem::lane, RelativeDistanceType::lateral, RoutingAlgorithm::shortest, false > (const EntityRef &) const -> double
 
template<>
auto DistanceCondition::distance< CoordinateSystem::lane, RelativeDistanceType::lateral, RoutingAlgorithm::shortest, true > (const EntityRef &) const -> double
 
template<>
auto DistanceCondition::distance< CoordinateSystem::lane, RelativeDistanceType::longitudinal, RoutingAlgorithm::shortest, false > (const EntityRef &) const -> double
 
template<>
auto DistanceCondition::distance< CoordinateSystem::lane, RelativeDistanceType::longitudinal, RoutingAlgorithm::shortest, true > (const EntityRef &) const -> double
 
 DEFINE_LAZY_VISITOR (DistributionDefinition, CASE(Deterministic), CASE(Stochastic),)
 
auto operator>> (std::istream &, Double &) -> std::istream &
 
auto operator<< (std::ostream &, const Double &) -> std::ostream &
 
auto operator>> (std::istream &, DynamicsDimension &) -> std::istream &
 
auto operator<< (std::ostream &, const DynamicsDimension &) -> std::ostream &
 
auto operator>> (std::istream &, DynamicsShape &) -> std::istream &
 
auto operator<< (std::ostream &, const DynamicsShape &) -> std::ostream &
 
auto operator== (const Entity &, const Entity &) -> bool
 
auto operator<< (std::ostream &, const Entity &) -> std::ostream &
 
 DEFINE_LAZY_VISITOR (EntityAction, CASE(AddEntityAction), CASE(DeleteEntityAction),)
 
 DEFINE_LAZY_VISITOR (const EntityObject, CASE(Vehicle), CASE(Pedestrian), CASE(MiscObject),)
 
auto operator>> (std::istream &, FollowingMode &) -> std::istream &
 
auto operator<< (std::ostream &, const FollowingMode &) -> std::ostream &
 
auto operator>> (std::istream &, FractionalCloudCover &) -> std::istream &
 
auto operator<< (std::ostream &, const FractionalCloudCover &) -> std::ostream &
 
 DEFINE_LAZY_VISITOR (GlobalAction, CASE(EnvironmentAction), CASE(EntityAction), CASE(ParameterAction), CASE(InfrastructureAction),)
 
 DEFINE_LAZY_VISITOR (InfrastructureAction, CASE(TrafficSignalAction), CASE(TrafficSignalStateAction), CASE(TrafficSignalControllerAction),)
 
auto operator<< (boost::json::object &, const Init &) -> boost::json::object &
 
auto operator>> (std::istream &, Integer &) -> std::istream &
 
auto operator<< (std::ostream &, const Integer &) -> std::ostream &
 
 DEFINE_LAZY_VISITOR (LateralAction, CASE(LaneChangeAction),)
 
 DEFINE_LAZY_VISITOR (LongitudinalAction, CASE(SpeedAction), CASE(SpeedProfileAction))
 
auto operator>> (std::istream &, MiscObjectCategory &) -> std::istream &
 
auto operator<< (std::ostream &, const MiscObjectCategory &) -> std::ostream &
 
auto operator>> (std::istream &, ObjectType &) -> std::istream &
 
auto operator<< (std::ostream &, const ObjectType &) -> std::ostream &
 
auto operator<< (boost::json::object &, const OpenScenario &) -> boost::json::object &
 
 DEFINE_LAZY_VISITOR (ParameterAction, CASE(ParameterSetAction), CASE(ParameterModifyAction),)
 
auto operator>> (std::istream &, ParameterType &) -> std::istream &
 
auto operator<< (std::ostream &, const ParameterType &) -> std::ostream &
 
auto operator>> (std::istream &, PedestrianCategory &) -> std::istream &
 
auto operator<< (std::ostream &, const PedestrianCategory &) -> std::ostream &
 
 DEFINE_LAZY_VISITOR (Position, CASE(WorldPosition), CASE(RelativeWorldPosition), CASE(RelativeObjectPosition), CASE(LanePosition),)
 
auto operator>> (std::istream &, PrecipitationType &) -> std::istream &
 
auto operator<< (std::ostream &, const PrecipitationType &) -> std::ostream &
 
auto operator>> (std::istream &, Priority &) -> std::istream &
 
auto operator<< (std::ostream &, const Priority &) -> std::ostream &
 
auto operator<< (boost::json::object &, const Private &) -> boost::json::object &
 
 DEFINE_LAZY_VISITOR (PrivateAction, CASE(LongitudinalAction), CASE(LateralAction), CASE(ControllerAction), CASE(TeleportAction), CASE(RoutingAction),)
 
auto operator>> (std::istream &, ReferenceContext &) -> std::istream &
 
auto operator<< (std::ostream &, const ReferenceContext &) -> std::ostream &
 
template<>
auto RelativeDistanceCondition::distance< CoordinateSystem::entity, RelativeDistanceType::euclidianDistance, RoutingAlgorithm::undefined, false > (const EntityRef &) -> double
 
template<>
auto RelativeDistanceCondition::distance< CoordinateSystem::entity, RelativeDistanceType::euclidianDistance, RoutingAlgorithm::undefined, true > (const EntityRef &) -> double
 
template<>
auto RelativeDistanceCondition::distance< CoordinateSystem::entity, RelativeDistanceType::lateral, RoutingAlgorithm::undefined, false > (const EntityRef &) -> double
 
template<>
auto RelativeDistanceCondition::distance< CoordinateSystem::entity, RelativeDistanceType::lateral, RoutingAlgorithm::undefined, true > (const EntityRef &) -> double
 
template<>
auto RelativeDistanceCondition::distance< CoordinateSystem::entity, RelativeDistanceType::longitudinal, RoutingAlgorithm::undefined, false > (const EntityRef &) -> double
 
template<>
auto RelativeDistanceCondition::distance< CoordinateSystem::entity, RelativeDistanceType::longitudinal, RoutingAlgorithm::undefined, true > (const EntityRef &) -> double
 
template<>
auto RelativeDistanceCondition::distance< CoordinateSystem::lane, RelativeDistanceType::lateral, RoutingAlgorithm::undefined, false > (const EntityRef &) -> double
 
template<>
auto RelativeDistanceCondition::distance< CoordinateSystem::lane, RelativeDistanceType::lateral, RoutingAlgorithm::undefined, true > (const EntityRef &) -> double
 
template<>
auto RelativeDistanceCondition::distance< CoordinateSystem::lane, RelativeDistanceType::longitudinal, RoutingAlgorithm::undefined, false > (const EntityRef &) -> double
 
template<>
auto RelativeDistanceCondition::distance< CoordinateSystem::lane, RelativeDistanceType::longitudinal, RoutingAlgorithm::undefined, true > (const EntityRef &) -> double
 
template<>
auto RelativeDistanceCondition::distance< CoordinateSystem::lane, RelativeDistanceType::lateral, RoutingAlgorithm::shortest, false > (const EntityRef &) -> double
 
template<>
auto RelativeDistanceCondition::distance< CoordinateSystem::lane, RelativeDistanceType::lateral, RoutingAlgorithm::shortest, true > (const EntityRef &) -> double
 
template<>
auto RelativeDistanceCondition::distance< CoordinateSystem::lane, RelativeDistanceType::longitudinal, RoutingAlgorithm::shortest, false > (const EntityRef &) -> double
 
template<>
auto RelativeDistanceCondition::distance< CoordinateSystem::lane, RelativeDistanceType::longitudinal, RoutingAlgorithm::shortest, true > (const EntityRef &) -> double
 
auto operator>> (std::istream &, RelativeDistanceType &) -> std::istream &
 
auto operator<< (std::ostream &, const RelativeDistanceType &) -> std::ostream &
 
auto operator>> (std::istream &, RouteStrategy &) -> std::istream &
 
auto operator<< (std::ostream &, const RouteStrategy &) -> std::ostream &
 
 DEFINE_LAZY_VISITOR (RoutingAction, CASE(AssignRouteAction), CASE(FollowTrajectoryAction), CASE(AcquirePositionAction),)
 
auto operator>> (std::istream &, RoutingAlgorithm &) -> std::istream &
 
auto operator<< (std::ostream &, const RoutingAlgorithm &) -> std::ostream &
 
auto operator>> (std::istream &, Rule &) -> std::istream &
 
auto operator<< (std::ostream &, const Rule &) -> std::ostream &
 
 DEFINE_LAZY_VISITOR (SpeedActionTarget, CASE(RelativeTargetSpeed), CASE(AbsoluteTargetSpeed),)
 
auto operator>> (std::istream &, SpeedTargetValueType &) -> std::istream &
 
auto operator<< (std::ostream &, const SpeedTargetValueType &) -> std::ostream &
 
 DEFINE_LAZY_VISITOR (StochasticDistributionType, CASE(ProbabilityDistributionSet), CASE(NormalDistribution), CASE(UniformDistribution), CASE(PoissonDistribution), CASE(Histogram), CASE(UserDefinedDistribution),)
 
auto operator>> (std::istream &, StoryboardElementState &) -> std::istream &
 
auto operator<< (std::ostream &, const StoryboardElementState &) -> std::ostream &
 
auto operator>> (std::istream &, StoryboardElementType &) -> std::istream &
 
auto operator<< (std::ostream &, const StoryboardElementType &) -> std::ostream &
 
 DEFINE_LAZY_VISITOR (TrafficSignalAction, CASE(TrafficSignalStateAction), CASE(TrafficSignalControllerAction),)
 
auto operator<< (boost::json::object &, const Trigger &) -> boost::json::object &
 
auto operator>> (std::istream &, TriggeringEntitiesRule &) -> std::istream &
 
auto operator<< (std::ostream &, const TriggeringEntitiesRule &) -> std::ostream &
 
std::istream & operator>> (std::istream &, UnsignedInteger &)
 
std::ostream & operator<< (std::ostream &, const UnsignedInteger &)
 
auto operator>> (std::istream &, UnsignedShort &) -> std::istream &
 
auto operator<< (std::ostream &, const UnsignedShort &) -> std::ostream &
 
 DEFINE_LAZY_VISITOR (UserDefinedAction, CASE(CustomCommandAction),)
 
auto operator>> (std::istream &, VehicleCategory &) -> std::istream &
 
auto operator<< (std::ostream &, const VehicleCategory &) -> std::ostream &
 
auto operator>> (std::istream &, Wetness &) -> std::istream &
 
auto operator<< (std::ostream &, const Wetness &) -> std::ostream &
 
auto operator<< (boost::json::object &json, const Act &datum) -> boost::json::object &
 
auto operator<< (boost::json::object &json, const Action &datum) -> boost::json::object &
 
 catch (const std::out_of_range &)
 
auto convertScenario (const boost::filesystem::path &yaml_path, const boost::filesystem::path &output_dir)
 
template<typename... Ts>
auto choice_by_attribute (const pugi::xml_node &node, const std::string &attribute, Ts &&... xs)
 
auto makeCustomCommand (const std::string &type, const std::string &content) -> std::shared_ptr< CustomCommand >
 
auto operator<< (boost::json::object &json, const Event &datum) -> boost::json::object &
 
auto operator<< (boost::json::object &json, const InitActions &init_actions) -> boost::json::object &
 
auto operator<< (boost::json::object &json, const Maneuver &maneuver) -> boost::json::object &
 
auto operator<< (boost::json::object &json, const ManeuverGroup &maneuver_group) -> boost::json::object &
 
auto checkName (const std::string &name) -> decltype(auto)
 
template<typename T >
auto generateVector (const std::list< T > &list) -> std::vector< T >
 
auto operator<< (std::ostream &os, const ScenarioDefinition &datum) -> std::ostream &
 
auto operator<< (boost::json::object &json, const ScenarioDefinition &datum) -> boost::json::object &
 
auto operator<< (boost::json::object &json, const Story &story) -> boost::json::object &
 
auto operator<< (boost::json::object &json, const Storyboard &datum) -> boost::json::object &
 

Variables

const Object true_v = make<Boolean>(true)
 
const Object false_v = make<Boolean>(false)
 
const Object start_transition = make<StoryboardElementState>(StoryboardElementState::startTransition)
 
const Object end_transition = make<StoryboardElementState>(StoryboardElementState:: endTransition)
 
const Object stop_transition = make<StoryboardElementState>(StoryboardElementState:: stopTransition)
 
const Object skip_transition = make<StoryboardElementState>(StoryboardElementState:: skipTransition)
 
const Object complete_state = make<StoryboardElementState>(StoryboardElementState:: completeState)
 
const Object running_state = make<StoryboardElementState>(StoryboardElementState:: runningState)
 
const Object standby_state = make<StoryboardElementState>(StoryboardElementState:: standbyState)
 

Typedef Documentation

◆ isConditionGroup

template<typename T >
using openscenario_interpreter::syntax::isConditionGroup = typedef typename std::is_same<typename std::decay<T>::type, ConditionGroup>

◆ String

using openscenario_interpreter::syntax::String = typedef std::string

◆ UnsignedInt

Function Documentation

◆ asBoolean()

auto openscenario_interpreter::syntax::asBoolean ( bool  value) -> const Object &

◆ catch()

openscenario_interpreter::syntax::catch ( const std::out_of_range &  )

◆ checkName()

auto openscenario_interpreter::syntax::checkName ( const std::string &  name) -> decltype(auto)

◆ choice_by_attribute()

template<typename... Ts>
auto openscenario_interpreter::syntax::choice_by_attribute ( const pugi::xml_node &  node,
const std::string &  attribute,
Ts &&...  xs 
)

◆ convertScenario()

auto openscenario_interpreter::syntax::convertScenario ( const boost::filesystem::path &  yaml_path,
const boost::filesystem::path &  output_dir 
)

◆ DEFINE_LAZY_VISITOR() [1/18]

openscenario_interpreter::syntax::DEFINE_LAZY_VISITOR ( Action  ,
CASE(GlobalAction ,
CASE(UserDefinedAction ,
CASE(PrivateAction  
)

◆ DEFINE_LAZY_VISITOR() [2/18]

openscenario_interpreter::syntax::DEFINE_LAZY_VISITOR ( const  EntityObject,
CASE(Vehicle ,
CASE(Pedestrian ,
CASE(MiscObject  
)

◆ DEFINE_LAZY_VISITOR() [3/18]

◆ DEFINE_LAZY_VISITOR() [4/18]

openscenario_interpreter::syntax::DEFINE_LAZY_VISITOR ( DeterministicSingleParameterDistributionType  ,
CASE(DistributionSet ,
CASE(DistributionRange ,
CASE(UserDefinedDistribution  
)

◆ DEFINE_LAZY_VISITOR() [5/18]

openscenario_interpreter::syntax::DEFINE_LAZY_VISITOR ( DistributionDefinition  ,
CASE(Deterministic ,
CASE(Stochastic  
)

◆ DEFINE_LAZY_VISITOR() [6/18]

openscenario_interpreter::syntax::DEFINE_LAZY_VISITOR ( EntityAction  ,
CASE(AddEntityAction ,
CASE(DeleteEntityAction  
)

◆ DEFINE_LAZY_VISITOR() [7/18]

openscenario_interpreter::syntax::DEFINE_LAZY_VISITOR ( GlobalAction  ,
CASE(EnvironmentAction ,
CASE(EntityAction ,
CASE(ParameterAction ,
CASE(InfrastructureAction  
)

◆ DEFINE_LAZY_VISITOR() [8/18]

openscenario_interpreter::syntax::DEFINE_LAZY_VISITOR ( InfrastructureAction  ,
CASE(TrafficSignalAction ,
CASE(TrafficSignalStateAction ,
CASE(TrafficSignalControllerAction  
)

◆ DEFINE_LAZY_VISITOR() [9/18]

openscenario_interpreter::syntax::DEFINE_LAZY_VISITOR ( LateralAction  ,
CASE(LaneChangeAction  
)

◆ DEFINE_LAZY_VISITOR() [10/18]

openscenario_interpreter::syntax::DEFINE_LAZY_VISITOR ( LongitudinalAction  ,
CASE(SpeedAction ,
CASE(SpeedProfileAction  
)

◆ DEFINE_LAZY_VISITOR() [11/18]

openscenario_interpreter::syntax::DEFINE_LAZY_VISITOR ( ParameterAction  ,
CASE(ParameterSetAction ,
CASE(ParameterModifyAction  
)

◆ DEFINE_LAZY_VISITOR() [12/18]

openscenario_interpreter::syntax::DEFINE_LAZY_VISITOR ( Position  ,
CASE(WorldPosition ,
CASE(RelativeWorldPosition ,
CASE(RelativeObjectPosition ,
CASE(LanePosition  
)

◆ DEFINE_LAZY_VISITOR() [13/18]

openscenario_interpreter::syntax::DEFINE_LAZY_VISITOR ( PrivateAction  ,
CASE(LongitudinalAction ,
CASE(LateralAction ,
CASE(ControllerAction ,
CASE(TeleportAction ,
CASE(RoutingAction  
)

◆ DEFINE_LAZY_VISITOR() [14/18]

openscenario_interpreter::syntax::DEFINE_LAZY_VISITOR ( RoutingAction  ,
CASE(AssignRouteAction ,
CASE(FollowTrajectoryAction ,
CASE(AcquirePositionAction  
)

◆ DEFINE_LAZY_VISITOR() [15/18]

openscenario_interpreter::syntax::DEFINE_LAZY_VISITOR ( SpeedActionTarget  ,
CASE(RelativeTargetSpeed ,
CASE(AbsoluteTargetSpeed  
)

◆ DEFINE_LAZY_VISITOR() [16/18]

◆ DEFINE_LAZY_VISITOR() [17/18]

openscenario_interpreter::syntax::DEFINE_LAZY_VISITOR ( TrafficSignalAction  ,
CASE(TrafficSignalStateAction ,
CASE(TrafficSignalControllerAction  
)

◆ DEFINE_LAZY_VISITOR() [18/18]

openscenario_interpreter::syntax::DEFINE_LAZY_VISITOR ( UserDefinedAction  ,
CASE(CustomCommandAction  
)

◆ DistanceCondition::distance< CoordinateSystem::entity, RelativeDistanceType::euclidianDistance, RoutingAlgorithm::undefined, false >()

◆ DistanceCondition::distance< CoordinateSystem::entity, RelativeDistanceType::euclidianDistance, RoutingAlgorithm::undefined, true >()

◆ DistanceCondition::distance< CoordinateSystem::entity, RelativeDistanceType::lateral, RoutingAlgorithm::undefined, false >()

◆ DistanceCondition::distance< CoordinateSystem::entity, RelativeDistanceType::lateral, RoutingAlgorithm::undefined, true >()

◆ DistanceCondition::distance< CoordinateSystem::entity, RelativeDistanceType::longitudinal, RoutingAlgorithm::undefined, false >()

◆ DistanceCondition::distance< CoordinateSystem::entity, RelativeDistanceType::longitudinal, RoutingAlgorithm::undefined, true >()

◆ DistanceCondition::distance< CoordinateSystem::lane, RelativeDistanceType::lateral, RoutingAlgorithm::shortest, false >()

◆ DistanceCondition::distance< CoordinateSystem::lane, RelativeDistanceType::lateral, RoutingAlgorithm::shortest, true >()

◆ DistanceCondition::distance< CoordinateSystem::lane, RelativeDistanceType::lateral, RoutingAlgorithm::undefined, false >()

◆ DistanceCondition::distance< CoordinateSystem::lane, RelativeDistanceType::lateral, RoutingAlgorithm::undefined, true >()

◆ DistanceCondition::distance< CoordinateSystem::lane, RelativeDistanceType::longitudinal, RoutingAlgorithm::shortest, false >()

◆ DistanceCondition::distance< CoordinateSystem::lane, RelativeDistanceType::longitudinal, RoutingAlgorithm::shortest, true >()

◆ DistanceCondition::distance< CoordinateSystem::lane, RelativeDistanceType::longitudinal, RoutingAlgorithm::undefined, false >()

◆ DistanceCondition::distance< CoordinateSystem::lane, RelativeDistanceType::longitudinal, RoutingAlgorithm::undefined, true >()

◆ generateVector()

template<typename T >
auto openscenario_interpreter::syntax::generateVector ( const std::list< T > &  list) -> std::vector<T>

◆ makeCustomCommand()

auto openscenario_interpreter::syntax::makeCustomCommand ( const std::string &  type,
const std::string &  content 
) -> std::shared_ptr<CustomCommand>

◆ operator<<() [1/46]

auto openscenario_interpreter::syntax::operator<< ( boost::json::object &  json,
const Condition datum 
) -> boost::json::object &

◆ operator<<() [2/46]

auto openscenario_interpreter::syntax::operator<< ( boost::json::object &  json,
const ConditionGroup datum 
) -> boost::json::object &

◆ operator<<() [3/46]

auto openscenario_interpreter::syntax::operator<< ( boost::json::object &  json,
const Init datum 
) -> boost::json::object &

◆ operator<<() [4/46]

auto openscenario_interpreter::syntax::operator<< ( boost::json::object &  json,
const OpenScenario datum 
) -> boost::json::object &

◆ operator<<() [5/46]

auto openscenario_interpreter::syntax::operator<< ( boost::json::object &  json,
const Private datum 
) -> boost::json::object &

◆ operator<<() [6/46]

auto openscenario_interpreter::syntax::operator<< ( boost::json::object &  json,
const Trigger datum 
) -> boost::json::object &

◆ operator<<() [7/46]

auto openscenario_interpreter::syntax::operator<< ( boost::json::object &  json,
const Act datum 
) -> boost::json::object &

◆ operator<<() [8/46]

auto openscenario_interpreter::syntax::operator<< ( boost::json::object &  json,
const Action datum 
) -> boost::json::object &

◆ operator<<() [9/46]

auto openscenario_interpreter::syntax::operator<< ( boost::json::object &  json,
const Event datum 
) -> boost::json::object &

◆ operator<<() [10/46]

auto openscenario_interpreter::syntax::operator<< ( boost::json::object &  json,
const InitActions init_actions 
) -> boost::json::object &

◆ operator<<() [11/46]

auto openscenario_interpreter::syntax::operator<< ( boost::json::object &  json,
const Maneuver maneuver 
) -> boost::json::object &

◆ operator<<() [12/46]

auto openscenario_interpreter::syntax::operator<< ( boost::json::object &  json,
const ManeuverGroup maneuver_group 
) -> boost::json::object &

◆ operator<<() [13/46]

auto openscenario_interpreter::syntax::operator<< ( boost::json::object &  json,
const ScenarioDefinition datum 
) -> boost::json::object &

◆ operator<<() [14/46]

auto openscenario_interpreter::syntax::operator<< ( boost::json::object &  json,
const Story story 
) -> boost::json::object &

◆ operator<<() [15/46]

auto openscenario_interpreter::syntax::operator<< ( boost::json::object &  json,
const Storyboard datum 
) -> boost::json::object &

◆ operator<<() [16/46]

auto openscenario_interpreter::syntax::operator<< ( std::ostream &  os,
const Boolean datum 
) -> std::ostream &

◆ operator<<() [17/46]

auto openscenario_interpreter::syntax::operator<< ( std::ostream &  os,
const Command datum 
) -> std::ostream &

◆ operator<<() [18/46]

auto openscenario_interpreter::syntax::operator<< ( std::ostream &  os,
const CoordinateSystem datum 
) -> std::ostream &

◆ operator<<() [19/46]

auto openscenario_interpreter::syntax::operator<< ( std::ostream &  os,
const Double datum 
) -> std::ostream &

◆ operator<<() [20/46]

auto openscenario_interpreter::syntax::operator<< ( std::ostream &  os,
const DynamicsDimension datum 
) -> std::ostream &

◆ operator<<() [21/46]

auto openscenario_interpreter::syntax::operator<< ( std::ostream &  os,
const DynamicsShape datum 
) -> std::ostream &

◆ operator<<() [22/46]

auto openscenario_interpreter::syntax::operator<< ( std::ostream &  os,
const Entity entity 
) -> std::ostream &

◆ operator<<() [23/46]

auto openscenario_interpreter::syntax::operator<< ( std::ostream &  os,
const FollowingMode datum 
) -> std::ostream &

◆ operator<<() [24/46]

auto openscenario_interpreter::syntax::operator<< ( std::ostream &  os,
const FractionalCloudCover datum 
) -> std::ostream &

◆ operator<<() [25/46]

auto openscenario_interpreter::syntax::operator<< ( std::ostream &  os,
const Integer datum 
) -> std::ostream &

◆ operator<<() [26/46]

auto openscenario_interpreter::syntax::operator<< ( std::ostream &  os,
const MiscObjectCategory datum 
) -> std::ostream &

◆ operator<<() [27/46]

auto openscenario_interpreter::syntax::operator<< ( std::ostream &  os,
const ObjectType type 
) -> std::ostream &

◆ operator<<() [28/46]

auto openscenario_interpreter::syntax::operator<< ( std::ostream &  os,
const ParameterType datum 
) -> std::ostream &

◆ operator<<() [29/46]

auto openscenario_interpreter::syntax::operator<< ( std::ostream &  os,
const PedestrianCategory datum 
) -> std::ostream &

◆ operator<<() [30/46]

auto openscenario_interpreter::syntax::operator<< ( std::ostream &  os,
const PrecipitationType datum 
) -> std::ostream &

◆ operator<<() [31/46]

auto openscenario_interpreter::syntax::operator<< ( std::ostream &  os,
const Priority datum 
) -> std::ostream &

◆ operator<<() [32/46]

auto openscenario_interpreter::syntax::operator<< ( std::ostream &  os,
const ReferenceContext datum 
) -> std::ostream &

◆ operator<<() [33/46]

auto openscenario_interpreter::syntax::operator<< ( std::ostream &  os,
const RelativeDistanceType datum 
) -> std::ostream &

◆ operator<<() [34/46]

auto openscenario_interpreter::syntax::operator<< ( std::ostream &  os,
const RouteStrategy datum 
) -> std::ostream &

◆ operator<<() [35/46]

auto openscenario_interpreter::syntax::operator<< ( std::ostream &  os,
const RoutingAlgorithm datum 
) -> std::ostream &

◆ operator<<() [36/46]

auto openscenario_interpreter::syntax::operator<< ( std::ostream &  os,
const Rule datum 
) -> std::ostream &

◆ operator<<() [37/46]

auto openscenario_interpreter::syntax::operator<< ( std::ostream &  os,
const SpeedTargetValueType datum 
) -> std::ostream &

◆ operator<<() [38/46]

auto openscenario_interpreter::syntax::operator<< ( std::ostream &  os,
const StoryboardElementState datum 
) -> std::ostream &

◆ operator<<() [39/46]

auto openscenario_interpreter::syntax::operator<< ( std::ostream &  os,
const StoryboardElementType datum 
) -> std::ostream &

◆ operator<<() [40/46]

auto openscenario_interpreter::syntax::operator<< ( std::ostream &  os,
const TriggeringEntitiesRule datum 
) -> std::ostream &

◆ operator<<() [41/46]

auto openscenario_interpreter::syntax::operator<< ( std::ostream &  os,
const UnsignedInteger datum 
)

◆ operator<<() [42/46]

auto openscenario_interpreter::syntax::operator<< ( std::ostream &  os,
const UnsignedShort datum 
) -> std::ostream &

◆ operator<<() [43/46]

auto openscenario_interpreter::syntax::operator<< ( std::ostream &  os,
const VehicleCategory datum 
) -> std::ostream &

◆ operator<<() [44/46]

auto openscenario_interpreter::syntax::operator<< ( std::ostream &  os,
const Wetness datum 
) -> std::ostream &

◆ operator<<() [45/46]

std::ostream & openscenario_interpreter::syntax::operator<< ( std::ostream &  os,
const ConditionEdge datum 
) -> std::ostream &

◆ operator<<() [46/46]

auto openscenario_interpreter::syntax::operator<< ( std::ostream &  os,
const ScenarioDefinition datum 
) -> std::ostream &

◆ operator==()

auto openscenario_interpreter::syntax::operator== ( const Entity left,
const Entity right 
) -> bool

◆ operator>>() [1/29]

auto openscenario_interpreter::syntax::operator>> ( std::istream &  is,
Boolean datum 
) -> std::istream &

◆ operator>>() [2/29]

auto openscenario_interpreter::syntax::operator>> ( std::istream &  is,
Command datum 
) -> std::istream &

◆ operator>>() [3/29]

auto openscenario_interpreter::syntax::operator>> ( std::istream &  is,
CoordinateSystem datum 
) -> std::istream &

◆ operator>>() [4/29]

auto openscenario_interpreter::syntax::operator>> ( std::istream &  is,
Double datum 
) -> std::istream &

◆ operator>>() [5/29]

auto openscenario_interpreter::syntax::operator>> ( std::istream &  is,
DynamicsDimension datum 
) -> std::istream &

◆ operator>>() [6/29]

auto openscenario_interpreter::syntax::operator>> ( std::istream &  is,
DynamicsShape datum 
) -> std::istream &

◆ operator>>() [7/29]

auto openscenario_interpreter::syntax::operator>> ( std::istream &  is,
FollowingMode datum 
) -> std::istream &

◆ operator>>() [8/29]

auto openscenario_interpreter::syntax::operator>> ( std::istream &  is,
FractionalCloudCover datum 
) -> std::istream &

◆ operator>>() [9/29]

auto openscenario_interpreter::syntax::operator>> ( std::istream &  is,
Integer datum 
) -> std::istream &

◆ operator>>() [10/29]

auto openscenario_interpreter::syntax::operator>> ( std::istream &  is,
MiscObjectCategory datum 
) -> std::istream &

◆ operator>>() [11/29]

auto openscenario_interpreter::syntax::operator>> ( std::istream &  is,
ObjectType type 
) -> std::istream &

◆ operator>>() [12/29]

auto openscenario_interpreter::syntax::operator>> ( std::istream &  is,
ParameterType datum 
) -> std::istream &

◆ operator>>() [13/29]

auto openscenario_interpreter::syntax::operator>> ( std::istream &  is,
PedestrianCategory datum 
) -> std::istream &

◆ operator>>() [14/29]

auto openscenario_interpreter::syntax::operator>> ( std::istream &  is,
PrecipitationType datum 
) -> std::istream &

◆ operator>>() [15/29]

auto openscenario_interpreter::syntax::operator>> ( std::istream &  is,
Priority priority 
) -> std::istream &

◆ operator>>() [16/29]

auto openscenario_interpreter::syntax::operator>> ( std::istream &  is,
ReferenceContext context 
) -> std::istream &

◆ operator>>() [17/29]

auto openscenario_interpreter::syntax::operator>> ( std::istream &  is,
RelativeDistanceType datum 
) -> std::istream &

◆ operator>>() [18/29]

auto openscenario_interpreter::syntax::operator>> ( std::istream &  is,
RouteStrategy datum 
) -> std::istream &

◆ operator>>() [19/29]

auto openscenario_interpreter::syntax::operator>> ( std::istream &  is,
RoutingAlgorithm datum 
) -> std::istream &

◆ operator>>() [20/29]

auto openscenario_interpreter::syntax::operator>> ( std::istream &  is,
Rule datum 
) -> std::istream &

◆ operator>>() [21/29]

auto openscenario_interpreter::syntax::operator>> ( std::istream &  is,
SpeedTargetValueType datum 
) -> std::istream &

◆ operator>>() [22/29]

auto openscenario_interpreter::syntax::operator>> ( std::istream &  is,
StoryboardElementState datum 
) -> std::istream &

◆ operator>>() [23/29]

auto openscenario_interpreter::syntax::operator>> ( std::istream &  is,
StoryboardElementType datum 
) -> std::istream &

◆ operator>>() [24/29]

auto openscenario_interpreter::syntax::operator>> ( std::istream &  is,
TriggeringEntitiesRule rule 
) -> std::istream &

◆ operator>>() [25/29]

auto openscenario_interpreter::syntax::operator>> ( std::istream &  is,
UnsignedInteger datum 
)

◆ operator>>() [26/29]

auto openscenario_interpreter::syntax::operator>> ( std::istream &  is,
UnsignedShort datum 
) -> std::istream &

◆ operator>>() [27/29]

auto openscenario_interpreter::syntax::operator>> ( std::istream &  is,
VehicleCategory category 
) -> std::istream &

◆ operator>>() [28/29]

auto openscenario_interpreter::syntax::operator>> ( std::istream &  is,
Wetness datum 
) -> std::istream &

◆ operator>>() [29/29]

std::istream & openscenario_interpreter::syntax::operator>> ( std::istream &  is,
ConditionEdge edge 
) -> std::istream &

◆ RelativeDistanceCondition::distance< CoordinateSystem::entity, RelativeDistanceType::euclidianDistance, RoutingAlgorithm::undefined, false >()

◆ RelativeDistanceCondition::distance< CoordinateSystem::entity, RelativeDistanceType::euclidianDistance, RoutingAlgorithm::undefined, true >()

◆ RelativeDistanceCondition::distance< CoordinateSystem::entity, RelativeDistanceType::lateral, RoutingAlgorithm::undefined, false >()

◆ RelativeDistanceCondition::distance< CoordinateSystem::entity, RelativeDistanceType::lateral, RoutingAlgorithm::undefined, true >()

Note
This implementation differs from the OpenSCENARIO standard. See the section "6.4. Distances" in the OpenSCENARIO User Guide.

◆ RelativeDistanceCondition::distance< CoordinateSystem::entity, RelativeDistanceType::longitudinal, RoutingAlgorithm::undefined, false >()

◆ RelativeDistanceCondition::distance< CoordinateSystem::entity, RelativeDistanceType::longitudinal, RoutingAlgorithm::undefined, true >()

Note
This implementation differs from the OpenSCENARIO standard. See the section "6.4. Distances" in the OpenSCENARIO User Guide.

◆ RelativeDistanceCondition::distance< CoordinateSystem::lane, RelativeDistanceType::lateral, RoutingAlgorithm::shortest, false >()

◆ RelativeDistanceCondition::distance< CoordinateSystem::lane, RelativeDistanceType::lateral, RoutingAlgorithm::shortest, true >()

◆ RelativeDistanceCondition::distance< CoordinateSystem::lane, RelativeDistanceType::lateral, RoutingAlgorithm::undefined, false >()

◆ RelativeDistanceCondition::distance< CoordinateSystem::lane, RelativeDistanceType::lateral, RoutingAlgorithm::undefined, true >()

◆ RelativeDistanceCondition::distance< CoordinateSystem::lane, RelativeDistanceType::longitudinal, RoutingAlgorithm::shortest, false >()

◆ RelativeDistanceCondition::distance< CoordinateSystem::lane, RelativeDistanceType::longitudinal, RoutingAlgorithm::shortest, true >()

◆ RelativeDistanceCondition::distance< CoordinateSystem::lane, RelativeDistanceType::longitudinal, RoutingAlgorithm::undefined, false >()

◆ RelativeDistanceCondition::distance< CoordinateSystem::lane, RelativeDistanceType::longitudinal, RoutingAlgorithm::undefined, true >()

Variable Documentation

◆ complete_state

const Object openscenario_interpreter::syntax::complete_state = make<StoryboardElementState>(StoryboardElementState:: completeState)

◆ end_transition

const Object openscenario_interpreter::syntax::end_transition = make<StoryboardElementState>(StoryboardElementState:: endTransition)

◆ false_v

const Object openscenario_interpreter::syntax::false_v = make<Boolean>(false)

◆ running_state

const Object openscenario_interpreter::syntax::running_state = make<StoryboardElementState>(StoryboardElementState:: runningState)

◆ skip_transition

const Object openscenario_interpreter::syntax::skip_transition = make<StoryboardElementState>(StoryboardElementState:: skipTransition)

◆ standby_state

const Object openscenario_interpreter::syntax::standby_state = make<StoryboardElementState>(StoryboardElementState:: standbyState)

◆ start_transition

const Object openscenario_interpreter::syntax::start_transition = make<StoryboardElementState>(StoryboardElementState::startTransition)

◆ stop_transition

const Object openscenario_interpreter::syntax::stop_transition = make<StoryboardElementState>(StoryboardElementState:: stopTransition)

◆ true_v

const Object openscenario_interpreter::syntax::true_v = make<Boolean>(true)