VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
entityRouteTraversalState.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2004 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
14 #include <map>
15 #include "vrfutil/iteratorBase.h"
16 
17 class DtSimObject;
18 
25 {
26 public:
27 
29 
30  virtual ~DtEntityRouteTraversalState();
31 
33 
35 
36  virtual void setEntity(const DtSimObject* entity);
37  virtual const DtSimObject* entity() const;
38 
39  virtual void setRoute(const DtSimObject* route);
40  virtual const DtSimObject* route() const;
41 
42  virtual void setLastWaypointIndex(int index);
43  virtual int lastWaypointIndex() const;
44 
45  virtual void setTraversalDirection(DtIteratorDirection traversalDirection);
46  virtual DtIteratorDirection traversalDirection() const;
47 
48 protected:
49 
54 };
55 
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
DtEntityRouteTraversalState is a utiltily class that hodls the state associated with an entity moving...
Definition: entityRouteTraversalState.h:24
const DtSimObject * myEntity
Definition: entityRouteTraversalState.h:50
const DtSimObject * myRoute
Definition: entityRouteTraversalState.h:51
DtIteratorDirection myTraversalDirection
Definition: entityRouteTraversalState.h:53
DtIteratorDirection
Definition: iteratorBase.h:23
int myLastWaypointIndex
Definition: entityRouteTraversalState.h:52
Represents a single simulation object in the exercise. Object may be VRF simulation, or non-VRF simulated, and may be simulated by the local sim engine, or by a remote sim engine. Only public (external) state of the object is available. All data is read-only. All access to data of the object is thread safe within the simulation frame.
Definition: simObject.h:79

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)