scenario_simulator_v2 C++ API
Classes | Public Member Functions | Public Attributes | List of all members
openscenario_interpreter::syntax::Condition Struct Reference

#include <condition.hpp>

Inheritance diagram for openscenario_interpreter::syntax::Condition:
Inheritance graph
[legend]
Collaboration diagram for openscenario_interpreter::syntax::Condition:
Collaboration graph
[legend]

Public Member Functions

 Condition (const pugi::xml_node &node, Scope &scope)
 
auto evaluate () -> Object
 
- Public Member Functions inherited from openscenario_interpreter::Pointer< Expression >
decltype(auto) rebind (Ts &&... xs)
 
decltype(auto) binding () const
 
auto type () const -> const std::type_info &
 
auto is () const -> bool
 
auto is_also () const
 
auto as () const -> U &
 
decltype(auto) evaluate (Ts &&... xs) const
 
decltype(auto) accomplished (Ts &&... xs) const
 
decltype(auto) description (Ts &&... xs) const
 

Public Attributes

const String name
 
const Double delay
 
const ConditionEdge condition_edge
 
bool current_value
 

Additional Inherited Members

- Static Public Member Functions inherited from openscenario_interpreter::Pointer< Expression >
static Pointer bind (Ts &&... xs)
 

Constructor & Destructor Documentation

◆ Condition()

openscenario_interpreter::syntax::Condition::Condition ( const pugi::xml_node &  node,
Scope scope 
)
explicit

Member Function Documentation

◆ evaluate()

auto openscenario_interpreter::syntax::Condition::evaluate ( ) -> Object

Member Data Documentation

◆ condition_edge

const ConditionEdge openscenario_interpreter::syntax::Condition::condition_edge

◆ current_value

bool openscenario_interpreter::syntax::Condition::current_value

◆ delay

const Double openscenario_interpreter::syntax::Condition::delay

◆ name

const String openscenario_interpreter::syntax::Condition::name

The documentation for this struct was generated from the following files: