VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
fixedWingHoldController.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
14 
15 class DtString;
17 class DtTaskMessage;
18 class DtSimMessage;
20 class DtHoldPSR;
21 
25 {
26 public:
27 
29  DtFixedWingHoldController(const DtString& name, DtLocalObject* owner, DtSimulationServices* simManager,
30  DtComponentDescriptor* desc = 0, DtReaderWriterRegistry* parentRegistry = 0);
31 
33  virtual ~DtFixedWingHoldController() override;
34 
37  virtual const char* type() const override;
38 
40  virtual bool init() override;
41 
42  virtual void tick() override;
43 
47  static DtSimComponent * creator(const DtString& name,
48  DtLocalObject* owner,
49  DtSimulationServices* simManager,
50  DtComponentDescriptor* desc = 0,
51  DtReaderWriterRegistry* parentRegistry = 0);
52 
53 protected:
54 
56  virtual void processHoldUntilTask(DtSimTask* task, DtSimTaskStatePtr taskState) override;
57 
60  virtual void onTaskComplete(DtSimMessage* msg) override;
61 
62 private:
65 
68 
71 
72 protected:
73 
76 };
77 
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
const DtHoldController & operator=(const DtHoldController &orig)
Assignment operator not implemented.
virtual bool init() override
Override to create the process state repository.
DtMovementLocalObjectFacade myMovementLocalObjectFacade
Definition: fixedWingHoldController.h:75
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
std::shared_ptr< DtSimTaskState > DtSimTaskStatePtr
Definition: taskAndTaskStateDefines.h:18
DtFixedWingEntityStateRepository * myFixedWingEntityState
Definition: fixedWingHoldController.h:74
virtual void onTaskComplete(DtSimMessage *msg)
If tasked() is true and report is for a subtask started by the hold until task then we process the me...
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
class DtHoldPSR:
Definition: holdPSR.h:15
virtual void tick() override
Continues the hold until we have surpassed the specified hold time.
virtual const char * type() const override
Returns a string identifies the class type of component. Type values are defined in compTypes...
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:97
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:89
static DtSimComponent * creator(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
DtSimTask is an abstract base class from which real tasks can derive. It manages the read/write capab...
Definition: simTask.h:30
DtFixedWingHoldController is a controller that models holding behavior for fixed wing entities...
Definition: fixedWingHoldController.h:24
virtual void processHoldUntilTask(DtSimTask *task, DtSimTaskStatePtr taskState)
Begins the hold until task.
DtHoldController is a controller that models holding behavior for ground entities.
Definition: holdController.h:22
A DtTaskMsg is a DtRadioMsg with a pointer to a task. The type of the taskMsg is just the type of the...
Definition: taskMessage.h:21
A locally simulated VRF object.
Definition: localObject.h:98

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)