|
|
virtual std::shared_ptr< RollingStock > | ThisRollingStock () const noexcept=0 |
| | Gets a shared pointer to this.
|
| virtual bool | Attach (Bogie &bogie) noexcept=0 |
| | Attaches a configured Bogie arrangement to the RollingStock.
|
| virtual int | GetNumberOfBogies () const noexcept=0 |
| virtual Bogie & | GetBogie (int idx) const =0 |
| | Gets the Bogie with index number idx.
|
| virtual int | GetNumberOfTopmostParents () const noexcept=0 |
| virtual Bogie & | GetTopmostParent (int idx=0) const =0 |
| | Gets the topmost parent Bogie.
|
| virtual int | GetNumberOfWheelFrames () const noexcept=0 |
| virtual WheelFrame & | GetWheelFrame (int idx) const =0 |
| | Gets the WheelFrame at index, counting from north to south.
|
| virtual std::pair< std::shared_ptr< RollingStock >, EndType > | GetCoupledRollingStock (EndType end) const noexcept=0 |
| | Get the coupled RollingStock.
|
|
virtual Jack & | JackOnHoot () noexcept=0 |
| | Gets a Jack that pulses its Plug if the RailRunner's Hoot() member is called.
|
|
virtual Jack & | JackOnSteam () noexcept=0 |
| | Gets a Jack that pulses its Plug if the RailRunner's Steam() member is called.
|
|
virtual std::shared_ptr< TrainComponent > | ThisTrainComponent () const noexcept=0 |
| | Gets a shared pointer to this.
|
| virtual Train * | GetTrain () const noexcept=0 |
| virtual Orientation | GetOrientation () const noexcept=0 |
| virtual std::pair< Train *, Orientation > | GetTopmostTrain () const noexcept=0 |
| virtual bool | IsFinal () const noexcept=0 |
| virtual bool | IsParent (const Train &train) const noexcept=0 |
| virtual void | Rail (const Location &location, bool bMoveTo, DistanceType distance)=0 |
| | Rails this TrainComponent at the given location.
|
|
virtual void | ResetToGlobalAnchor (const spat::Frame< Length, One > &anchorPose, DistanceType distance)=0 |
| virtual bool | Couple (EndType end, TrainComponent &with, EndType withEnd, bool btriggerPulses=true) noexcept=0 |
| | Couples this TrainComponent with another at the respective ends.
|
| virtual std::pair< std::shared_ptr< TrainComponent >, EndType > | GetCoupledTrainComponent (EndType end) const noexcept=0 |
| | Get the coupled TrainComponent.
|
| virtual Length | GetCouplingLength (EndType end, DistanceType distance=DistanceType::max) const noexcept=0 |
| | Gets the length of the coupling from TrainComponent edge to TrainComponent edge.
|
| virtual Length | GetOverhang (EndType end, DistanceType distance=DistanceType::actual) const noexcept=0 |
| | Gets the distances from the track location (i.e. global anchor) to the north or south tip of the RailRunner.
|
| virtual Length | GetLength (DistanceType distance=DistanceType::actual) const noexcept=0 |
| | Gets the total length of this RailRunner.
|
| virtual Mass | GetTotalMass () const noexcept=0 |
|
virtual Jack & | JackOnRail () noexcept=0 |
| | Gets a Jack that pulses its Plug if the RailRunner gets railed on a track.
|
|
virtual Jack & | JackOnDerail () noexcept=0 |
| | Gets a Jack that pulses its Plug if the RailRunner derails.
|
| virtual void | Rail (const Location &location, bool bMoveTo=true)=0 |
| | Attaches this RailRunner onto the specified track location.
|
| virtual void | ResetToGlobalAnchor (const spat::Frame< Length, One > &anchorPose)=0 |
| | Sets the position of the RailRunner so that its global anchor alignes to the given global pose.
|
| virtual std::pair< Bogie &, EndType > | GetTipAt (EndType end)=0 |
| virtual std::pair< const Bogie &, EndType > | GetTipAt (EndType end) const =0 |
| virtual const char * | TypeName () const noexcept=0 |
|
virtual std::shared_ptr< RailRunner > | This () const noexcept=0 |
| | Gets a shared pointer to this.
|
| virtual bool | IsValid () const noexcept=0 |
| virtual Location | GetLocation () const noexcept=0 |
| | Gets the track location were the RailRunner is railed.
|
| virtual void | DeRail () noexcept=0 |
| | Take the RailRunner from the track.
|
| virtual bool | IsRailed () const noexcept=0 |
| | Is the RailRunner on a track?
|
| virtual spat::Frame< Length, One > | GetGlobalAnchor () const =0 |
| | Gets the global anchor of the RailRunner.
|
| virtual void | SetVelocity (Velocity velocity)=0 |
| | Sets the velocity of this RailRunner along the track.
|
| virtual Velocity | GetVelocity () const =0 |
| virtual void | TargetVelocity (Velocity velocity)=0 |
| | Sets the target velocity to aim for by using the supplied Thrust() and Brake() settings.
|
| virtual Velocity | TargetVelocity () const noexcept=0 |
| virtual EndType | TargetDirection () const noexcept=0 |
| | Gets the principle direction of movement according to the sign of the target velocity.
|
| virtual Power | MaximumPowerOutput () const noexcept=0 |
| virtual Power | CurrentPowerOutput () const noexcept=0 |
| virtual Velocity | MaximumVelocity () const noexcept=0 |
| virtual void | Thrust (One byfactor)=0 |
| | Sets the fraction of the maximum thrust to apply in order to reach the target velocity specified by TargetVelocity().
|
| virtual One | Thrust () const noexcept=0 |
| | Gets the fraction of the maximum thrust applied.
|
|
virtual void | ThrustAbsolute (Force thrust)=0 |
| | Sets the thrust as absolute force values. If the value exceeds MaxThrust() it get clipped.
|
| virtual Force | ThrustAbsolute () const noexcept=0 |
| virtual void | Brake (One byfactor)=0 |
| | Sets the fraction of the maximum braking to apply in order
to reach a zero velocity.
|
| virtual One | Brake () const noexcept=0 |
| | Gets the fraction of the maximum braking applied.
|
|
virtual void | BrakeAbsolute (Force brake)=0 |
| | Sets the brake as absolute force value. If the value exceeds MaxBrake() it gets clipped.
|
| virtual Force | BrakeAbsolute () const noexcept=0 |
|
virtual Force | MaxBrake () const noexcept=0 |
| | Gets the maximal available braking. This value is determined by the properties of the Wheelsets attached to WheelFrames wich in turn are attached to a bogie.
|
| virtual void | ActivateCoupling (EndType end)=0 |
| | Activates the coupling at the respective end of the RailRunner.
|
| virtual void | DeactivateCoupling (EndType end)=0 |
| | Deactivates the coupling at the respective end of the RailRunner.
|
| virtual bool | IsActivated (EndType end) const noexcept=0 |
| virtual bool | Uncouple (EndType end=EndType::all, bool btriggerPulses=true) noexcept=0 |
| | Uncouples the RailRunner at the specified end.
|
| virtual bool | IsCoupled (EndType end=EndType::any) const noexcept=0 |
| | Is the coupling coupled?
|
| virtual Length | GetCouplingHeight (EndType end) const noexcept=0 |
| | Gets the height of the coupling over the track.
|
|
virtual Jack & | JackOnCouple (EndType end)=0 |
| | Gets a Jack that pulses its Plug if one (or any) of the RailRunner's outmost couplings get coupled.
|
|
virtual Jack & | JackOnUnCouple (EndType end)=0 |
| | Gets a Jack that pulses its Plug if one (or any) of the RailRunner's outmost couplings get uncoupled or breaks.
|
|
virtual Jack & | JackOnCouplingActivated (EndType end)=0 |
| | Gets a Jack that pulses its Plug if one (or any) of the RailRunner's outmost couplings get activated.
|
|
virtual Jack & | JackOnCouplingDeactivated (EndType end)=0 |
| | Gets a Jack that pulses its Plug if one (or any) of the RailRunner's outmost couplings get deactivated.
|
| virtual void | UserData (RailRunnerUserData *pData) noexcept=0 |
| | Sets a pointer to user provided data.
|
| virtual RailRunnerUserData * | UserData () const noexcept=0 |
| virtual Force | MaxThrust () const noexcept=0 |
| virtual Force | MaxThrust (Velocity velocity) const noexcept=0 |
| virtual const std::string & | Reference (const std::string &name) const=0 |
| | Gets a reference that was set for this object by name.
|
|
virtual const std::vector< char const * > & | ReferenceNames (const std::string &namePart) const=0 |
| | Searches for all reference names that countain namePart as substring in the name.
|
| virtual IDType | ID () const noexcept=0 |
|
| Identified (const Identified &)=delete |
|
Identified & | operator= (const Identified &)=delete |