WsfMover¶
- WsfMover inherits WsfPlatformPart
Static Methods¶
- WsfMover Create(string aMoverType)¶
Returns a new mover with the specified type. The result mover can be used with WsfPlatform.SwapMover.
- static bool IsA_TypeOf(string aDerivedType, string aBaseType)¶
Returns true if the mover type specified by aDerivedType inherits from the mover type specified by aBaseType (compare to WsfObject.IsA_TypeOf(aBaseType) which determines if a specific object inherits from aBaseType).
Methods¶
- double UpdateInterval()¶
Returns the mover’s update interval.
- void SetMode(string aModeString)¶
Sets the “Mode” of the mover. Effect is Mover type implementation-defined. Initial functionality is for the WSF_ROTORCRAFT_MOVER, so see its documentation for that implementation.
- bool SetTSPI_FileName(string aFileName)¶
Sets the name of the data file to be opened and parsed by a WSF_TSPI_MOVER to define trajectory motion path to follow. The aFileName will have path variable names substituted before opening. Returns true if successful. Will not be successful if Mover is of type other than TSPI_Mover, or if the TSPI file is already open.
- bool IsExtrapolating()¶
Returns ‘true’ if the mover is ‘extrapolating’. For route-movers, this is true when extrapolating at end of path or after script commands like TurnToHeading(). Other mover types may or may not set this flag.
- void BurnedOut(double aBurnoutTime)¶
Triggers extrapolation in the mover.
- bool TurnOff()¶
Turn the mover off and returns true if successful.
- bool TurnOn()¶
Turn the mover on and returns true if successful.
Data Access Methods¶
- Array<int> PropertyInt(string aPropertyName)¶
Returns the integer value of the given property name. The array will be empty if the property is unrecognized.