VR-Forces 5.0.1 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();
34 
37  virtual const char* type() const;
38 
40  virtual bool init();
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);
55 
58  virtual void onTaskComplete(DtSimMessage * msg);
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 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
DtFixedWingEntityStateRepository * myFixedWingEntityState
Definition: fixedWingHoldController.h:72
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:41
class DtHoldPSR:
Definition: holdPSR.h:15
virtual const char * type() const
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:89
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:70
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. Holds all internal and external data for the object, and provides access to both the current frame and next frame state data for the object. All current frame data is read-only, and next-frame data can be written to. No thread safety guarantees are made on this object during the simulation frame and it should only be accessed by the thread that is simulating the object.
Definition: localObject.h:86

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)