VR-Forces 5.0.2 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 
28 
30  virtual const char* type() const;
31 
38  virtual void setOrderedAltitude(double altitude, bool isAboveGroundLevel = false);
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(
52  const DtVector& newLocalProjectedLocation, double newHeading,
53  DtDcm& newLocalOrientation, DtVector& newLocalPosition);
54 
57 
60 
61 protected:
63  virtual void setAircraftAirborne(const DtVector& location);
64 };
virtual const char * type() const
Returns a string from simComponentTypes.h, identifying the type of component.
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
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:90
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:70
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

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)