Trax3 3.1.0
trax track library
Loading...
Searching...
No Matches
trax::TrainCreator Class Reference
Inheritance diagram for trax::TrainCreator:

Public Member Functions

 TrainCreator (Scene &scene) noexcept
std::shared_ptr< TrainGetTrain () const noexcept
Public Member Functions inherited from trax::TrainParser
virtual void TrackLocation (const TrackLocationRef &) noexcept(false)
Public Member Functions inherited from trax::Parser
virtual void Frame (const spat::Frame< dim::Length, dim::One > &frame) noexcept
virtual void Area (const spat::Box< dim::Length > &area) noexcept
virtual void Interval (const common::Interval< dim::Length > &interval) noexcept
virtual void DisplayName (const std::string &, const std::string &) noexcept
virtual void Description (const std::string &, const std::string &) noexcept

Protected Member Functions

bool ParsingStart () noexcept(false) override
bool TrainStart (IDType id, const std::string &name, const std::string &reference, Velocity travel_velocity, Velocity velocity, One trainThrust, One trainBrake, int32_t credit) noexcept(false) override
RollingStockParserAxisArrangementStart (const std::string &name, const std::string &reference) noexcept(false) override
void AxisArrangementEnd (Orientation orientation) noexcept(false) override
RollingStockParserRollingStockStart (const std::string &name, const std::string &reference) noexcept(false) override
void RollingStockEnd (Orientation orientation) noexcept(false) override
void TrainEnd (trax::Orientation orientation, bool automatic, bool couplingNorthActivated, bool couplingSouthActivated) noexcept(false) override
void ParsingEnd () noexcept override
Protected Member Functions inherited from trax::RollingStockCreator
bool RollingStockStart () noexcept(false) override
bool BogieStart (IDType id, const std::string &name, const std::string &model) noexcept(false) override
void BogieFrame (const spat::Frame< dim::Length, dim::One > &frame) noexcept override
bool GeomStart (const std::string &name, Geom::Filters filter, GeomType type, Mass mass) noexcept(false) override
void Material (const trax::Material &material) noexcept override
void GeomEnd (const std::string &name, Geom::Filters filter, GeomType type, Mass mass) noexcept(false) override
void Coupling (RailRunner::EndType end, Length bufferLength, Force maxForce, IDType typeID, const spat::Frame< dim::Length, dim::One > &frame) noexcept(false) override
void Swivel (RailRunner::EndType slot, IDType childID, const spat::Frame< dim::Length, dim::One > &frame) noexcept(false) override
void BogieEnd (const std::string &sndGroup) noexcept override
bool WheelFrameStart (IDType id, const std::string &name, const std::string &model) noexcept(false) override
bool TractionForceCharacteristicStart () noexcept(false) override
void SpeedStep (Velocity velocity, One value) noexcept override
void TractionForceCharacteristicEnd () noexcept(false) override
void TrackJointLimits (const trax::TrackJointLimits &trackJointLimits) noexcept override
void Wheelset (const trax::Wheelset &wheelset) noexcept override
bool TrackLocation (const TrackLocationRef &trackLocation) noexcept(false) override
void Anchor (const spat::Frame< dim::Length, dim::One > &anchor) noexcept override
void WheelFrameEnd (const std::string &sndGroup) noexcept override
void RollingStockEnd () noexcept(false) override
 RollingStockCreator (Scene &scene)
std::shared_ptr< RollingStockGetRollingStock () const noexcept

Additional Inherited Members

Protected Attributes inherited from trax::Parser
common::Interval< dim::Lengthm_Interval
spat::Box< dim::Lengthm_Area
spat::Frame< dim::Length, dim::Onem_Frame

Member Function Documentation

◆ AxisArrangementEnd()

void trax::TrainCreator::AxisArrangementEnd ( Orientation orientation)
overrideprotectedvirtual

Reimplemented from trax::TrainParser.

◆ AxisArrangementStart()

RollingStockParser * trax::TrainCreator::AxisArrangementStart ( const std::string & name,
const std::string & reference )
overrideprotectedvirtual

Reimplemented from trax::TrainParser.

◆ ParsingEnd()

void trax::TrainCreator::ParsingEnd ( )
overrideprotectedvirtualnoexcept

Reimplemented from trax::Parser.

◆ ParsingStart()

bool trax::TrainCreator::ParsingStart ( )
overrideprotectedvirtual

Reimplemented from trax::Parser.

◆ RollingStockEnd()

void trax::TrainCreator::RollingStockEnd ( Orientation orientation)
overrideprotectedvirtual

Reimplemented from trax::TrainParser.

◆ RollingStockStart()

RollingStockParser * trax::TrainCreator::RollingStockStart ( const std::string & name,
const std::string & reference )
overrideprotectedvirtual

Reimplemented from trax::TrainParser.

◆ TrainEnd()

void trax::TrainCreator::TrainEnd ( trax::Orientation orientation,
bool automatic,
bool couplingNorthActivated,
bool couplingSouthActivated )
overrideprotectedvirtual

Reimplemented from trax::TrainParser.

◆ TrainStart()

bool trax::TrainCreator::TrainStart ( IDType id,
const std::string & name,
const std::string & reference,
Velocity travel_velocity,
Velocity velocity,
One trainThrust,
One trainBrake,
int32_t credit )
overrideprotectedvirtual

Reimplemented from trax::TrainParser.


The documentation for this class was generated from the following file:
  • C:/Trend/Development/Trax3/Code/trax/rigid/trains/support/TrainCreator.h