VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
fixedWingDefaultController.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1999-2003 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
15 
16 class DtString;
17 class DtSimManager;
18 class DtSimMessage;
19 
36 {
37 
38 public:
39 
43  DtSimManager* simManager, DtComponentDescriptor* desc = 0,
44  DtReaderWriterRegistry* parentRegistry = 0);
45 
48 
50  virtual bool init();
51 
53  virtual void tick();
54 
57  virtual const char* type() const;
58 
61  virtual double radius() const;
62  virtual void setRadius(double radius);
63 
66  virtual bool clockwise() const;
67  virtual void setClockwise(bool clockwise);
68 
72  static DtSimComponent * creator(const DtString& name,
73  DtVrfObject* owner,
74  DtSimManager* simManager,
75  DtComponentDescriptor* desc = 0,
76  DtReaderWriterRegistry* parentRegistry = 0);
77 
80  virtual const DtVrfObject* waypoint() const;
81 
84  virtual bool postAddComponentsInit();
85 
87  static void orbitTaskCallback(DtSimMessage* msg, void* usr);
88 
92  virtual void processOrbitTask(DtSimMessage* msg);
93 
94 protected:
96  virtual void registerTaskMsgCallbacks();
97 
98 private:
101 
105 };
106 
#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 tick()
Only gets actuator values the first time it's called.
virtual bool init()
Initializes myFixedWingEntityState.
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
DtFixedWingPilotController is a controller that models the capabilities of a fixed-wing pilot...
Definition: fixedWingPilotController.h:44
const DtFixedWingPilotController & operator=(const DtFixedWingPilotController &orig)
assignment operator; not implemented
virtual bool postAddComponentsInit()
Calls lookupAndCacheProcessSR(), to look up our process state repository after all of the components ...
File: simMsg.h.
Definition: simMessage.h:35
virtual const char * type() const
Returns a string identifies the class type of component.
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
static DtSimComponent * creator(const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
DtFixedWingDefaultController is a controller used to direct a fixed wing entity to loiter when it is ...
Definition: fixedWingDefaultController.h:35
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:102

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)