VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtInterestManagementRecord.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2009 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #ifndef DtInterestManagementRecord_H_
11 #define DtInterestManagementRecord_H_
12 
14 
15 namespace makArchives
16 {
20  {
21  public:
24 
27 
30 
33 
34  void setDdmRegionSize(int size);
35  int ddmRegionSize() const;
36 
37  void setRegionUpdateThreshold(int percentage);
38  int regionUpdateThreshold() const;
39 
40  void setAltitudeThresholdEnabled(bool enabled);
41  bool altitudeThresholdEnabled() const;
42 
43  void setAltitudeThreshold(int threshold);
44  int altitudeThreshold() const;
45  protected:
46 
47  friend class boost::serialization::access;
48 
52  template<class Archive>
53  void serialize(Archive & ar, const unsigned int version)
54  {
55  ar & BOOST_SERIALIZATION_NVP(myDdmRegionSize);
56  ar & BOOST_SERIALIZATION_NVP(myRegionUpdateThreshold);
57  ar & BOOST_SERIALIZATION_NVP(myAltitudeThresholdEnabled);
58  ar & BOOST_SERIALIZATION_NVP(myAltitudeThreshold);
59  }
60 
65  };
66 }
67 
68 #endif
69 
int myRegionUpdateThreshold
Definition: DtInterestManagementRecord.h:62
voidpf void uLong size
Definition: ioapi.h:39
int myAltitudeThreshold
Definition: DtInterestManagementRecord.h:64
Contains DLL export macros.
int myDdmRegionSize
Definition: DtInterestManagementRecord.h:61
void serialize(Archive &ar, const unsigned int version)
When the class Archive corresponds to an output archive, the &amp; operator is defined similar to &lt;&lt;...
Definition: DtInterestManagementRecord.h:53
bool myAltitudeThresholdEnabled
Definition: DtInterestManagementRecord.h:63
#define DT_DLL_MAKARCHIVES
Definition: makArchives.h:31
Record of interest management / DDM settings.
Definition: DtInterestManagementRecord.h:19

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)