VR-Forces 5.0.2 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);
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  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
virtual DtSimTaskStatePtr currentTaskState() const
Definition: readerWriterRegistry.h:39
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...
DtBoost::shared_ptr< DtSimTaskState > DtSimTaskStatePtr
Definition: taskAndTaskStateDefines.h:18
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
Returns a string identifies the class type of component. Type values are defined in compTypes...
virtual void registerTaskMsgCallbacks()
Overrides this so it can register it&#39;s interest in the radio messages defined above.
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:90
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)
DtFixedWingMoveAlongController is a controller that models the movement of a fixed wing entity along ...
Definition: fixedWingMoveAlongController.h:47
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. 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 Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)