VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
airVehicleWeaponHoldController.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 
12 #pragma once
13 
15 
18 
34 {
35 private:
42 public:
49  DtSimManager* simManager, DtComponentDescriptor* desc=0,
50  DtReaderWriterRegistry *parentRegistry=0);
51 
54 
56  virtual bool init();
57 
60  virtual const char* type() const;
61 
63  virtual void tick();
64 
68  static DtSimComponent* creator(const DtString& name, DtVrfObject* owner,
69  DtSimManager* simManager, DtComponentDescriptor* desc=0,
70  DtReaderWriterRegistry* parentRegistry=0);
71 
72 protected:
74  virtual bool createPortGroups();
75 
77  virtual bool createPorts();
78 
86 
90 };
91 
#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
DtBooleanOutputPort * myWeaponsHoldPort
Definition: airVehicleWeaponHoldController.h:85
Definition: readerWriterRegistry.h:39
virtual bool init()
Calls setRadio()
DtAirVehicleWeaponHoldController provides a weapons-hold value based upon the altitude of the entity...
Definition: airVehicleWeaponHoldController.h:33
DtAirVehicleWeaponHoldControllerDescriptor; Descriptor for DtAirVehicleWeaponHoldController.
Definition: airVehicleWeaponHoldControllerDescriptor.h:25
virtual void tick()
This gives the thread of control to the component.
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
const DtAirVehicleWeaponHoldControllerDescriptor * myDescriptor
Pointer to this components descriptor.
Definition: airVehicleWeaponHoldController.h:89
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:103

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)