VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
fixedWingPatrolRouteController.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2003 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
14 
16 
17 #include <vlutil/vlString.h>
18 #include <matrix/vlVector.h>
19 
21 class DtSimMessage;
22 
23 
24 
25 
36 {
37 
38 public:
39 
43  DtLocalObject* owner,
44  DtSimulationServices* simManager,
45  DtComponentDescriptor* desc = 0,
46  DtReaderWriterRegistry* parentRegistry = 0);
48  virtual ~DtFixedWingPatrolRouteController() override;
49 
52  virtual const char* type() const override;
53 
54 
58  virtual void doLanding() override;
59 
60  virtual void doFinishingForFlying() override;
61  virtual void doFinishingForTaxiing() override;
62 
64  virtual void registerTaskMsgCallbacks() override;
65 
66  static void patrolRouteCallback(DtSimMessage* msg, void* usr, DtSimTaskStatePtr taskStatePtr);
67 
68  virtual DtSimTaskStatePtr currentTaskState() const override;
69 
73  static DtSimComponent * creator(const DtString& name,
74  DtLocalObject* owner,
75  DtSimulationServices* simManager,
76  DtComponentDescriptor* desc = 0,
77  DtReaderWriterRegistry* parentRegistry = 0);
78 
79 protected:
80  virtual void processPatrolRoute(const DtTaskMessage& msg, DtSimTaskStatePtr taskStatePtr);
81 
85 
88  orig);
89 
93 };
94 
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
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
virtual DtSimTaskStatePtr currentTaskState() const override
virtual void doFinishingForTaxiing()
Only called if the entity is near its goal. Checks to see if the entity is at the goal or passed it...
virtual void doLanding()
Checks to see if the entity is on the ground. If so, it assumes that the entity has landed...
File: simMsg.h.
Definition: simMessage.h:35
virtual void doFinishingForFlying()
Checks to see if the entity is within two seconds of being at the waypoint, or if the entity’s distanc...
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)
DtFixedWingMoveAlongController is a controller that models the movement of a fixed wing entity along ...
Definition: fixedWingMoveAlongController.h:47
virtual void registerTaskMsgCallbacks() override
Overrides this so it can register it&#39;s interest in the radio messages defined above.
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
DtFixedWingMoveAlongController & operator=(const DtFixedWingMoveAlongController &orig)
assignment operator
DtFixedWingPatrolRouteController is a controller that models movement along a route for fixed-wing en...
Definition: fixedWingPatrolRouteController.h:34
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)