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

This controller is a provider to the DtVrfObjectTerrainPreloadManager. More...

Inheritance diagram for DtShapeBasedTerrainPreloadController:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtShapeBasedTerrainPreloadController (const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
 (const DtString&,DtVrfObject*,DtSimManager*,
virtual ~DtShapeBasedTerrainPreloadController ()
 destructor
virtual bool init ()
 Calls setRadio()
virtual DtString type () const
 Returns a string identifies the class type of component.
virtual void calculateTerrainPreLoad (DtVrfObjectTerrainPreloadArgs &args)
 Calculates a basic sphere of terrain based on the entities current location and scaled by the entities current speed.

Static Public Member Functions

static void calculateTerrainPreLoadCallback (DtVrfObjectTerrainPreloadArgs &args, void *usr)
 Callback registered with the DtVrfObjectTerrainPreloadManager.
static DtSimComponentcreator (const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)

Protected Attributes

const
DtTerrainPreloadControllerDescriptor
myDescriptor

Private Member Functions

 DtShapeBasedTerrainPreloadController ()
 Not implemented.
 DtShapeBasedTerrainPreloadController (const DtShapeBasedTerrainPreloadController &orig)
 Not implemented.
DtShapeBasedTerrainPreloadControlleroperator= (const DtShapeBasedTerrainPreloadController &orig)
 Not implemented.

Detailed Description

This controller is a provider to the DtVrfObjectTerrainPreloadManager.

It uses the shape of the (areal) control object as the preload area.


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

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

Not implemented.

Calls setRadio()

Reimplemented from DtControllerComponent.

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

Reimplemented from DtControllerComponent.

Callback registered with the DtVrfObjectTerrainPreloadManager.

Calls calculateTerrainPreLoad().

Calculates a basic sphere of terrain based on the entities current location and scaled by the entities current speed.

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

Member Data Documentation


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)