Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma once
- #include "Simulationsobjekt.h"
- #include "Weg.h"
- #include "Fahrzeug.h"
- #include <list>
- #include <string>
- class Kreuzung1 :
- public Simulationsobjekt
- {
- private:
- std::list<std::shared_ptr<Weg>> p_pWege; //Liste der wegfuehrenden Wege
- double p_dTankstelle; //Volumen der Tankstelle
- public:
- Kreuzung1();
- Kreuzung1(std::string Name, double TankVolumen);
- void vVerbinde(std::string NameHin, std::string NameZurueck, double Laenge, Kreuzung1& StartKreuzung, Kreuzung1& ZielKreuzung, double GeschwBegrenzung, bool Uebercholverbot); //Weg zur Kreutzung hinzufuegen
- void vSimulieren() override;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement