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

DtRotaryWingLoiterControllerComponent is a controller used to model a loitering helicopter. More...

Inheritance diagram for DtRotaryWingLoiterControllerComponent:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtRotaryWingLoiterControllerComponent (const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
 (const DtString&,DtVrfObject*,DtSimManager*,
virtual ~DtRotaryWingLoiterControllerComponent ()
 destructor
virtual void tick ()
 Sets the desired position and velocity for use by the parent controller, then calls the parent’s tick() function.
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

 DtRotaryWingLoiterControllerComponent ()
 Default constructor; should not be called.
 DtRotaryWingLoiterControllerComponent (const DtRotaryWingLoiterControllerComponent &orig)
 copy constructor; shallow; does not copy the ports.
const
DtRotaryWingLoiterControllerComponent
operator= (const DtRotaryWingLoiterControllerComponent &orig)
 assignment operator; see comments on copy constructor!
virtual void pilotProperties ()
 Sets the pilot properties.

Detailed Description

DtRotaryWingLoiterControllerComponent is a controller used to model a loitering helicopter.

End User Description: This controls the helicopter if no other pilot takes Uses Descriptor Type: DtRotaryWingPilotDescriptor


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; should not be called.

Here because the compiler will generate an unprotected one otherwise.

copy constructor; shallow; does not copy the ports.


Member Function Documentation

virtual void DtRotaryWingLoiterControllerComponent::tick ( ) [virtual]

Sets the desired position and velocity for use by the parent controller, then calls the parent’s tick() function.

Reimplemented from DtSimComponent.

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

Implements DtRotaryWingTaskController.

static DtSimComponent* DtRotaryWingLoiterControllerComponent::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.
const DtRotaryWingLoiterControllerComponent& DtRotaryWingLoiterControllerComponent::operator= ( const DtRotaryWingLoiterControllerComponent orig) [protected]

assignment operator; see comments on copy constructor!

virtual void DtRotaryWingLoiterControllerComponent::pilotProperties ( ) [protected, virtual]

Sets the pilot properties.

The position selector is 1.0 The velocity selector is 0.0 The acceleration selector is 0.0 The heading selector is 0.0. The aggressiveness value is set to the default aggressiveness.


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)