VR-Forces 5.0.3 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 
47 
49  virtual bool init();
50 
53  virtual const char* type() const;
54 
56  virtual void tick();
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();
68 
70  virtual bool createPorts();
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
virtual const char * type() const =0
This returns a string from compTypes.h, and identifies the type of component.
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 bool init()
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:90
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:70
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. 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)