VR-Link API Documentation for HLA 1.3
envObjectSR.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 
9 
10 #ifndef envObjectSR_H_
11 #define envObjectSR_H_
12 
13 #include "stateRep.h"
14 #include "objectType.h"
15 
16 #if DtHLA
18 #else
19 class DT_DLL_VL DtDisObjectManager;
20 #endif
21 
22 //class DtEnvironmentObjectRepository
24 //Instances of DtEnvironmentObjectRepository are used to maintain
25 //state information needed by environment entities
27 {
28 public:
29 
30  //default constructor
32 
33  //destructor
35 
36  //copy constructor
38 
39  //assignment operator
41  const DtEnvironmentObjectRepository& orig);
42 
44  virtual DtStateRepository* clone(bool copy) const;
45 
46  static DtEnvironmentObjectRepository* create();
47 
49  virtual void setObjectId(const DtEntityIdentifier& identifier);
50  virtual const DtEntityIdentifier& objectId() const;
51 
53  virtual void setReferencedObjectId(const DtGlobalObjectDesignator& rtiObject);
54  virtual const DtGlobalObjectDesignator& referencedObjectId() const;
55 
57  virtual void setForceId(const DtForceType value);
58  virtual DtForceType forceId() const;
59 
61  virtual void setObjectType(const DtSyntheticEnvironmentObjectType& type);
62  virtual const DtSyntheticEnvironmentObjectType& objectType() const;
63 
65  virtual void printData() const;
66 
68  virtual void printDataToStream(std::ostream& stream) const;
69 
70 protected:
71 
76 };
77 
78 #endif //envObjectSR_H_
79 

Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)