VR-Forces 4.0.4 Class Documentation
examples/addAttr/addAttrSim/myIndLclNetIf.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2004 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: myIndLclNetIf.h,v $ $Revision: 1.5 $ $State: Exp $
00007 *******************************************************************************/
00008 
00009 #ifndef MyIndividualLocalEntityNetInterface_H_
00010 #define MyIndividualLocalEntityNetInterface_H_
00011 
00012 #include "vrfobjcore/indLclNetIf.h"
00013 
00014 class MyIndividualLocalEntityNetInterface : 
00015    public DtSimIndividualLocalEntityNetInterface
00016 {
00017 public:
00018 
00019    //read/writable contructor
00020    MyIndividualLocalEntityNetInterface(const DtString & name, 
00021       DtVrfObject * simObject,  
00022       DtReaderWriterRegistry * parentRegistry = 0,
00023       bool publishObject = true);
00024 
00025    //destructor
00026    virtual ~MyIndividualLocalEntityNetInterface();
00027 
00028    //Copies the mass from the VR-Forces state repository into the 
00029    //VR-Link state repository for publication.
00030    virtual void updatePublisher();
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    //Creates a new MyIndividualLocalEntityNetInterface
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    MyIndividualLocalEntityNetInterface();
00045 
00046    //copy constructor; not implemented
00047    MyIndividualLocalEntityNetInterface(const 
00048       MyIndividualLocalEntityNetInterface & orig, 
00049       DtReaderWriterRegistry * parentRegistry = 0);
00050 
00051    //assignment operator; not implemented
00052    const MyIndividualLocalEntityNetInterface & operator=(const 
00053       MyIndividualLocalEntityNetInterface & 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)