VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
rotaryWingMoveToLocationControllerComponent.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1999 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
14 
16 
23 {
24 public:
25 
29  DtVrfObject* owner,
30  DtSimManager* simManager,
31  DtComponentDescriptor* desc = 0,
32  DtReaderWriterRegistry* parentRegistry = 0);
33 
36 
39  virtual const char* type() const;
40 
44  static void moveToLocationCallback(DtSimMessage * msg, void * usr);
45 
47  virtual void processMoveToLocationTask(DtSimMessage * msg);
48 
52  static DtSimComponent * creator(const DtString& name,
53  DtVrfObject* owner,
54  DtSimManager* simManager,
55  DtComponentDescriptor* desc = 0,
56  DtReaderWriterRegistry* parentRegistry = 0);
57 
58 protected:
60  virtual void registerTaskMsgCallbacks();
61 
65  virtual bool setupControlPoint();
66 
67  virtual void getDesiredPosition(DtVector& desiredPosition);
68 
69 private:
73 
77 
81 
82 
83 protected:
86 };
87 
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
virtual void registerTaskMsgCallbacks()
Overrides this so it can register its interest in MoveTo commands.
DtVector myLocalAimingPoint
Definition: rotaryWingMoveToLocationControllerComponent.h:84
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:42
Definition: readerWriterRegistry.h:39
virtual bool setupControlPoint()
If the working control point is not null, sets the control point to be the working control point...
File: simMsg.h.
Definition: simMessage.h:35
virtual const char * type() const
Returns a string identifies the class type of component.
DtVector myWorldAimingPoint
Definition: rotaryWingMoveToLocationControllerComponent.h:85
const DtRotaryWingMoveToControllerComponent & operator=(const DtRotaryWingMoveToControllerComponent &orig)
assignment operator; see comments on copy constructor!
DtRotaryWingMoveToControllerComponent is a controller used to model the movement of a helicopter alon...
Definition: rotaryWingMoveToControllerComponent.h:27
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:103
virtual void getDesiredPosition(DtVector &desiredPosition)
Returns the position the helicopter wants to move to.
static DtSimComponent * creator(const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
DtRotaryWingMoveToLocationControllerComponent; move to location behavior for a rotary-wing entity...
Definition: rotaryWingMoveToLocationControllerComponent.h:22

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)