VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
indLocalNetIfWithTemperature.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2021 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
9 
10 //
11 // class DtIndividualLocalEntityNetInterfaceWithTemperature
12 //
13 // This class replaces the default local entity network interface, which is responsible.
14 // for copying internal entity state to the VR-Link publisher which outputs that data to
15 // the network. Reads the new state component and copies the data to a new VR-Link
16 // entity state repository subclass for output to the network.
17 // This class currently only support HLA. It utilizes a new FOM that adds an attribute to the
18 // standard RPR PhysicalEntity object class.
19 
22 {
23 public:
24 
25  // read/writable constructor
28 
29  // destructor
31 
32  // Copies the temperature from the VR-Forces state component into the
33  // VR-Link state repository for publication.
34  virtual void updatePublisher();
35 
36  // Overridden to completely replace the default VR-Forces interface.
37  // See the comment in the definition.
38  virtual DtString type() const;
39 
40  // Creates a new DtIndividualLocalEntityNetInterfaceWithTemperature
43 
44 protected:
45  // default constructor; not implemented
47 
48  // copy constructor; not implemented
51  DtReaderWriterRegistry* parentRegistry = 0);
52 
53  // assignment operator; not implemented
56 };
DtSimObjectNetInterface()
default constructor
virtual DtString type() const
Returns the type of net interface object. Strings are defined in netIfTypes.h.
const DtStateData * vrfObject() const
Definition: simObjectNetInterface.h:185
Definition: readerWriterRegistry.h:39
const DtIndividualLocalEntityNetInterfaceWithTemperature & operator=(const DtIndividualLocalEntityNetInterfaceWithTemperature &orig)
static DtSimObjectNetInterface * creator(makVrf::DtStateData *vrfObject, makVrf::DtVrlinkNetworkInterface *mgr, bool publishObject)
The overall structure of the DtStateData mechanism is: The DtStateData contains a list of double buff...
Definition: stateData.h:336
Definition: simIndividualLocalEntityWithPropertiesNetInterface.h:23
Definition: indLocalNetIfWithTemperature.h:20
virtual bool publishObject() const
Definition: simLocalEntityNetInterface.h:69
virtual void updatePublisher()
Calls the base class updatePublisher() and then updates the extended property attributes.

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)