|
|
virtual void | Limits (const TrackJointLimits &wfl)=0 |
| | Sets all the limits for this wheelframe.
|
| virtual const TrackJointLimits & | Limits () const noexcept=0 |
| virtual std::shared_ptr< const TractionForceCharacteristic > | SetTractionForceCharacteristic (std::shared_ptr< const TractionForceCharacteristic > pCharacteristic)=0 |
| | applies a TractionForceCharacteristic to the thrust calculations.
|
| virtual std::shared_ptr< const TractionForceCharacteristic > | GetTractionForceCharacteristic () const =0 |
|
virtual void | EnableDerailing (bool bEnable=true) noexcept=0 |
| | A WheelFrame might derail during the simulation, if the stress of forces gets big enough. This switches this possibility on or off.
|
| virtual bool | IsDerailingEnabled () const noexcept=0 |
| virtual int | Attach (const Wheelset &ws)=0 |
| | Attaches a Wheelset to this WheelFrame.
|
|
virtual void | DetachAllWheelsets ()=0 |
| | Removes all the Wheelsets.
|
|
virtual int | CntWheelsets () const noexcept=0 |
| | Gets the number of Wheelsets attached directly to this WheelFrame.
|
| virtual const Wheelset & | GetWheelset (int idx) const =0 |
| | Gets the Wheelset denoted by idx.
|
|
virtual Jack & | JackOnRail () noexcept=0 |
| | Gets a Jack that pulses its Plug if the WheelFrame gets railed on a track.
|
|
virtual Jack & | JackOnDerail () noexcept=0 |
| | Gets a Jack that pulses its Plug if the WheelFrame derails.
|
|
virtual Jack & | JackOnRollingStart () noexcept=0 |
| | Gets a Jack that pulses its Plug if the WheelFrame starts to roll.
|
|
virtual Jack & | JackOnRollingStop () noexcept=0 |
| | Gets a Jack that pulses its Plug if the WheelFrame stops to roll.
|
|
virtual Jack & | JackOnMotorActive () noexcept=0 |
| | Gets a Jack that pulses its Plug if the WheelFrame's motor gets activated in order to reach the target velocity.
|
|
virtual Jack & | JackOnMotorInactive () noexcept=0 |
| | Gets a Jack that pulses its Plug if the WheelFrame's motor gets deactivated.
|
|
virtual Jack & | JackOnBrakeActive () noexcept=0 |
| | Gets a Jack that pulses its Plug if the WheelFrame's brake gets activated in order to reach the target velocity.
|
|
virtual Jack & | JackOnBrakeInactive () noexcept=0 |
| | Gets a Jack that pulses its Plug if the WheelFrame's brake gets deactivated.
|
|
virtual Jack & | JackOnTrackTransition () noexcept=0 |
| | Gets a Jack that pulses its Plug if the WheelFrame passes the connection between two tracks.
|
|
virtual Jack & | JackOnStartTilting () noexcept=0 |
| | Gets a Jack that pulses its Plug if the WheelFrame starts tilting.
|
|
virtual Jack & | JackOnStopTilting () noexcept=0 |
| | Gets a Jack that pulses its Plug if the WheelFrame starts tilting.
|
| virtual void | Attach (std::shared_ptr< Bogie > pChildBogie, EndType atEnd, const spat::Frame< Length, One > &swivelPose)=0 |
| virtual void | Attach (std::shared_ptr< Bogie > pChildBogie, EndType atEnd)=0 |
Gets or sets the local anchor that gets aligned to the track by the track joint.
The frame in local coordinates relative to the WheelFrame's body frame, which will get aligned to the track. If the WheelFrame becomes railed in anti direction on a track, this anchor will get flipped. - See also
- RailRunner::GetGlobalAnchor()
|
| virtual void | Anchor (const spat::Frame< Length, One > &anchor) noexcept=0 |
| virtual spat::Frame< Length, One > | Anchor () const noexcept=0 |
| virtual spat::Frame< Length, One > | UnflippedAnchor () const noexcept=0 |
|
virtual std::shared_ptr< Bogie > | ThisBogie () const noexcept=0 |
| | Gets a shared pointer to this.
|
|
virtual Gestalt & | GetGestalt () const noexcept=0 |
| virtual RollingStock * | GetRollingStock () const noexcept=0 |
| virtual std::pair< std::shared_ptr< Bogie >, spat::Frame< Length, One > > | GetChild (EndType atEnd) const noexcept=0 |
| | Gets the a pointer to a child bogie and the pose relative to this Bogie, were the swivel axis is running through the Bin vector.
|
| virtual std::pair< std::shared_ptr< Bogie >, spat::Frame< Length, One > > | GetParent (EndType atEnd=EndType::any) const noexcept=0 |
| | Gets the a pointer to a parent bogie and the
pose relative to this Bogie, were the swivel axis is running through the Bin vector.
|
|
virtual std::shared_ptr< Bogie > | GetFirst () const noexcept=0 |
| | Gets the first bogie in the rolling stock.
|
| virtual std::shared_ptr< Bogie > | GetNext () const noexcept=0 |
| | Gets the next bogie in the rolling stock.
|
| virtual std::shared_ptr< Bogie > | GetPrevious () const noexcept=0 |
| | Gets the previous bogie in the rolling stock.
|
|
virtual std::shared_ptr< Bogie > | GetLast () const noexcept=0 |
| | Gets the last bogie in the rolling stock.
|
|
virtual void | Detach (EndType atEnd=EndType::all) noexcept=0 |
| | Detaches a bogie from its parent(s).
|
| virtual bool | Couple (EndType end, Bogie &with, EndType withEnd, bool btriggerPulses=true) noexcept=0 |
| | Couples this Bogie with another at the respective ends.
|
| virtual std::pair< std::shared_ptr< Bogie >, EndType > | GetCoupledBogie (EndType end) const noexcept=0 |
| | Get the coupled Bogie.
|
| virtual void | SetCouplingProps (EndType atEnd, const CouplingProps &props)=0 |
| | Sets the coupling properties.
|
|
virtual CouplingProps | GetCouplingProps (EndType atEnd) const noexcept=0 |
| | Gets the coupling properties.
|
|
virtual spat::Sphere< Length > | GetCoupling (EndType end) const noexcept=0 |
| virtual void | SetCouplingHeight (EndType end, Length height)=0 |
| | Sets the height of the coupling over the track.
|
| virtual bool | BreakCoupling (EndType atEnd, bool btriggerPulses=true) noexcept=0 |
| | Breaks (not uncouples) the coupling at the enoted end.
|
|
virtual Jack & | JackOnMotorStart () noexcept=0 |
| | Gets a Jack that pulses its Plug if the RailRunner's motor starts, i.e. if the thrust is set to nonzero value.
|
|
virtual Jack & | JackOnMotorStop () noexcept=0 |
| | Gets a Jack that pulses its Plug if the RailRunner's motor stops, i.e. if the thrust is set to zero.
|
|
virtual Jack & | JackOnBrakeApply () noexcept=0 |
| | Gets a Jack that pulses its Plug if the WheelFrame's brakes are applied, i.e. if the braking value is set to nonzero.
|
|
virtual Jack & | JackOnBrakeRelease () noexcept=0 |
| | Gets a Jack that pulses its Plug if the WheelFrame's brakes are released, i.e. if the braking value is set to zero.
|
|
virtual Jack & | JackOnCouplingForceLimitExceeded (EndType end)=0 |
| | Gets a Jack that pulses its Plug if one (or any) of the RailRunner's outmost couplings experiences a force greater than the maximum coupling force.
|
|
virtual Jack & | JackOnNorthSwivelBendingIn () noexcept=0 |
| | Gets a Jack that pulses its Plug if the Bogie's hinge, that connects it to its north child, is bending against its natural turning direction about more than pi/64.
|
|
virtual Jack & | JackOnNorthSwivelBendingOut () noexcept=0 |
| | Gets a Jack that pulses its Plug if the Bogie's hinge, that connects it to its north child, is returning from its bending against its natural turning direction.
|
|
virtual Jack & | JackOnSouthSwivelBendingIn () noexcept=0 |
| | Gets a Jack that pulses its Plug if the Bogie's hinge, that connects it to its south child, is bending against its natural turning direction about more than pi/64.
|
|
virtual Jack & | JackOnSouthSwivelBendingOut () noexcept=0 |
| | Gets a Jack that pulses its Plug if the Bogie's hinge, that connects it to its south child, is returning from its bending against its natural turning direction.
|
| 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 void | Rail (const Location &location, bool bMoveTo=true)=0 |
| | Attaches this RailRunner onto the specified track location.
|
| 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 | 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 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 |
| virtual bool | Start (Scene &scene)=0 |
| | Called if the simulation is started.
|
| virtual void | Idle ()=0 |
| | Called during the simulation calculations, to perform tasks foreign to the physical simulation.
|
| virtual void | Update (Time dt=fixed_timestep)=0 |
| | Called to update the simulated object after the simuation step finishes.
|
|
virtual void | Pause () noexcept=0 |
| | Called if the simulation is paused.
|
|
virtual void | Resume () noexcept=0 |
| | Called if the simulation is resumed after pause.
|
|
virtual void | Stop () noexcept=0 |
| | Called if the simulation is stopped.
|