VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions | Protected Member Functions
DtCruiseMissileMoveAlongController Class Reference

DtCruiseMissileMoveAlongController models movement along a route for cruise missile entities. More...

Inheritance diagram for DtCruiseMissileMoveAlongController:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtCruiseMissileMoveAlongController (const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
 (const DtString&,DtVrfObject*,DtSimManager*,
virtual ~DtCruiseMissileMoveAlongController ()
 destructor
virtual DtString type () const
 Returns a string identifies the class type of component.

Static Public Member Functions

static DtSimComponentcreator (const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
 (const DtString&,DtVrfObject*,DtSimManager*,

Protected Member Functions

virtual bool setMovementStatusFromRoute ()
 Overridden to set the movement status in the PSR to "DtFWFlying" in order to prevent the missile from attempting to land.
 DtCruiseMissileMoveAlongController ()
 default constructor; not implemented
 DtCruiseMissileMoveAlongController (const DtCruiseMissileMoveAlongController &orig)
 copy constructor; not implemented
DtCruiseMissileMoveAlongControlleroperator= (const DtCruiseMissileMoveAlongController &orig)
 assignment operator; not implemented

Detailed Description

DtCruiseMissileMoveAlongController models movement along a route for cruise missile entities.

End User Description: Instances of DtCruiseMissileMoveAlongController prevent cruise missiles from trying to land.

Uses Descriptor Type: DtFixedWingPilotControllerDescriptor


Constructor & Destructor Documentation

(const DtString&,DtVrfObject*,DtSimManager*,

Parameters:
nameReader writer name of this component.
ownerThe DtVrfObject that owns this component
simManagerThe simulation manager (provides access to terrain, message interface, simulation clock).
descThe component descriptor used to initialize this component.
parentRegistryPointer to the parent reader writer registry (the containing object that reads/writes this object).
(const DtString&,DtVrfObject*,DtSimManager*, DtComponentDescriptor*,DtReaderWriterRegistry* parentRegistry)

destructor

default constructor; not implemented

copy constructor; not implemented


Member Function Documentation

Returns a string identifies the class type of component.

Type values are defined in compTypes.h. DtSimComponent creation functions are registered with the DtSimComponentFactory using the type values as the key.

Returns:
DtCruiseMissileMoveAlongControllerType

Reimplemented from DtFixedWingMoveAlongController.

static DtSimComponent* DtCruiseMissileMoveAlongController::creator ( const DtString name,
DtVrfObject owner,
DtSimManager simManager,
DtComponentDescriptor desc = 0,
DtReaderWriterRegistry parentRegistry = 0 
) [static]

(const DtString&,DtVrfObject*,DtSimManager*,

Parameters:
nameReader writer name of this component.
ownerThe DtVrfObject that owns this component
simManagerThe simulation manager (provides access to terrain, message interface, simulation clock).
descThe component descriptor used to initialize this component.
parentRegistryPointer to the parent reader writer registry (the containing object that reads/writes this object).
(const DtString&,DtVrfObject*,DtSimManager*, DtComponentDescriptor*,DtReaderWriterRegistry* parentRegistry)

Returns:
New instance of this class.

Reimplemented from DtFixedWingMoveAlongController.

Overridden to set the movement status in the PSR to "DtFWFlying" in order to prevent the missile from attempting to land.

Always returns true.

Reimplemented from DtFixedWingMoveAlongController.

DtCruiseMissileMoveAlongController& DtCruiseMissileMoveAlongController::operator= ( const DtCruiseMissileMoveAlongController orig) [protected]

assignment operator; not implemented


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)