VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
rectangularPyramidPublisherDIS.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 #pragma once
6 
7 
8 
9 
10 #if DtDIS
11 
12 #include <vl/objectPublisherDIS.h>
16 
17 
19 
25 {
26 public:
28  typedef DtRectangularPyramidStateRepository* (*DtStateRepCreator)();
29 
30 public:
34  DtExerciseConn* conn,
35  const DtObjectId& id = DtObjectId::nullId());
36 
39  DtExerciseConn* conn,
40  const DtObjectId& id = DtObjectId::nullId());
41 
44 
45 private:
48 
51  const DtRectangularPyramidPublisher& orig);
52 
53 public:
54 
57  virtual DtRectangularPyramidStateRepository* rectangularPyramidStateRep();
58 
61 
63  virtual void tick();
64 
66  virtual void forceUpdate();
67 
69  virtual const DtObjectId& id() const;
70 
72  virtual const DtObjectId& localId() const;
73 
75  virtual const DtGlobalObjectDesignator& globalId() const;
76 
77 public:
79  static DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
80 
81 protected:
82  static DtStateRepCreator theStateRepCreator;
83  DtObjectId myId;
86 
87 };
88 
90 {
91  return (DtRectangularPyramidStateRepository*) myStateRep;
92 }
93 
95 {
96  return (DtRectangularPyramidStateRepository*) myStateRep;
97 }
98 
99 
100 
101 #endif // DtDIS

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)