VR-Forces 4.7 Class Documentation
 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
 Instances of DtRailMovementControllerPSR are used to hold the shared/checkpointable data for a rail movement system. More...

Enumerations

enum  DtRailMovementState {
  DtNoMovement = 0, DtMovementAlongSegment, DtMovementApproachingTurn, DtMovementTurning,
  DtMovementApproachingSwitchLanes, DtMovementSwitchLanes, DtMovementPassing, DtMovementRerouteToNextSegment,
  DtMovementApproachingDestination, DtMovementStop
}
 Used to keep the current state of an entity as it travels along a route using the rail system. More...

Detailed Description

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 Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)