Drake
RightOfWayStateProvider Class Referenceabstract

Abstract interface for the provider of the dynamic semantic state of a RightOfWayRule. More...

#include <automotive/maliput/api/rules/right_of_way_rule.h>

Inheritance diagram for RightOfWayStateProvider:
[legend]

Public Member Functions

virtual ~RightOfWayStateProvider ()=default
 
RightOfWayRule::DynamicState GetState (const RightOfWayRule::Id &id) const
 Returns the current state of the RightOfWayRule identified by id. More...
 
Does not allow copy, move, or assignment
 RightOfWayStateProvider (const RightOfWayStateProvider &)=delete
 
RightOfWayStateProvideroperator= (const RightOfWayStateProvider &)=delete
 
 RightOfWayStateProvider (RightOfWayStateProvider &&)=delete
 
RightOfWayStateProvideroperator= (RightOfWayStateProvider &&)=delete
 

Protected Member Functions

 RightOfWayStateProvider ()=default
 

Detailed Description

Abstract interface for the provider of the dynamic semantic state of a RightOfWayRule.

Constructor & Destructor Documentation

virtual ~RightOfWayStateProvider ( )
virtualdefault
RightOfWayStateProvider ( )
protecteddefault

Member Function Documentation

RightOfWayRule::DynamicState GetState ( const RightOfWayRule::Id id) const
inline

Returns the current state of the RightOfWayRule identified by id.

Throws an exception if id is unrecognized, which should be the case if no such rule exists or if the rule has only static semantics.

RightOfWayStateProvider& operator= ( const RightOfWayStateProvider )
delete

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