VR-Forces Developer's Guide
 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;
18 class DtSimMessage;
19 
20 
25 {
26 private:
35 
36 public:
37 
41  DtLocalObject* owner,
42  DtSimulationServices* simManager,
43  DtComponentDescriptor* desc = 0,
44  DtReaderWriterRegistry* parentRegistry = 0);
45 
47  virtual ~DtRotaryWingTurnToHeadingController() override;
48 
52  virtual void tick() override;
53 
56  virtual const char* type() const override;
57 
61  static DtSimComponent * creator(const DtString& name,
62  DtLocalObject* owner,
63  DtSimulationServices* simManager,
64  DtComponentDescriptor* desc = 0,
65  DtReaderWriterRegistry* parentRegistry = 0);
66 
67 protected:
69  virtual void registerTaskMsgCallbacks() override;
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
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:49
virtual const char * type() const override=0
Returns a string identifies the class type of component. Type values are defined in compTypes...
Definition: readerWriterRegistry.h:39
int myNumTicksOnHeading
Definition: rotaryWingTurnToHeadingController.h:80
const DtRotaryWingTaskController & operator=(const DtRotaryWingTaskController &orig)
assignment operator; not implemented
File: simMsg.h.
Definition: simMessage.h:35
The DtRotaryWingTaskController class creates the rotary-wing-control port group needed to control rot...
Definition: rotaryWingTaskController.h:31
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:96
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:89
virtual void tick() override
This gives the thread of control to the component. The component is ticked once each simulation from ...
A locally simulated VRF object.
Definition: localObject.h:98

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)