LCOV - code coverage report
Current view: top level - app/include/Dynamic/Env/Event - EventSpawnVehicle.hpp (source / functions) Hit Total Coverage
Test: coverage.info Lines: 0 1 0.0 %
Date: 2023-08-17 16:45:52 Functions: 0 0 -

          Line data    Source code
       1             : #pragma once
       2             : 
       3             : #include "Dynamic/Env/Event/Event.hpp"
       4             : #include "Dynamic/Vehicle.hpp"
       5             : 
       6             : namespace Dynamic::Env {
       7             : 
       8             : /**
       9             :  * @brief Spawn vehicle.
      10             :  *
      11             :  * This event instructs the environment to spawn a vehicle at time
      12             :  * `t`. The vehicle is spawned only if the edge has available space. If not,
      13             :  * then it is enqueued to a special queue.
      14             :  */
      15           0 : class EventSpawnVehicle: public Event {
      16             :     Dynamic::Vehicle vehicle;
      17             : 
      18             :    public:
      19             :     EventSpawnVehicle(Time t, const Dynamic::Vehicle &vehicle);
      20             : 
      21             :     virtual void process(Env &env);
      22             : };
      23             : 
      24             : }  // namespace Dynamic::Env

Generated by: LCOV version 1.14