VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
DtIntegratedLaserGuidedLauncherController Class Reference

End User Description: This is a derived version of DtLaserGuidedLauncherController that can send targets to an integrated laser designator. More...

Inheritance diagram for DtIntegratedLaserGuidedLauncherController:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtIntegratedLaserGuidedLauncherController (const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *compDesc=0, DtReaderWriterRegistry *parentRegistry=0)
 (const DtString&,DtVrfObject*,DtSimManager*,
virtual ~DtIntegratedLaserGuidedLauncherController ()
 Destructor.
virtual DtString type () const
 Returns a string identifies the class type of component.
virtual bool init ()
 Initialize the component.
virtual void tick ()
 Tick Function.
virtual bool fireMunition (DtReflectedDesignator *target)
 Overriden to increment roundsFiredAtTarget in weaponInterface.

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 createPorts ()
 Called by init.

Protected Attributes

DtIntegratedLaserGuidedLauncherDescriptormyDescriptor
 Pointer to my descriptor.
DtWeaponComponentInterfacemyWeaponComponentInterface
DtEntityListOutputPortmyTargetListOutputPort
DtEntityTargetInformationmyCurrentMissileTarget

Private Member Functions

 DtIntegratedLaserGuidedLauncherController ()
 Not implemented.
 DtIntegratedLaserGuidedLauncherController (const DtLaserGuidedLauncherController &orig)
 Not implemented.
DtIntegratedLaserGuidedLauncherControlleroperator= (const DtLaserGuidedLauncherController &orig)
 Not implemented.

Detailed Description

End User Description: This is a derived version of DtLaserGuidedLauncherController that can send targets to an integrated laser designator.

Uses Descriptor Type: DtIntegratedLaserGuidedLauncherDescriptor


Constructor & Destructor Documentation

Not implemented.

Not implemented.

(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.


Member Function Documentation

DtIntegratedLaserGuidedLauncherController& DtIntegratedLaserGuidedLauncherController::operator= ( const DtLaserGuidedLauncherController orig) [private]

Not implemented.

Reimplemented from DtLaserGuidedLauncherController.

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

Reimplemented from DtLaserGuidedLauncherController.

Initialize the component.

Reimplemented from DtLaserGuidedLauncherController.

Tick Function.

Reimplemented from DtLaserGuidedLauncherController.

virtual bool DtIntegratedLaserGuidedLauncherController::fireMunition ( DtReflectedDesignator *  target) [virtual]

Overriden to increment roundsFiredAtTarget in weaponInterface.

Reimplemented from DtLaserGuidedLauncherController.

static DtSimComponent* DtIntegratedLaserGuidedLauncherController::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 DtLaserGuidedLauncherController.

Called by init.

Derived classes should override this method to create all their input/output ports and port groups.

Reimplemented from DtLaserGuidedLauncherController.


Member Data Documentation

Pointer to my descriptor.

Reimplemented from DtLaserGuidedLauncherController.


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)