VR-Forces Developer's Guide
 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  DtLocalObject* owner,
35  DtSimulationServices* simManager,
36  DtComponentDescriptor* desc = 0,
37  DtReaderWriterRegistry* parentRegistry = 0);
38 
40  virtual ~DtFixedWingEmbarkationController() override;
41 
44  virtual const char* type() const override;
45 
49  static DtSimComponent * creator(const DtString& name,
50  DtLocalObject* owner,
51  DtSimulationServices* simManager,
52  DtComponentDescriptor* desc = 0,
53  DtReaderWriterRegistry* parentRegistry = 0);
54 
55  virtual void atEmbarkationPoint() override;
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(),
62  bool invisibleWhenEmbarked = false, const DtString& animation = DtString::nullString()) override;
63 
65  virtual void issueMoveAlongToIngressTask() override;
66 
68  virtual void issueMoveAlongToEgressTask() override;
69 
72  virtual void processTaskComplete(DtSimMessage* msg) override;
73 
75  virtual void movingToEgress() override;
76 
78  virtual void movingToIngress() override;
79 
80  virtual bool init() override;
81  virtual void setLocation(const DtVector& world) override;
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: uuid.h:59
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
DtFixedWingEntityStateRepository * myFixedWingEntityState
Definition: fixedWingEmbarkationController.h:97
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.
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
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:41
virtual const char * type() const override
Returns a string identifies the class type of component. Type values are defined in compTypes...
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:96
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:89
virtual void issueMoveAlongToEgressTask()
Override to issue a task that is different than the default DtMoveAlong task.
static DtSimComponent * creator(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
virtual bool init() override
Initializes any state that is needed.
virtual void movingToIngress()
Called while the entity is moving to ingress point. If ingress is actually a route, when the entity gets to the first point of the route, embark it so it will avoid obstacles.
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)