VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
fixedWingEntitySetController.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2004 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 
13 #pragma once
14 
16 #include "vrfobjcore/simRadio.h"
18 
19 class DtSimMessage;
20 class DtSimLocalEntity;
22 
34 
37 {
38 
39 public:
40 
44  DtSimulationServices* simManager,
45  DtComponentDescriptor* desc = 0,
46  DtReaderWriterRegistry* parentRegistry = 0);
47 
50 
53  virtual const char* type() const;
54 
57  virtual void setLocation(DtVector geocentricLocation, bool& dataAvailable);
58 
62  virtual void processSetSpeed(DtSimMessage * msg);
63 
64  virtual void processSetSpeedAndType(double speed, DtAirSpeedType airSpeedType);
65 
67  static void setAdvancedLightingCallback(DtSimMessage* msg, void* usrData);
68  virtual void processSetAdvancedLighting(DtSimMessage * msg);
69 
74  virtual void processSetCurrentAirSpeed(DtSimMessage * msg);
75 
79  static DtSimComponent * creator(const DtString& name,
80  DtLocalObject* owner,
81  DtSimulationServices* simManager,
82  DtComponentDescriptor* desc = 0,
83  DtReaderWriterRegistry* parentRegistry = 0);
84 
85 protected:
87  virtual void initializeSetsToRegister();
88 
89 private:
93 
96 
100 
101 protected:
103 
106 };
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
virtual void processSetSpeedAndType(DtSimMessage *msg)
DtFixedWingEntitySetController is a controller that handles DtSetDataRequest messages for fixed-wing ...
Definition: fixedWingEntitySetController.h:36
const DtAirVehicleSetController & operator=(const DtAirVehicleSetController &orig)
assignment operator
virtual const char * type() const
Returns a string identifies the class type of component. Type values are defined in compTypes...
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
Definition: readerWriterRegistry.h:39
virtual void processSetSpeed(DtSimMessage *msg)
For backwards compatibility - always sets the DtGroundSpeed type.
DtSetAltitudeRequest * myPendingAltitudeRequest
Definition: fixedWingEntitySetController.h:102
virtual void setLocation(DtVector geocentricLocation, bool &dataAvailable)
If the entity's state repository is a DtRotaryWingEntityStateRepository, geocentricLocation is conver...
DtAirVehicleSetController is a controller component responsible for handling DtSetDataRequests for ai...
Definition: airVehicleSetController.h:44
virtual void processSetCurrentAirSpeed(DtSimMessage *msg)
Handler for setCurrentAirSpeedCallback(). Implements the set current speed request processing for rot...
DtPlatformLocalObjectFacade myPlatformLocalObjectFacade
Member to allow for access to platform specific data.
Definition: fixedWingEntitySetController.h:105
File: simMsg.h.
Definition: simMessage.h:35
File: setAltitudeRequest.h.
Definition: setAltitudeRequest.h:35
DtAirSpeedType
Air Speed Type PDU enums.
Definition: rwAirSpeedType.h:24
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:90
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:70
static DtSimComponent * creator(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
virtual void initializeSetsToRegister()
Sets up the myRegisterSets map with sets to register for this controller.
A locally simulated VRF object. Holds all internal and external data for the object, and provides access to both the current frame and next frame state data for the object. All current frame data is read-only, and next-frame data can be written to. No thread safety guarantees are made on this object during the simulation frame and it should only be accessed by the thread that is simulating the object.
Definition: localObject.h:86

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)