Simulateur Ferroviaire
Reconstruction et visualisation d'un réseau ferroviaire à partir de données GeoJSON — Win32 / WebView2 / Leaflet
Chargement...
Recherche...
Aucune correspondance
PCCStraightNode.h
Aller à la documentation de ce fichier.
1
15#pragma once
16
17#include "PCCNode.h"
19
30{
31public:
32
33 // =========================================================================
34 // Construction
35 // =========================================================================
36
48 explicit PCCStraightNode(StraightBlock* source, Logger& logger);
49
50 // =========================================================================
51 // Interface PCCNode
52 // =========================================================================
53
63 [[nodiscard]] PCCNodeType getNodeType() const override { return PCCNodeType::STRAIGHT; }
64
65 // =========================================================================
66 // Accesseur typé
67 // =========================================================================
68
78 [[nodiscard]] StraightBlock* getStraightSource() const { return m_straightSource; }
79
80private:
81
88};
Nœud abstrait du graphe PCC représentant un bloc ferroviaire.
PCCNodeType
Type d'un nœud PCC — miroir de ElementType.
Definition PCCNode.h:40
Modèle de domaine d'un bloc de voie droite (Straight).
Journaliseur associé à un moteur nommé.
Definition Logger.h:99
Nœud abstrait du graphe PCC.
Definition PCCNode.h:70
Nœud PCC issu d'un StraightBlock.
Definition PCCStraightNode.h:30
PCCNodeType getNodeType() const override
Retourne PCCNodeType::STRAIGHT.
Definition PCCStraightNode.h:63
StraightBlock * m_straightSource
Definition PCCStraightNode.h:87
StraightBlock * getStraightSource() const
Retourne le StraightBlock source avec son type concret.
Definition PCCStraightNode.h:78
Definition StraightBlock.h:24