VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
rotaryWingPatrolRouteController.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 
35 {
36 
37 public:
38 
42  DtLocalObject* owner,
43  DtSimulationServices* simManager,
44  DtComponentDescriptor* desc = 0,
45  DtReaderWriterRegistry* parentRegistry = 0);
46 
49 
52  virtual const char* type() const;
53 
54  static void patrolRouteCallback(DtSimMessage* msg, void* usr, DtSimTaskStatePtr taskStatePtr);
55 
56  virtual DtSimTaskStatePtr currentTaskState() const;
57 
61  static DtSimComponent * creator(const DtString& name,
62  DtLocalObject* owner,
63  DtSimulationServices* simManager,
64  DtComponentDescriptor* desc = 0,
65  DtReaderWriterRegistry* parentRegistry = 0);
66 
70  virtual void routeLogic();
71 
72 protected:
73  virtual void processPatrolRoute(const DtTaskMessage& msg, DtSimTaskStatePtr taskStatePtr);
74 
78 
81  orig);
82 
86 
88  virtual void registerTaskMsgCallbacks();
89 };
90 
virtual void routeLogic()
Sets control values based on status along the route.
#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
DtBoost::shared_ptr< DtSimTaskState > DtSimTaskStatePtr
Definition: taskAndTaskStateDefines.h:18
static DtSimComponent * creator(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
DtRotaryWingPatrolRouteController is a controller used to model patrolling along a route behavior for...
Definition: rotaryWingPatrolRouteController.h:33
File: simMsg.h.
Definition: simMessage.h:35
DtRotaryWingMoveAlongControllerComponent & operator=(const DtRotaryWingMoveAlongControllerComponent &orig)
assignment operator
DtRotaryWingMoveAlongControllerComponent is a controller used to model the movement of a helicopter a...
Definition: rotaryWingMoveAlongControllerComponent.h:31
virtual DtSimTaskStatePtr currentTaskState() const
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:95
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:91
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
virtual void registerTaskMsgCallbacks()
Overrides this so it can register its interest in MoveAlong commands.
virtual const char * type() const
Returns a string identifies the class type of component. Type values are defined in compTypes...
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 Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)