VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
groundPatrolRouteController.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 
15 
16 #include <vlutil/vlString.h>
17 #include <matrix/vlVector.h>
18 
19 class DtSimManager;
20 class DtSimMessage;
21 
32 {
33 
34 public:
35 
39  DtVrfObject* owner,
40  DtSimManager* simManager,
41  DtComponentDescriptor* desc = 0,
42  DtReaderWriterRegistry* parentRegistry = 0);
43 
46 
49  virtual const char* type() const;
50 
51  static void patrolRouteCallback(DtSimMessage* msg, void* usr, DtSimTaskStatePtr taskStatePtr);
52 
53  virtual DtSimTaskStatePtr currentTaskState() const;
54 
58  static DtSimComponent * creator(const DtString& name,
59  DtVrfObject* owner,
60  DtSimManager* simManager,
61  DtComponentDescriptor* desc = 0,
62  DtReaderWriterRegistry* parentRegistry = 0);
63 
65  virtual void registerTaskMsgCallbacks();
66 
69  virtual void stop();
70 protected:virtual void processPatrolRoute(const DtTaskMessage& msg, DtSimTaskStatePtr taskStatePtr);
71 
75 
78  orig);
79 
83 
84 protected:
85 
86 };
87 
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
virtual void registerTaskMsgCallbacks()
Overrides this so it can register it&#39;s interest in MoveAlong commands.
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
virtual DtSimTaskStatePtr currentTaskState() const
virtual const char * type() const
Returns a string identifies the class type of component.
DtGroundMoveAlongControllerComponent is a controller that models movement of a ground entity along a ...
Definition: groundMoveAlongControllerComponent.h:25
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:42
static DtSimComponent * creator(const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
DtGroundPatrolRouteController is a controller that models patrolling along route behavior for ground ...
Definition: groundPatrolRouteController.h:30
Definition: readerWriterRegistry.h:39
DtBoost::shared_ptr< DtSimTaskState > DtSimTaskStatePtr
Definition: taskAndTaskStateDefines.h:18
virtual void stop()
Overrides to advance to the next vertex rather then actually stop when a vertex is reached...
File: simMsg.h.
Definition: simMessage.h:35
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:103
DtGroundMoveAlongControllerComponent & operator=(const DtGroundMoveAlongControllerComponent &orig)
assignment operator
A DtTaskMsg is a DtRadioMsg with a pointer to a task.
Definition: taskMessage.h:19

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)