VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Enumerations
railMovementControllerPSR.h File Reference

Go to the source code of this file.

Classes

class  DtRailMovementControllerPSR
 

Enumerations

enum  DtRailMovementState {
  DtNoMovement = 0, DtMovementAlongSegment, DtMovementApproachingTurn, DtMovementTurning,
  DtMovementApproachingSwitchLanes, DtMovementSwitchLanes, DtMovementPassing, DtMovementRerouteToNextSegment,
  DtMovementApproachingDestination, DtMovementStop
}
 

Enumeration Type Documentation

Used to keep the current state of an entity as it travels along a route using the rail system.

If the enumeration below is changed, also change the string names for these states defined in railMovementController.cxx. For road movement, 3 states are used: DtMovementAlongSegment is the normal state when doing the task. DtMovementStop means that the task is finished, and should exit. DtNoMovement means the entity has been stopped because it is out of fuel, has a mobility kill, or is destroyed; in this state it will not compute movement, but will retain its route in case it is restored.

Enumerator
DtNoMovement 
DtMovementAlongSegment 
DtMovementApproachingTurn 
DtMovementTurning 
DtMovementApproachingSwitchLanes 
DtMovementSwitchLanes 
DtMovementPassing 
DtMovementRerouteToNextSegment 
DtMovementApproachingDestination 
DtMovementStop 

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)