VR-Forces 4.0.4 Class Documentation
examples/addAttr/addAttrSim/myIndRemNetIf.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2004 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: myIndRemNetIf.h,v $ $Revision: 1.6 $ $State: Exp $
00007 *******************************************************************************/
00008 
00009 #ifndef MyIndividualRemoteEntityNetInterface_H_
00010 #define MyIndividualRemoteEntityNetInterface_H_
00011 
00012 #include "vrfobjcore/vrfIndRemNetIf.h"
00013 
00014 class MyIndividualRemoteEntityNetInterface : 
00015    public DtVrfIndividualRemoteEntityNetInterface
00016 {
00017 public:
00018 
00019    //read/writable contructor
00020    MyIndividualRemoteEntityNetInterface(const DtString & name, 
00021       DtVrfObject * simObject,  
00022       DtReaderWriterRegistry * parentRegistry = 0,
00023       bool publishObject = true);
00024 
00025    //destructor
00026    virtual ~MyIndividualRemoteEntityNetInterface();
00027 
00028    //This will copy the mass from the reflected entity and associated
00029    //network state repository to the local state repository
00030    virtual void updateFromReflectedObject();
00031 
00032    //Overridden to completely replace the default VR-Forces interface. 
00033    //See the comment in the definition.
00034    virtual DtString type() const;
00035 
00036    //Creator function
00037    static DtSimObjectNetInterface * creator(const DtString & name, 
00038       DtVrfObject * simObject, 
00039       DtReaderWriterRegistry * parentRegistry,
00040       bool publishObject);
00041 
00042 protected:
00043    //default constructor; not implemented
00044    MyIndividualRemoteEntityNetInterface();
00045 
00046    //copy constructor; not implemented
00047    MyIndividualRemoteEntityNetInterface(const 
00048       MyIndividualRemoteEntityNetInterface & orig, 
00049       DtReaderWriterRegistry * parentRegistry = 0);
00050 
00051    //assignment operator; not implemented
00052    const MyIndividualRemoteEntityNetInterface & operator=(const 
00053       MyIndividualRemoteEntityNetInterface & orig);
00054 };
00055 
00056 #endif

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)