VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions | Private Member Functions
DtCruiseMissileDefaultController Class Reference

DtCruiseMissileDefaultController; models the behavior of flying the missile down to the ground. More...

Inheritance diagram for DtCruiseMissileDefaultController:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtCruiseMissileDefaultController (const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
 (const DtString&,DtVrfObject*,DtSimManager*,
virtual ~DtCruiseMissileDefaultController ()
 destructor
virtual bool init ()
 Initiallizes output ports with 0 values.
virtual void tick ()
 Takes control of the output ports and calls flyFixedPitch() with the current speed and a -45 degree angle.
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*,

Private Member Functions

 DtCruiseMissileDefaultController ()
 default constructor; not implemented
 DtCruiseMissileDefaultController (const DtCruiseMissileDefaultController &orig)
 copy constructor; not implemented
const
DtCruiseMissileDefaultController
operator= (const DtCruiseMissileDefaultController &orig)
 assignment operator; not implemented

Detailed Description

DtCruiseMissileDefaultController; models the behavior of flying the missile down to the ground.

DtCruiseMissileDefaultController is a controller that directs the missile entity controlled by this controller to simply fly into the ground.

End User Description: Creates the ports needed to control fixed wing actuators. This controller takes control of these ports, and flies down toward the ground. This is intented mostly for use if a cruise missile ends its task without impacting an entity or the ground.

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

Initiallizes output ports with 0 values.

Reimplemented from DtFixedWingPilotController.

virtual void DtCruiseMissileDefaultController::tick ( ) [virtual]

Takes control of the output ports and calls flyFixedPitch() with the current speed and a -45 degree angle.

Reimplemented from DtFixedWingPilotController.

virtual DtString DtCruiseMissileDefaultController::type ( ) const [virtual]

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:
DtCruiseMissileDefaultControllerType

Reimplemented from DtFixedWingPilotController.

static DtSimComponent* DtCruiseMissileDefaultController::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 DtFixedWingPilotController.

const DtCruiseMissileDefaultController& DtCruiseMissileDefaultController::operator= ( const DtCruiseMissileDefaultController orig) [private]

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)