VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
rotorWashController.h
Go to the documentation of this file.
1 
4 #pragma once
5 
8 #include <vlutil/vlString.h>
9 #include "geometry/surface.h"
10 
12 
14 
16 {
17 private:
24 
25 public:
26 
29  {
30  SOIL_NONE = 0,
33  SOIL_SNOW = 3,
34  SOIL_SAND = 4,
38  SOIL_MUCK = 8,
40  };
41 
47  DtRotorWashController(const DtString& name,
48  DtLocalObject* owner,
49  DtSimulationServices* simManager,
50  DtComponentDescriptor* desc = 0,
51  DtReaderWriterRegistry* parentRegistry = 0);
52 
54  virtual ~DtRotorWashController();
55 
58  virtual const char* type() const;
59 
61  virtual void tick();
62 
63  bool init();
64 
68  static DtSimComponent* creator(const DtString &name,
69  DtLocalObject* owner,
70  DtSimulationServices *simManager,
71  DtComponentDescriptor *desc = 0,
72  DtReaderWriterRegistry* parentRegistry = 0);
73 
74 protected:
78 };
79 
80 
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
Definition: DtRotorWashInfo.h:41
Definition: DtRotorWashInfo.h:38
const DtControllerComponent & operator=(const DtControllerComponent &orig)
assignment operator
virtual const char * type() const =0
This returns a string from compTypes.h, and identifies the type of component.
DtSurface myLastSurface
Definition: rotorWashController.h:77
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
const DtRotorWashControllerDescriptor * myDescriptor
Definition: rotorWashController.h:75
Definition: surface.h:179
virtual bool init()
Calls setRadio()
RotorWashSoilType
This is the same enum as in vrvCore/DtRotorWashInfo.h. Should probably be moved to a shared location...
Definition: rotorWashController.h:28
Definition: DtRotorWashInfo.h:35
Definition: DtRotorWashInfo.h:40
A descriptor for the DtRotorWashController. This indicates the max effect distance.
Definition: rotorWashControllerDescriptor.h:22
Definition: DtRotorWashInfo.h:39
virtual void tick()
This gives the thread of control to the component. The component is ticked once each simulation from ...
Definition: DtRotorWashInfo.h:37
Definition: DtRotorWashInfo.h:42
End User Description: DtControllerComponent is the base class for all controllers components...
Definition: controllerComponent.h:31
DtVector myLastIntersectionPoint
Definition: rotorWashController.h:76
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
Definition: DtRotorWashInfo.h:34
This controller changes the published rotor wash data for the entity it is attached.
Definition: rotorWashController.h:15
Definition: DtRotorWashInfo.h:36
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
Definition: DtRotorWashInfo.h:33

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)