VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
rotaryWingLandingGearController.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 
9 
11 #pragma once
12 
16 
19 
23 {
24 private:
31 public:
38  DtSimulationServices* simManager, DtComponentDescriptor* desc=0,
39  DtReaderWriterRegistry *parentRegistry=0);
40 
42  virtual ~DtRotaryWingLandingGearController() override;
43 
45  virtual bool init() override;
46 
49  virtual const char* type() const override;
50 
52  virtual void tick() override;
53 
57  static DtSimComponent* creator(const DtString& name, DtLocalObject* owner,
58  DtSimulationServices* simManager, DtComponentDescriptor* desc=0,
59  DtReaderWriterRegistry* parentRegistry=0);
60 
61 protected:
62 
64  virtual void checkLandingGearStatus(bool useEntityLocation = false);
65 
66  virtual void preFirstTickInit() override;
67 
68 protected:
71 
74 };
75 
76 
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
This repository holds all information that is common to all the forms of local rotary wing entities w...
Definition: rotaryWingEntityStateRepository.h:27
const DtControllerComponent & operator=(const DtControllerComponent &orig)
assignment operator
const DtRotaryWingLandingGearDescriptor * myRotWingLandingGearDescriptor
Definition: rotaryWingLandingGearController.h:70
virtual void preFirstTickInit()
This function can be overridden to initialize a component before it is ticked for the first time...
DtPlatformLocalObjectFacade myPlatformLocalObjectFacade
Member to allow for access to platform specific data.
Definition: rotaryWingLandingGearController.h:73
DtRotaryWingEntityStateRepository * myRotWingSR
Definition: rotaryWingLandingGearController.h:69
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
This returns a string from compTypes.h, and identifies the type of component.
Definition: readerWriterRegistry.h:39
A DtComponentDescriptor for the DtRotaryWingLandingController component.
Definition: rotaryWingLandingGearDescriptor.h:16
virtual bool init() override
Calls setRadio()
virtual void tick()
This gives the thread of control to the component. The component is ticked once each simulation from ...
End User Description: DtControllerComponent is the base class for all controllers components...
Definition: controllerComponent.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
This component monitors the altitude of the aircraft above the ground and activates the landing light...
Definition: rotaryWingLandingGearController.h:22
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)