30#include "RailRunnerParser.h"
31#include "RollingStockCreator.h"
40 protected RollingStockCreator
43 TrainCreator(
Scene& scene )
noexcept;
45 std::shared_ptr<Train> GetTrain()
const noexcept;
48 bool ParsingStart()
noexcept(
false)
override;
52 const std::string& name,
53 const std::string& reference,
58 int32_t credit )
noexcept(
false)
override;
61 const std::string& name,
62 const std::string& reference )
noexcept(
false)
override;
64 void AxisArrangementEnd(
Orientation orientation )
noexcept(
false)
override;
67 const std::string& name,
68 const std::string& reference )
noexcept(
false)
override;
70 void RollingStockEnd(
Orientation orientation )
noexcept(
false)
override;
75 bool couplingNorthActivated,
76 bool couplingSouthActivated )
noexcept(
false)
override;
78 void ParsingEnd()
noexcept override;
80 std::stack<std::vector<std::pair<std::shared_ptr<struct TrainComponent>,
struct Orientation>>> m_TrainStack;
81 std::shared_ptr<Train> m_pTrain;
Definition RailRunnerParser.h:50
Definition RailRunnerParser.h:127
Value< Dimension< 1, 0, -1 > > Velocity
Velocity.
Definition DimensionedValues.h:331
Value< Dimension< 0, 0, 0 > > One
Dimensionless value.
Definition DimensionedValues.h:319
Namespace of all the trax track libraries classes and methods.
Definition Collection.h:17
Type used for IDs in the trax library.
Definition IDType.h:43
Provides two values for orientation.
Definition Orientation.h:37
A physical simulation scene for running a simulation and creating physical objects in the scene.
Definition Scene.h:72