VR-Forces 4.8 Class Documentation
 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 
20 class DtSimManager;
21 class DtSimMessage;
22 
23 
24 
25 
36 {
37 
38 public:
39 
43  DtVrfObject* owner,
44  DtSimManager* simManager,
45  DtComponentDescriptor* desc = 0,
46  DtReaderWriterRegistry* parentRegistry = 0);
49 
52  virtual const char* type() const;
53 
54 
58  virtual void doLanding();
59 
60  virtual void doFinishingForFlying();
61  virtual void doFinishingForTaxiing();
62 
64  virtual void registerTaskMsgCallbacks();
65 
66  static void patrolRouteCallback(DtSimMessage* msg, void* usr, DtSimTaskStatePtr taskStatePtr);
67 
68  virtual DtSimTaskStatePtr currentTaskState() const;
69 
73  static DtSimComponent * creator(const DtString& name,
74  DtVrfObject* owner,
75  DtSimManager* 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
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:42
virtual DtSimTaskStatePtr currentTaskState() const
Definition: readerWriterRegistry.h:39
virtual void doFinishingForTaxiing()
Only called if the entity is near its goal.
DtBoost::shared_ptr< DtSimTaskState > DtSimTaskStatePtr
Definition: taskAndTaskStateDefines.h:18
virtual void doLanding()
Checks to see if the entity is on the ground.
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
Returns a string identifies the class type of component.
virtual void registerTaskMsgCallbacks()
Overrides this so it can register it&#39;s interest in the radio messages defined above.
static DtSimComponent * creator(const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
DtFixedWingMoveAlongController is a controller that models the movement of a fixed wing entity along ...
Definition: fixedWingMoveAlongController.h:47
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:102
A DtTaskMsg is a DtRadioMsg with a pointer to a task.
Definition: taskMessage.h:19
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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)