VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
rotaryWingTurnToHeadingController.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2006 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
15 
16 class DtString;
17 class DtSimManager;
18 class DtSimMessage;
19 
20 
25 {
26 private:
35 
36 public:
37 
41  DtVrfObject* owner,
42  DtSimManager* simManager,
43  DtComponentDescriptor* desc = 0,
44  DtReaderWriterRegistry* parentRegistry = 0);
45 
48 
52  virtual void tick();
53 
56  virtual const char* type() const;
57 
61  static DtSimComponent * creator(const DtString& name,
62  DtVrfObject* owner,
63  DtSimManager* simManager,
64  DtComponentDescriptor* desc = 0,
65  DtReaderWriterRegistry* parentRegistry = 0);
66 
67 protected:
69  virtual void registerTaskMsgCallbacks();
70 
72  static void turnToHeadingCallback(DtSimMessage* msg, void* usr);
73 
75  virtual void processTurnToHeading(DtSimMessage* msg);
76 
77  virtual void pilotProperties();
78 
79 protected:
81 
82 };
83 
#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
Controller which responds to DtTrunToHeading tasks, and maneuvers the helicopter to face in the speci...
Definition: rotaryWingTurnToHeadingController.h:24
virtual void registerTaskMsgCallbacks()
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
int myNumTicksOnHeading
Definition: rotaryWingTurnToHeadingController.h:80
const DtRotaryWingTaskController & operator=(const DtRotaryWingTaskController &orig)
assignment operator; not implemented
virtual void tick()
This gives the thread of control to the component.
File: simMsg.h.
Definition: simMessage.h:35
The DtRotaryWingTaskController class creates the rotary-wing-control port group needed to control rot...
Definition: rotaryWingTaskController.h:30
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 const char * type() const =0
Returns a string identifies the class type of component.

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)