VR-Forces Developer's Guide
 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 bool tick() override;
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
Instances of DtRectangularPyramidDecoder encode data from DtRectangularPyramidStateRepository objects...
Definition: rectangularPyramidDecoderDIS.h:24
DtRectangularPyramidEncoder * myEncoder
Definition: rectangularPyramidPublisherDIS.h:86
Instances of DtRectangularPyramidEncoder encode data from DtRectangularPyramidStateRepository objects...
Definition: rectangularPyramidEncoderDIS.h:24
virtual DtRectangularPyramidStateRepository * rectangularPyramidStateRep()
Returns a pointer to the DtRectangularPyramidStateRepository - through which you can set or inspect c...
Definition: rectangularPyramidPublisherDIS.h:90
virtual DtRectangularPyramidStateRepository * rsr()
Synonym for rectangularPyramidStateRep().
Definition: rectangularPyramidPublisherDIS.h:95
Instances of DtRectangularPyramidPublisher publish SensorFieldOfView.RectangularPyramid objects to th...
Definition: rectangularPyramidPublisherDIS.h:25
DtRectangularPyramidDecoder * myDecoder
Definition: rectangularPyramidPublisherDIS.h:85
Contains Extended DI-Guy Object net types.
Contains Extended DI-Guy Object net types.
Instances of DtRectangularPyramidStateRepository are used to store state data for HLAobjectRoot...
Definition: rectangularPyramidStateRepository.h:20
static DtStateRepCreator theStateRepCreator
Definition: rectangularPyramidPublisherDIS.h:83
#define DT_DLL_vrfExtObjects
Definition: dllExport.h:23
DtObjectId myId
Definition: rectangularPyramidPublisherDIS.h:84

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)