VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
myIndLclNetIf.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2004 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: myIndLclNetIf.h,v $ $Revision: 1.5 $ $State: Exp $
7 *******************************************************************************/
8 
9 #ifndef MyIndividualLocalEntityNetInterface_H_
10 #define MyIndividualLocalEntityNetInterface_H_
11 
13 
16 {
17 public:
18 
19  //read/writable contructor
22  DtReaderWriterRegistry * parentRegistry = 0,
23  bool publishObject = true);
24 
25  //destructor
27 
28  //Copies the mass from the VR-Forces state repository into the
29  //VR-Link state repository for publication.
30  virtual void updatePublisher();
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  //Creates a new MyIndividualLocalEntityNetInterface
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
static DtSimObjectNetInterface * creator(const DtString &name, DtVrfObject *simObject, DtReaderWriterRegistry *parentRegistry, bool publishObject)
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 updatePublisher()
Calls the base class updatePublisher() and then updates the extended property attributes.
Definition: readerWriterRegistry.h:39
const MyIndividualLocalEntityNetInterface & operator=(const MyIndividualLocalEntityNetInterface &orig)
Definition: myIndLclNetIf.h:14
virtual DtVrfObject * simObject() const
This is a pointer to the simulation object for which this interface was created.
virtual DtString type() const
Returns the type of net interface object.
Class Description: DtSimObjectNetInterface.
Definition: simObjectNetInterface.h:37
virtual DtSymbolString name() const
Accessor for name of this readable/writable object.
Defines the local net interface class that supports aggregates with extended property attributes...
Definition: simIndividualLocalEntityWithPropertiesNetInterface.h:21

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)