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 
45  static DtSimComponent * creator(const DtString& name,
46  DtLocalObject* owner,
47  DtSimulationServices* simManager,
48  DtComponentDescriptor* desc = 0,
49  DtReaderWriterRegistry* parentRegistry = 0);
50 
51 protected:
52 
54  virtual void processHoldUntilTask(DtSimTask* task, DtSimTaskStatePtr taskState) override;
55 
58  virtual void onTaskComplete(DtSimMessage* msg) override;
59 
60 private:
63 
66 
69 
70 protected:
71 
74 };
75 
#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:73
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:72
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 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:96
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 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)