VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
simLocalTacticalSmokeNetInterface.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: tacticalSmokeLclNetIf.h,v $ $Revision: 1.7 $ $State: Exp $
7 *******************************************************************************/
8 
11 
17 
18 
19 #ifndef tacticalSmokeNetIf_H_
20 #define tacticalSmokeNetIf_H_
21 
23 #include <vlutil/vlString.h>
24 #include <vlutil/vlList.h>
25 #include <vl/globalObjectDesignator.h>
27 
28 class DtVrfObject;
31 
32 class DtSimManager;
33 class DtVrfExtensions;
34 
43 
45 {
46 protected:
49 
50 public:
51 
54  DtVrfObject* vrfObject,
55  DtReaderWriterRegistry* parentRegistry = 0,
56  bool publishObject = true);
57 
64  DtReaderWriterRegistry * parentRegistry = 0);
65 
69 
72 
74  virtual void updatePublisher();
75 
77  virtual DtString type() const;
78 
79  static DtSimObjectNetInterface* creator(const DtString& name,
80  DtVrfObject* vrfObject,
81  DtReaderWriterRegistry* parentRegistry,
82  bool publishObject);
83 
84 protected:
85 
88  virtual bool updateGeometry(DtTacticalSmokeStateRepository* localState);
89  virtual bool updateObjectState(DtTacticalSmokeStateRepository* localState);
90  virtual bool updateVrfDataAsSeenByRemote();
91 
94 
96  virtual DtEnvironmentProcessRepository* epsr() const;
97 
98  virtual DtEnvironmentProcessPublisher* _createPublisher(const DtEntityIdentifier& id = DtEntityIdentifier::nullId()) const;
99 
100 protected:
102  bool myPaused;
103 };
104 
105 
106 #endif
bool myPaused
Definition: simLocalTacticalSmokeNetInterface.h:102
Contains the DtSimEnvironmentalModelType class declaration.
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
virtual bool updateObjectState(DtVrfOverlayObjectStateRepository *localState)
Fills in object state record.
virtual void updatePublisher()
Update this publisher&#39;s contents.
Definition: vrfExtensions.h:22
Class Description: DtSimLocalTacticalSmokeNetInterface.
Definition: simLocalTacticalSmokeNetInterface.h:44
Definition: readerWriterRegistry.h:39
static DtSimObjectNetInterface * creator(const DtString &name, DtVrfObject *vrfObject, DtReaderWriterRegistry *parentRegistry, bool publishObject)
Class Description: DtSimLocalControlObjectNetInterface.
Definition: simLocalControlObjectNetInterface.h:38
virtual bool updateVrfDataAsSeenByRemote()
Update contents of our environmental state with data from our DtVrfObject.
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
virtual bool updateGeometry(DtVrfOverlayObjectStateRepository *localState)
Builds a DtList of env.
const DtSimLocalControlObjectNetInterface & operator=(const DtSimLocalControlObjectNetInterface &orig)
assignment operator; see note on copy constructor above.
This repository holds all information that is common to all the forms of all objects within VR-Forces...
Definition: tacticalSmokeStateRepository.h:19
Class Description: DtSimObjectNetInterface.
Definition: simObjectNetInterface.h:37
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:103
virtual bool updateBoundingGeometry(DtVrfOverlayObjectStateRepository *localState)
Fills in bounding sphere, bounding rect records.
virtual DtString type() const
Return type string for publisher that can be referred to in ope files (see &quot;vrfNetIfTypes.h&quot;)
virtual DtEnvironmentProcessPublisher * _createPublisher(const DtEntityIdentifier &id=DtEntityIdentifier::nullId()) const
Override this functions to use a subclass of DtEnvironmentProcessPublisher.
DtVrfExtensions * myVrfExtensions
Definition: simLocalTacticalSmokeNetInterface.h:101

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)