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

Class Description: DtSimLocalTacticalSmokeNetInterface. More...

Inheritance diagram for DtSimLocalTacticalSmokeNetInterface:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtSimLocalTacticalSmokeNetInterface (const DtString &name, DtVrfObject *vrfObject, DtReaderWriterRegistry *parentRegistry=0, bool publishObject=true)
 read/writable contructor
 DtSimLocalTacticalSmokeNetInterface (const DtSimLocalTacticalSmokeNetInterface &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
DtSimLocalTacticalSmokeNetInterface
operator= (const DtSimLocalTacticalSmokeNetInterface &orig)
 assignment operator; see note on copy constructor above.
virtual ~DtSimLocalTacticalSmokeNetInterface ()
 destructor; calls destroyPublisher()
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

 DtSimLocalTacticalSmokeNetInterface ()
 default constructor
virtual bool updateGeometry (DtTacticalSmokeStateRepository *localState)
 Builds a DtList of env.
virtual bool updateObjectState (DtTacticalSmokeStateRepository *localState)
virtual bool updateVrfDataAsSeenByRemote ()
 Update contents of our environmental state with data from our DtVrfObject.
virtual bool updateBoundingGeometry (DtTacticalSmokeStateRepository *localState)
 Fills in bounding sphere, bounding rect records.
virtual
DtEnvironmentProcessRepository
epsr () const
 Shortcut for accessing the network repository.
virtual
DtEnvironmentProcessPublisher * 
_createPublisher () const
 Override this functions to use a subclass of DtEnvironmentProcessPublisher.

Protected Attributes

DtVrfExtensionsmyVrfExtensions
bool myPaused

Detailed Description

Class Description: DtSimLocalTacticalSmokeNetInterface.

Derived from DtSimEnvironmentalNetInterface, DtSimLocalEnvironmentalNetInterface provides an interface between a local environmental object and it's network (VR-Link) representation.


Constructor & Destructor Documentation

default constructor

DtSimLocalTacticalSmokeNetInterface::DtSimLocalTacticalSmokeNetInterface ( 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 DtSimLocalTacticalSmokeNetInterface& DtSimLocalTacticalSmokeNetInterface::operator= ( const DtSimLocalTacticalSmokeNetInterface orig)

assignment operator; see note on copy constructor above.

Update this publisher's contents.

Reimplemented from DtSimLocalControlObjectNetInterface.

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

Reimplemented from DtSimLocalControlObjectNetInterface.

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

Builds a DtList of env.

geometry records. Deriving classes can override and create different kinds of geometry records if desired.

Update contents of our environmental state with data from our DtVrfObject.

Reimplemented from DtSimLocalControlObjectNetInterface.

Fills in bounding sphere, bounding rect records.

Shortcut for accessing the network repository.

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

Override this functions to use a subclass of DtEnvironmentProcessPublisher.

Reimplemented from DtSimLocalControlObjectNetInterface.


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)