VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
rectangularPyramidPublisherDIS.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2017 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #if DtDIS
13 
17 #include <vl/objectPublisherDIS.h>
18 
20 
26 {
27 public:
29  typedef DtRectangularPyramidStateRepository* (*DtStateRepCreator)();
30 
31 public:
35  DtExerciseConn* conn,
36  const DtObjectId& id = DtObjectId::nullId());
37 
40  DtExerciseConn* conn,
41  const DtObjectId& id = DtObjectId::nullId());
42 
45 
46 private:
49 
52  const DtRectangularPyramidPublisher& orig);
53 
54 public:
55 
58  virtual DtRectangularPyramidStateRepository* rectangularPyramidStateRep();
59 
62 
64  virtual void tick();
65 
67  virtual void forceUpdate();
68 
70  virtual const DtObjectId& id() const;
71 
73  virtual const DtObjectId& localId() const;
74 
76  virtual const DtGlobalObjectDesignator& globalId() const;
77 
78 public:
80  static DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
81 
82 protected:
83  static DtStateRepCreator theStateRepCreator;
84  DtObjectId myId;
87 
88 };
89 
91 {
92  return (DtRectangularPyramidStateRepository*) myStateRep;
93 }
94 
96 {
97  return (DtRectangularPyramidStateRepository*) myStateRep;
98 }
99 
100 #endif // DtDIS

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)