VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
defaultLandingGearController.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2006 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 
9 
11 #pragma once
12 
15 
16 class DtDefaultLandingGearControllerDescriptor;
19 
27 {
28 private:
35 public:
42  DtSimulationServices* simManager, DtComponentDescriptor* desc=0,
43  DtReaderWriterRegistry *parentRegistry=0);
44 
46  virtual ~DtDefaultLandingGearController() override;
47 
49  virtual bool init() override;
50 
53  virtual const char* type() const override;
54 
56  virtual void tick() override;
57 
61  static DtSimComponent* creator(const DtString& name, DtLocalObject* owner,
62  DtSimulationServices* simManager, DtComponentDescriptor* desc=0,
63  DtReaderWriterRegistry* parentRegistry=0);
64 
65 protected:
67  virtual bool createPortGroups() override;
68 
70  virtual bool createPorts() override;
71 
79 
81 
82 
84 };
85 
86 
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
const DtControllerComponent & operator=(const DtControllerComponent &orig)
assignment operator
Instances of DtBooleanOutputPort are output ports through which data producers can send boolean data...
Definition: boolIOPort.h:45
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
virtual bool init() override
Calls setRadio()
DtFixedWingEntityStateRepository * myFixedWingSR
Definition: defaultLandingGearController.h:80
This repository holds all information that is common to all the forms of local fixed wing entities wi...
Definition: fixedWingEntityStateRepository.h:41
virtual void tick()
This gives the thread of control to the component. The component is ticked once each simulation from ...
DtBooleanOutputPort * myLandingGearDownPort
Definition: defaultLandingGearController.h:78
virtual bool createPorts()
Called by init. Derived classes should override this method to create all their input/output ports an...
End User Description: DtControllerComponent is the base class for all controllers components...
Definition: controllerComponent.h:31
virtual bool createPortGroups()
Called by init. Derived classes should override this method to create all their input/output port gro...
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 outputs controls for a fixed-wing entity's landing gear. It checks the onGround() call...
Definition: defaultLandingGearController.h:26
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)