VR-Forces 4.2 Class Documentation
entityTargetInformation.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2004 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: entityTargetInformation.h,v $ $Revision: 1.8 $ $State: Exp $
7 *******************************************************************************/
8 
11 
12 #ifndef DTENTITYTARGETINFORMATION_H_
13 #define DTENTITYTARGETINFORMATION_H_
14 
15 #include "vrfutil/rdrWritr.h"
16 #include "vrfutil/rwReal.h"
17 #include "vrfutil/rwList.h"
18 #include "vrfutil/rwString.h"
19 #include <vl/hostStructs.h>
21 
22 #include <map>
23 
26 
28 
31 {
32 public:
34 
36  DtReaderWriterRegistry* const parentRegistry = NULL);
37  DtEntityTargetInformation(const DtSymbolString& name,
38  DtReaderWriterRegistry* const parentRegistry = NULL);
39 
41  DtReaderWriterRegistry* const parentRegistry = NULL);
42 
43  DtEntityTargetInformation(const DtEntityIdentifier& id,
44  double timeOfDetection, const DtString& name = "entity-target-information",
45  DtReaderWriterRegistry* const parentRegistry = NULL);
46  DtEntityTargetInformation(const DtEntityIdentifier& id,
47  double timeOfDetection, const DtSymbolString& name,
48  DtReaderWriterRegistry* const parentRegistry = NULL);
49 
50  virtual ~DtEntityTargetInformation();
51 
53 
54  const DtEntityIdentifier& id() const { return myId; };
55  void setId(const DtEntityIdentifier& id) { myId = id; };
56 
57  DtRwReal originalDetectionTime() const { return myOriginalTimeOfDetection; };
58  void setOriginalDetectionTime(DtReal origTime) { myOriginalTimeOfDetection = origTime; };
59 
60  void setLastTimeOfDetection(double time) { myLastTimeOfDetection = time; };
61  DtRwReal lastDetectionTime() const { return myLastTimeOfDetection; };
62 
63  const DtRwString& targetName() const { return myTargetName; };
64  void setTargetName(const DtString& name) { myTargetName = name; };
65 
66 protected:
67  DtRwString myTargetName;
68  DtEntityIdentifier myId;
71 };
72 
75 
77 typedef std::map<DtString, DtEntityTargetInformation> DtMappedEntityTargetList;
78 
79 #endif

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)