VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
DtGlobalEnvironmentLocalNetInterface Class Reference

Local network interface for global environment state objects. More...

Inheritance diagram for DtGlobalEnvironmentLocalNetInterface:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtGlobalEnvironmentLocalNetInterface (const DtString &name, DtVrfObject *vrfObject, DtReaderWriterRegistry *parentRegistry=0, bool publishObject=true)
 read/writable contructor
 DtGlobalEnvironmentLocalNetInterface (const DtGlobalEnvironmentLocalNetInterface &orig, DtReaderWriterRegistry *parentRegistry=0)
 copy constructor; NOTE: The publisher is not copied, because VR-Link does not provide a copy constructor (or clone or assignment function) for a publisher.
const
DtGlobalEnvironmentLocalNetInterface
operator= (const DtGlobalEnvironmentLocalNetInterface &orig)
 assignment operator; see note on copy constructor above.
virtual ~DtGlobalEnvironmentLocalNetInterface ()
 destructor; calls destroyPublisher()
virtual bool init ()
 Override of base class init(), calls createPublisher().
virtual void updatePublisher ()
 Update this publisher's contents.
virtual DtString type () const
 Return type string for publisher that can be refered to in ope files (see "vrfNetIfTypes.h")

Static Public Member Functions

static DtSimObjectNetInterfacecreator (const DtString &name, DtVrfObject *vrfObject, DtReaderWriterRegistry *parentRegistry, bool publishObject)

Protected Member Functions

 DtGlobalEnvironmentLocalNetInterface ()
 default constructor
virtual
DtEnvironmentProcessRepository
epsr () const
 Shortcut for accessing the network repository.
virtual void setupRecords ()
 Creates and sets the records to the VRL state repository.
virtual void updateGeometryRecord (DtGlobalEnvironmentStateRepository *localState)
virtual void updateStateRecord (DtGlobalEnvironmentStateRepository *localState)
virtual
DtEnvironmentProcessPublisher * 
_createPublisher () const
 Override this functions to use a subclass of DtEnvironmentProcessPublisher.

Protected Attributes

DtVrfEnvironmentalWeatherStateRecordmyEnvironmentalStateRecord

Detailed Description

Local network interface for global environment state objects.

These objects must have a DtGlobalEnvironmentStateRepository to work with this net interface.


Constructor & Destructor Documentation

default constructor

DtGlobalEnvironmentLocalNetInterface::DtGlobalEnvironmentLocalNetInterface ( const DtString name,
DtVrfObject vrfObject,
DtReaderWriterRegistry parentRegistry = 0,
bool  publishObject = true 
)

read/writable contructor

copy constructor; NOTE: The publisher is not copied, because VR-Link does not provide a copy constructor (or clone or assignment function) for a publisher.

Therefore, you must call init() on the copy after construction, or call setPublisher() with a user constructed publisher.

destructor; calls destroyPublisher()


Member Function Documentation

const DtGlobalEnvironmentLocalNetInterface& DtGlobalEnvironmentLocalNetInterface::operator= ( const DtGlobalEnvironmentLocalNetInterface orig)

assignment operator; see note on copy constructor above.

Override of base class init(), calls createPublisher().

Reimplemented from DtSimLocalEnvironmentalNetInterface.

Update this publisher's contents.

Implements DtSimLocalEnvironmentalNetInterface.

Return type string for publisher that can be refered to in ope files (see "vrfNetIfTypes.h")

Implements DtSimLocalEnvironmentalNetInterface.

static DtSimObjectNetInterface* DtGlobalEnvironmentLocalNetInterface::creator ( const DtString name,
DtVrfObject vrfObject,
DtReaderWriterRegistry parentRegistry,
bool  publishObject 
) [static]

Shortcut for accessing the network repository.

virtual void DtGlobalEnvironmentLocalNetInterface::setupRecords ( ) [protected, virtual]

Creates and sets the records to the VRL state repository.

virtual DtEnvironmentProcessPublisher* DtGlobalEnvironmentLocalNetInterface::_createPublisher ( ) const [protected, virtual]

Override this functions to use a subclass of DtEnvironmentProcessPublisher.

Reimplemented from DtSimLocalEnvironmentalNetInterface.


Member Data Documentation


The documentation for this class was generated from the following file:

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)