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

DtVerticalLauncherController; controller for a fixed vertical missile launcher. More...

Inheritance diagram for DtVerticalLauncherController:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtVerticalLauncherController (const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
 (const DtString&,DtVrfObject*,DtSimManager*,
virtual ~DtVerticalLauncherController ()
 destructor
virtual DtString type () const
 Returns a string identifies the class type of component.
virtual bool acquireTarget (const DtVrfObject *target)
 Derived to allow the missiles to fire without trying to allign the entity with the target first.

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

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

Detailed Description

DtVerticalLauncherController; controller for a fixed vertical missile launcher.

DtVerticalLauncherController is a controller that accepts input from a target sensor, and provides ammunition type, load status, and trigger inputs to a missile launcher actuator. Uses Descriptor Type: DtWeaponControllerDescriptor


Constructor & Destructor Documentation

DtVerticalLauncherController::DtVerticalLauncherController ( const DtString name,
DtVrfObject owner,
DtSimManager simManager,
DtComponentDescriptor desc = 0,
DtReaderWriterRegistry parentRegistry = 0 
)

(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

virtual DtString DtVerticalLauncherController::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:
DtVerticalLauncherControllerType

Reimplemented from DtLauncherController.

virtual bool DtVerticalLauncherController::acquireTarget ( const DtVrfObject target) [virtual]

Derived to allow the missiles to fire without trying to allign the entity with the target first.

Reimplemented from DtWeaponController.

static DtSimComponent* DtVerticalLauncherController::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 DtLauncherController.

const DtVerticalLauncherController& DtVerticalLauncherController::operator= ( const DtVerticalLauncherController 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)