VR-Forces 4.10 Class Documentation
 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 
13 
14 class DtString;
15 class DtSimManager;
16 class DtTaskMessage;
17 class DtSimMessage;
19 class DtHoldPSR;
20 
24 {
25 public:
26 
28  DtFixedWingHoldController(const DtString& name, DtVrfObject* owner, DtSimManager* simManager,
29  DtComponentDescriptor* desc = 0, DtReaderWriterRegistry* parentRegistry = 0);
30 
32  virtual ~DtFixedWingHoldController();
33 
36  virtual const char* type() const;
37 
39  virtual bool init();
40 
44  static DtSimComponent * creator(const DtString& name,
45  DtVrfObject* owner,
46  DtSimManager* simManager,
47  DtComponentDescriptor* desc = 0,
48  DtReaderWriterRegistry* parentRegistry = 0);
49 
50 protected:
51 
53  virtual void processHoldUntilTask(DtSimTask* task, DtSimTaskStatePtr taskState);
54 
57  virtual void onTaskComplete(DtSimMessage * msg);
58 
59 private:
62 
65 
68 
69 protected:
70 
72 };
73 
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
static DtSimComponent * creator(const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
const DtHoldController & operator=(const DtHoldController &orig)
Assignment operator not implemented.
virtual bool init()
Override to create the process state repository.
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
DtFixedWingEntityStateRepository * myFixedWingEntityState
Definition: fixedWingHoldController.h:71
DtBoost::shared_ptr< DtSimTaskState > DtSimTaskStatePtr
Definition: taskAndTaskStateDefines.h:18
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:38
class DtHoldPSR:
Definition: holdPSR.h:15
virtual const char * type() const
Returns a string identifies the class type of component.
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
DtSimTask is an abstract base class from which real tasks can derive.
Definition: simTask.h:31
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:103
DtFixedWingHoldController is a controller that models holding behavior for fixed wing entities...
Definition: fixedWingHoldController.h:23
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.
Definition: taskMessage.h:19

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)