VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
fixedWingEmbarkationController.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 
16 
28 {
29 public:
30 
34  DtVrfObject* owner,
35  DtSimManager* simManager,
36  DtComponentDescriptor* desc = 0,
37  DtReaderWriterRegistry* parentRegistry = 0);
38 
41 
44  virtual const char* type() const;
45 
49  static DtSimComponent * creator(const DtString& name,
50  DtVrfObject* owner,
51  DtSimManager* simManager,
52  DtComponentDescriptor* desc = 0,
53  DtReaderWriterRegistry* parentRegistry = 0);
54 
55  virtual void atEmbarkationPoint();
56 
57 protected:
60  virtual void embark(const DtVector& loadPosition, const DtUUID& parentName, int appearance,
61  const DtTaitBryan& orientation, const DtVector& acceleration = DtVector(), const DtVector& velocty = DtVector(), bool invisibleWhenEmbarked = false,
62  const DtString& animation = DtString::nullString());
63 
65  virtual void issueMoveAlongToIngressTask();
66 
68  virtual void issueMoveAlongToEgressTask();
69 
72  virtual void processTaskComplete(DtSimMessage * msg);
73 
75  virtual void movingToEgress();
76 
78  virtual void movingToIngress();
79 
80  virtual bool init();
81  virtual void setLocation(const DtVector& world);
82 
83 private:
84 
87 
90  orig);
91 
95 
96 protected:
98 };
99 
DtFixedWingEmbarkationController is a controller used to model embarkation behavior for fixed-wing en...
Definition: fixedWingEmbarkationController.h:27
UUID is a unique ID wrapper class.
Definition: rwUUID.h:222
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
DtFixedWingEntityStateRepository * myFixedWingEntityState
Definition: fixedWingEmbarkationController.h:97
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
virtual void movingToEgress()
Called while entity is moving to egress point. Currently no-ops.
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.
static DtSimComponent * creator(const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:42
Definition: readerWriterRegistry.h:39
DtEmbarkationController is a controller that supports base level embarkation/disembarkation for entit...
Definition: embarkationController.h:40
virtual void issueMoveAlongToIngressTask()
virtual void setLocation(const DtVector &)
Sends setLocation request to this entity for the specified world location.
virtual void processTaskComplete(DtSimMessage *msg)
File: simMsg.h.
Definition: simMessage.h:35
This repository holds all information that is common to all the forms of local fixed wing entities wi...
Definition: fixedWingEntityStateRepository.h:38
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...
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
virtual bool init()
Initializes any state that is needed.
virtual void issueMoveAlongToEgressTask()
Override to issue a task that is different than the default DtMoveAlong task.
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:103
virtual void movingToIngress()
Called while the entity is moving to ingress point.
virtual const char * type() const
Returns a string identifies the class type of component.

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)