maliput
rule_tools.h File Reference
Include dependency graph for rule_tools.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  RuleTypeFilter
 Functor to filter by api::rules::Rule::TypeId. More...
 

Namespaces

 maliput
 Code in this file is inspired by: https://github.com/RobotLocomotion/drake/blob/master/common/text_logging.h.
 

Functions

std::vector< maliput::api::rules::Rule::IdGetYieldGroup (const maliput::api::rules::DiscreteValueRule::DiscreteValue &discrete_value)
 Returns a vector of Rule::Ids that represents the yield group of a Right-Of-Way rule state. More...
 
std::vector< maliput::api::rules::Rule::IdGetCurrentYieldGroup (const maliput::api::rules::DiscreteValueRule &discrete_value_rule, const maliput::api::rules::DiscreteValueRuleStateProvider *state_provider)
 Returns the current yield group of discrete_value_rule. More...
 
std::vector< maliput::api::UniqueIdGetBulbGroup (const maliput::api::rules::DiscreteValueRule::DiscreteValue &discrete_value)
 Returns a vector of maliput::api::UniqueIds that represents the bulb group of a Right-Of-Way rule state. More...
 
std::vector< maliput::api::UniqueIdGetCurrentBulbGroup (const maliput::api::rules::DiscreteValueRule &discrete_value_rule, const maliput::api::rules::DiscreteValueRuleStateProvider *state_provider)
 Returns the current bulb group of discrete_value_rule. More...