VR-Forces 4.8 Class Documentation
 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 /******************************************************************************
6 ** $RCSfile: DtInterestManagementRecord.h,v $ $Revision: 1.7 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #ifndef DtInterestManagementRecord_H_
14 #define DtInterestManagementRecord_H_
15 
17 
18 namespace makArchives
19 {
23  {
24  public:
27 
30 
33 
36 
37  void setDdmRegionSize(int size);
38  int ddmRegionSize() const;
39 
40  void setRegionUpdateThreshold(int percentage);
41  int regionUpdateThreshold() const;
42 
43  void setAltitudeThresholdEnabled(bool enabled);
44  bool altitudeThresholdEnabled() const;
45 
46  void setAltitudeThreshold(int threshold);
47  int altitudeThreshold() const;
48  protected:
49 
50  friend class boost::serialization::access;
51 
55  template<class Archive>
56  void serialize(Archive & ar, const unsigned int version)
57  {
58  ar & BOOST_SERIALIZATION_NVP(myDdmRegionSize);
59  ar & BOOST_SERIALIZATION_NVP(myRegionUpdateThreshold);
60  ar & BOOST_SERIALIZATION_NVP(myAltitudeThresholdEnabled);
61  ar & BOOST_SERIALIZATION_NVP(myAltitudeThreshold);
62  }
63 
68  };
69 }
70 
71 #endif
72 
int myRegionUpdateThreshold
Definition: DtInterestManagementRecord.h:65
voidpf void uLong size
Definition: ioapi.h:39
int myAltitudeThreshold
Definition: DtInterestManagementRecord.h:67
Contains DLL export macros.
int myDdmRegionSize
Definition: DtInterestManagementRecord.h:64
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:56
bool myAltitudeThresholdEnabled
Definition: DtInterestManagementRecord.h:66
#define DT_DLL_MAKARCHIVES
Definition: makArchives.h:31
Record of interest management / DDM settings.
Definition: DtInterestManagementRecord.h:22

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)