VR-Forces 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() override;
55 
58  virtual const char* type() const override;
59 
61  virtual void tick() override;
62 
63  virtual bool init() override;
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
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
virtual const char * type() const override=0
This returns a string from compTypes.h, and identifies the type of component.
Definition: readerWriterRegistry.h:39
const DtRotorWashControllerDescriptor * myDescriptor
Definition: rotorWashController.h:75
Definition: surface.h:181
virtual bool init() override
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:96
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:89
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.
Definition: localObject.h:98
Definition: DtRotorWashInfo.h:33

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)