VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
rangeRingsParametersPublisher.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
14 #include <vlutil/vlTime.h>
15 #include <map>
16 
17 class DtVrfObject;
19 class DtReaderWriter;
20 class DtRwPropertiesList;
21 
27 {
28 public:
31 
34 
37  virtual void setTickRate(double, double varianceRange = 1.0);
38  virtual double tickRate() const;
39 
42  virtual void tick();
43 
45  virtual void rangeItemsFromProperties(const DtRwVariableBindings&, std::string prefix);
46 
47 protected:
48 
49  typedef std::map<DtString, DtRangeItem> DtRangeItemMap;
50 
52  virtual void firstTickInit();
53 
55  virtual void updateRangeRings(DtRangeItemMap&, DtReaderWriter*, const DtRwPropertiesList* sectorSizes,
56  std::string prefix);
57 
59  virtual int fillInFrom(DtRangeItems::RangeItems& current, const DtRangeItemMap& from, int start) const;
60 
61 protected:
62 
65 
68  double myTickRate;
69 
71 
74 };

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)