VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
aggregatedSubsurfaceMovementActuator.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
12 
18 {
19 public:
20 
23  DtSimulationServices* simManager, DtComponentDescriptor* compDescriptor,
24  DtReaderWriterRegistry* parentRegistry = 0);
25 
27  virtual ~DtAggregatedSubsurfaceMovementActuator() override;
28 
30  virtual const char* type() const override;
31 
38  virtual void setOrderedAltitude(double altitude, bool isAboveGroundLevel = false) override;
39 
40 public:
41 
44  static DtSimComponent* creator(const DtString& name, DtLocalObject* object,
45  DtSimulationServices* simManager, DtComponentDescriptor* compDescriptor,
46  DtReaderWriterRegistry* parentRegistry);
47 
48 protected:
49 
51  virtual std::string calculateOrientationAndPosition(const DtVector& newLocalProjectedLocation, double newHeading,
52  DtDcm& newLocalOrientation, DtVector& newLocalPosition) override;
53 
56 
59 
60 protected:
62  virtual void setAircraftAirborne(const DtVector& location) override;
63 };
virtual std::string calculateOrientationAndPosition(const DtVector &newLocalProjectedLocation, double newHeading, DtDcm &newLocalOrientation, DtVector &newLocalPosition)
Returns an error string.
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
static DtSimComponent * creator(const DtString &name, DtLocalObject *object, DtSimulationServices *simManager, DtComponentDescriptor *compDescriptor, DtReaderWriterRegistry *parentRegistry)
Creator function to be registered with the DtSimComponentFactory – see main.cxx.
End User Description: Actuator for moving aggregated subsurface aggregates. This actuator enforces en...
Definition: aggregatedSubsurfaceMovementActuator.h:17
End User Description: Actuator for moving aggregated aggregates along the ground. This actuator place...
Definition: aggregatedMovementActuator.h:47
virtual void setOrderedAltitude(double altitude, bool aboveGroundLevel=false)
Sets the ordered altitude, in response to a set altitude command. If the ordered altitude is at or be...
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 void setAircraftAirborne(const DtVector &location)
Check the ground-clamped descriptor parameter to see if this is entity can go airborne. If so, then check to see if ordered-altitude has already been set. If not, set it at the minimum-airborne-altitude parameter and clear am-ground-clamped. Also, set the is-airborne state property. This function is called in tick() if the entity has moved (translated) this tick. The parameter is the entity's location.
Definition: readerWriterRegistry.h:39
virtual const char * type() const override
Returns a string from simComponentTypes.h, identifying the type of component.
const DtAggregatedMovementActuator & operator=(const DtAggregatedMovementActuator &orig)
assignment operator
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
A locally simulated VRF object.
Definition: localObject.h:98

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)