StateProviderResult< T > Struct Template Reference

Detailed Description

template<class T>
struct maliput::api::rules::StateProviderResult< T >

The state returned by a state provider.

Each provider must define the final type

Template Parameters

#include <include/maliput/api/rules/state_provider_result.h>


struct  Next
 Information about the next state. More...

Public Attributes

 The rule's current state. More...
std::optional< Nextnext
 The rule's next state, if known. More...

Member Data Documentation

◆ next

std::optional<Next> next

The rule's next state, if known.

Users should treat this as advisory since it is tentative and subject to change at any point in time.

◆ state

T state

The rule's current state.

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