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

Public Member Functions

 Anl4TrackSystemReader (const char *pLocale=nullptr)
 Anl4TrackSystemReader (SocketRegistry &socketRegistry, const char *pLocale=nullptr)
std::shared_ptr< TrackSystem > ReadTrackSystem (const boost::property_tree::ptree &pt) const override
Public Member Functions inherited from trax::ptreesupport::PTreeReader
dclspc PTreeReader (const char *pLocale=nullptr)
dclspc PTreeReader (SocketRegistry &socketRegistry, const char *pLocale=nullptr)
 PTreeReader (const PTreeReader &)=delete
dclspc PTreeReader (PTreeReader &&) noexcept
PTreeReader & operator= (const PTreeReader &)=delete
PTreeReader & operator= (PTreeReader &&) noexcept=delete
void dclspc RegisterCurveReader (const std::string &typeName, CurveReaderFunction readerFunc)
void dclspc UnregisterCurveReader (const std::string &typeName)
void dclspc RegisterTwistReader (const std::string &typeName, TwistReaderFunction readerFunc)
void dclspc UnregisterTwistReader (const std::string &typeName)
const char * GetLocale () const

Protected Member Functions

std::shared_ptr< TrackSystem > CreateTrackSystem (const boost::property_tree::ptree &pt) const
std::shared_ptr< TrackCollection > CreateTrackCollection (const boost::property_tree::ptree &pts, std::vector< Track::Coupling > &couplings) const
std::shared_ptr< TrackBuilder > CreateTrack (const boost::property_tree::ptree &pt, std::vector< Track::Coupling > &couplings) const
std::unique_ptr< ConnectorCollection > CreateConnectorCollection (const boost::property_tree::ptree &pt, const TrackSystem &trackSystem) const
std::unique_ptr< Switch > CreateSwitch (const boost::property_tree::ptree &pt, const TrackSystem &trackSystem) const
std::unique_ptr< ThreeWaySwitch > CreateThreeWaySwitch (const boost::property_tree::ptree &pt, const TrackSystem &trackSystem) const
std::unique_ptr< SingleSlipSwitch > CreateSingleSlipSwitch (const boost::property_tree::ptree &pt, const TrackSystem &trackSystem) const
std::unique_ptr< DoubleSlipSwitch > CreateDoubleSlipSwitch (const boost::property_tree::ptree &pt, const TrackSystem &trackSystem) const
std::unique_ptr< Location > CreateLocation (const boost::property_tree::ptree &pt, const TrackSystem &trackSystem) const
std::unique_ptr< IndicatorCollection > CreateIndicatorCollection (const boost::property_tree::ptree &pt, const ConnectorCollection &connectorCollection, const SignalCollection &signalCollection) const
std::unique_ptr< BinaryIndicator > CreateSwitchSemaphore (const boost::property_tree::ptree &pt, const ConnectorCollection &connectorCollection) const
std::unique_ptr< Indicator > CreateSwitchMultiSemaphore (const boost::property_tree::ptree &pt, const ConnectorCollection &connectorCollection) const
std::unique_ptr< Indicator > CreateVelocityControlSemaphore (const boost::property_tree::ptree &pt, const SignalCollection &signalCollection) const
std::unique_ptr< Sensor > CreateSensor (const boost::property_tree::ptree &pt, TrackLocation &trackLocation) const
std::unique_ptr< VelocitySensor > CreateVelocitySensor (const boost::property_tree::ptree &pt, TrackLocation &trackLocation) const
std::unique_ptr< WeighSensor > CreateWeighSensor (const boost::property_tree::ptree &pt, TrackLocation &trackLocation) const
std::unique_ptr< IntervalSensor > CreateTractionSensor (const boost::property_tree::ptree &pt, TrackLocation &trackLocation) const
std::unique_ptr< SignalCollection > CreateSignalCollection (const boost::property_tree::ptree &pt, const TrackSystem &trackSystem) const
std::shared_ptr< VelocityControl > CreateVelocityControl (const boost::property_tree::ptree &pt, const TrackSystem &trackSystem) const
std::shared_ptr< JumpSite > CreateJumpSignal (const boost::property_tree::ptree &pt, const TrackSystem &trackSystem) const
std::unique_ptr< Section > CreateSection (const boost::property_tree::ptree &pt) const
std::unique_ptr< PulseCounterCollection > CreatePulseCounterCollection (const boost::property_tree::ptree &pt) const
std::unique_ptr< PulseCounter > CreatePulseCounter (const boost::property_tree::ptree &pt) const
std::unique_ptr< TimerCollection > CreateTimerCollection (const boost::property_tree::ptree &pt) const
std::unique_ptr< Timer > CreateTimer (const boost::property_tree::ptree &pt) const
Explicit XML Reading
void ReadJumpSignalTarget (const boost::property_tree::ptree &pt, std::shared_ptr< JumpSite > pSignal, const TrackSystem &trackSystem) const
void ReadSensor (const boost::property_tree::ptree &pt, Sensor &sensor, TrackLocation &trackLocation) const
void ReadSignal (const boost::property_tree::ptree &pt, std::shared_ptr< Signal > pSignal, const TrackSystem &trackSystem) const
void ReadIndicator (const boost::property_tree::ptree &pt, Indicator &indicator, const ConnectorCollection &connectorCollection) const
void ReadJack (const boost::property_tree::ptree &pt, Jack &jack) const
void ReadPlug (const boost::property_tree::ptree &pt, Plug &plug) const
void ReadPlug (const boost::property_tree::ptree &pt, MultiPlug &plug) const
void ReadSection (const boost::property_tree::ptree &pt, trax::TrackBuilder &track) const noexcept
Protected Member Functions inherited from trax::ptreesupport::PTreeReader
std::unique_ptr< Curve > CreateCurve (const boost::property_tree::ptree &pt) const
std::unique_ptr< RoadwayTwist > CreateTwist (const boost::property_tree::ptree &pt) const

Additional Inherited Members

Public Types inherited from trax::ptreesupport::PTreeReader
using CurveReaderFunction = std::unique_ptr<Curve> (*)( const boost::property_tree::ptree& pt )
using TwistReaderFunction = std::unique_ptr<RoadwayTwist> (*)( const boost::property_tree::ptree& pt )
Protected Attributes inherited from trax::ptreesupport::PTreeReader
SocketRegistry & m_SocketRegistry

Member Function Documentation

◆ ReadTrackSystem()

std::shared_ptr< TrackSystem > trax::ptreesupport::Anl4TrackSystemReader::ReadTrackSystem ( const boost::property_tree::ptree & pt) const
overridevirtual

The documentation for this class was generated from the following file: