VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
myIndRemNetIf.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2004 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: myIndRemNetIf.h,v $ $Revision: 1.6 $ $State: Exp $
7 *******************************************************************************/
8 
9 #ifndef MyIndividualRemoteEntityNetInterface_H_
10 #define MyIndividualRemoteEntityNetInterface_H_
11 
13 
16 {
17 public:
18 
19  //read/writable contructor
22  DtReaderWriterRegistry * parentRegistry = 0,
23  bool publishObject = true);
24 
25  //destructor
27 
28  //This will copy the mass from the reflected entity and associated
29  //network state repository to the local state repository
30  virtual void updateFromReflectedObject();
31 
32  //Overridden to completely replace the default VR-Forces interface.
33  //See the comment in the definition.
34  virtual DtString type() const;
35 
36  //Creator function
37  static DtSimObjectNetInterface * creator(const DtString & name,
38  DtVrfObject * simObject,
39  DtReaderWriterRegistry * parentRegistry,
40  bool publishObject);
41 
42 protected:
43  //default constructor; not implemented
45 
46  //copy constructor; not implemented
49  DtReaderWriterRegistry * parentRegistry = 0);
50 
51  //assignment operator; not implemented
54 };
55 
56 #endif
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
Definition: readerWriterRegistry.h:39
virtual void updateFromReflectedObject()
Calls the base class function to copy the network data to the local state repository, then does the same for the extended property attributes.
Defines the remote net interface class that supports individuals with extended property attributes...
Definition: vrfIndividualRemoteEntityWithPropertiesNetInterface.h:22
static DtSimObjectNetInterface * creator(const DtString &name, DtVrfObject *simObject, DtReaderWriterRegistry *parentRegistry, bool publishObject)
Definition: myIndRemNetIf.h:14
virtual DtVrfObject * simObject() const
This is a pointer to the simulation object for which this interface was created.
Class Description: DtSimObjectNetInterface.
Definition: simObjectNetInterface.h:37
const MyIndividualRemoteEntityNetInterface & operator=(const MyIndividualRemoteEntityNetInterface &orig)
virtual DtString type() const
Returns the type of net interface object.
virtual DtSymbolString name() const
Accessor for name of this readable/writable object.

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)