VR-Forces 4.10 Class Documentation
 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  DtSimManager* 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, DtVrfObject* owner,
62  DtSimManager* 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
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
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:42
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:38
virtual void tick()
This gives the thread of control to the component.
DtBooleanOutputPort * myLandingGearDownPort
Definition: defaultLandingGearController.h:78
virtual bool createPorts()
Called by init.
End User Description: DtControllerComponent is the base class for all controllers components...
Definition: controllerComponent.h:29
virtual bool createPortGroups()
Called by init.
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:103
This component outputs controls for a fixed-wing entity's landing gear.
Definition: defaultLandingGearController.h:26

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)