maliput_integration
FixedPhaseIterationHandler Class Reference

Detailed Description

DynamicEnvironmentHandler class implementation.

Each rule state is expected to last a fixed amount of time.

#include <src/integration/fixed_phase_iteration_handler.h>

Inheritance diagram for FixedPhaseIterationHandler:
[legend]

Public Member Functions

 FixedPhaseIterationHandler ()=delete
 
 FixedPhaseIterationHandler (const Timer *timer, api::RoadNetwork *road_network, double phase_duration)
 Constructs a FixedPhaseIterationHandler. More...
 
 ~FixedPhaseIterationHandler () override=default
 
void Update () override
 Updates the rule's states. More...
 
- Public Member Functions inherited from DynamicEnvironmentHandler
 DynamicEnvironmentHandler ()=delete
 
virtual ~DynamicEnvironmentHandler ()=default
 

Additional Inherited Members

- Protected Member Functions inherited from DynamicEnvironmentHandler
 DynamicEnvironmentHandler (const Timer *timer, api::RoadNetwork *road_network)
 Creates DynamicEnvironmentHandler. More...
 
- Protected Attributes inherited from DynamicEnvironmentHandler
const Timertimer_ {nullptr}
 
api::RoadNetworkroad_network_ {nullptr}
 

Constructor & Destructor Documentation

◆ FixedPhaseIterationHandler() [1/2]

◆ FixedPhaseIterationHandler() [2/2]

FixedPhaseIterationHandler ( const Timer timer,
api::RoadNetwork road_network,
double  phase_duration 
)

Constructs a FixedPhaseIterationHandler.

Parameters
timerTimer implementation pointer.
road_networkmaliput::api::RoadNetwork pointer.
phase_durationThe duration of the rule's states in seconds.

◆ ~FixedPhaseIterationHandler()

~FixedPhaseIterationHandler ( )
overridedefault

Member Function Documentation

◆ Update()

void Update ( )
overridevirtual

Updates the rule's states.

Implements DynamicEnvironmentHandler.


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