VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
rotaryWingEmbarkationController.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2005 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 #pragma once
12 
14 
23 {
24 public:
25 
29  DtLocalObject* owner,
30  DtSimulationServices* simManager,
31  DtComponentDescriptor* desc = 0,
32  DtReaderWriterRegistry* parentRegistry = 0);
33 
36 
39  virtual const char* type() const;
40 
44  static DtSimComponent * creator(const DtString& name,
45  DtLocalObject* owner,
46  DtSimulationServices* simManager,
47  DtComponentDescriptor* desc = 0,
48  DtReaderWriterRegistry* parentRegistry = 0);
49 
50  virtual void atEmbarkationPoint();
51 
52 protected:
54  virtual void embark(const DtVector& loadPosition, const DtUUID& parentName, int appearance,
55  const DtTaitBryan& orientation, const DtVector& acceleration = DtVector(), const DtVector& velocty = DtVector(), bool invisibleWhenEmbarked = false,
56  const DtString& animation = DtString::nullString()) override;
57 
59  virtual void disembark() override;
60 
63  virtual void unload(const DtVector& point, int appearance = 0xFFFFFFFF) override;
64 
65  virtual void issueMoveToEmbarkationPointTask() override;
66 
67 private:
68 
71 
74  orig);
75 
79 };
80 
UUID is a unique ID wrapper class.
Definition: uuid.h:59
virtual void disembark()
Disembarks item by calling unload() and then resets state to idle.
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
virtual void embark(const DtVector &loadPosition, const DtUUID &parent, int appearance=0xFFFFFFFF, const DtTaitBryan &orientation=DtTaitBryan(), const DtVector &acceleration=DtVector(), const DtVector &velocty=DtVector(), bool invisibleWhenEmbarked=false, const DtString &animation=DtString::nullString())
Called to complete embarkation via task.
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
DtEmbarkationController is a controller that supports base level embarkation/disembarkation for entit...
Definition: embarkationController.h:41
DtRotaryWingEmbarkationController; models embarkation behavior for a rotary-wing entity.
Definition: rotaryWingEmbarkationController.h:22
virtual void unload(const DtVector &point, int appearance=0xFFFFFFFF)
Unloads entity at specified egress point. Appearance will be the default appearance to set on a disem...
const DtEmbarkationController & operator=(const DtEmbarkationController &orig)
assignment operator; not implemented
virtual void atEmbarkationPoint()
If the descriptor says to stop at embarkation point, then this issues a DtStopMovingTask and sets the...
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:95
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:91
static DtSimComponent * creator(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
virtual void issueMoveToEmbarkationPointTask()
Override to issue a task that is different than the default DtMoveTo task.
virtual const char * type() const
Returns a string identifies the class type of component. Type values are defined in compTypes...
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 Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)