VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
simIndividualRemoteEntityNetInterface.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
9 
11 
12 #pragma once
13 
15 #include <vl/reflectedEntity.h>
16 
19 
20 class DtVrfObject;
22 
31 {
32 public:
33 
36  DtVrfObject * simObject,
37  DtReaderWriterRegistry * parentRegistry = 0,
38  bool publishObject = true);
39 
43  DtReaderWriterRegistry * parentRegistry = 0);
44 
48 
51 
54  virtual void updateFromReflectedObject();
55 
58  virtual DtReflectedEntity * reflectedEntity() const;
59 
62  virtual DtExtEntityStateRepository * individualNetworkState() const;
63 
65  virtual bool isPhysicalDataInitialized() const;
66 
67  virtual bool isAggregate() const { return false; }
68 
69  virtual DtArticulatedPartStateRepository* createPart(DtArticulatedPart * artPart);
70 
73  virtual DtString type() const;
74 
79  isIndividualRemoteEntityNetInterface(const DtSimObjectNetInterface* objNetInterface);
80 
82  isIndividualRemoteEntityNetInterface(DtSimObjectNetInterface* objNetInterface);
83 
84  static DtSimObjectNetInterface * creator(const DtString & name,
85  DtVrfObject * simObject,
86  DtReaderWriterRegistry * parentRegistry,
87  bool publishObject);
88 
90  virtual void updateUUIDIfNeeded();
91 
92 protected:
95 
96 protected:
97 
99 
100 };
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
virtual void updateFromReflectedObject()=0
this will copy from whatever type of reflected object and associated network state repository the der...
Definition: readerWriterRegistry.h:39
virtual bool isAggregate() const
Definition: simIndividualRemoteEntityNetInterface.h:67
virtual DtString type() const =0
Returns the type of net interface object.
const DtSimRemoteEntityNetInterface & operator=(const DtSimRemoteEntityNetInterface &orig)
assignment operator; see note on copy constructor above
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
DtExtEntityStateRepository class extends the DtExtEntityBaseStateRepository to be able to handle exte...
Definition: extEntityStateRepository.h:25
The DtArticulatedPartStateRepository class is used to represent articulated parts for an entity...
Definition: articulatedPartStateRepository.h:29
Derived from DtSimEntityNetInterface, DtSimRemoteEntityNetInterface provides an interface between the...
Definition: simIndividualRemoteEntityNetInterface.h:30
bool myIsPhysicalDataInitialized
Definition: simIndividualRemoteEntityNetInterface.h:98
Class Description: DtSimObjectNetInterface.
Definition: simObjectNetInterface.h:37
virtual void updateUUIDIfNeeded()
Upon setting of reflected object see if UUID needs to be updated.
Contains the DtExtEntityStateRepository class.
Derived from DtSimEntityNetInterface, DtSimRemoteEntityNetInterface provides an interface between the...
Definition: simRemoteEntityNetInterface.h:30

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)