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

Set request which can be sent to a laser guided launcher, and tells the launcher to synchronize its laser code with another entity. More...

Inheritance diagram for DtSetSyncLaserCode:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtSetSyncLaserCode ()
 default constructor
 DtSetSyncLaserCode (const DtString &writeName, DtReaderWriterRegistry *parentRegistry=0)
 constructor If you have a request 'put' itself, the writeName will preface it.
 DtSetSyncLaserCode (const DtString &writeName, const DtSetSyncLaserCode &orig, DtReaderWriterRegistry *parentRegistry=0)
 copy constructor
const DtSetSyncLaserCodeoperator= (const DtSetSyncLaserCode &orig)
 assignment operator
virtual ~DtSetSyncLaserCode ()
virtual int type () const
 Returns DtSetSyncLaserCodeType.
virtual DtSetDataRequestclone (const DtString &name, DtReaderWriterRegistry *parentRegistry=0) const
 Creates a copy of the request.
virtual DtString stringRep () const
 Get a readable string representation of this setDataRequest.
virtual int netRepSize () const
 Returns the size of the full network representation padded to an 8-byte boundary.
virtual DtBoolean setFromNet (const char *contentBuffer, unsigned contentSize)
 Fills in the task from the network buffer.
virtual DtBoolean setToNet ()
 Fills in the network buffer (created by base class simTask) with the task contents.
virtual DtString entityName () const
 The name of the entity with whom the laser code will be synchronized.
virtual void setEntityName (const DtString &name)
 The name of the entity with whom the laser code will be synchronized.

Static Public Member Functions

static DtSetDataRequestcreator ()

Protected Attributes

DtRwString myEntityName

Detailed Description

Set request which can be sent to a laser guided launcher, and tells the launcher to synchronize its laser code with another entity.

The entity that receives this message will request the current laser code from the entity named in the set message.


Constructor & Destructor Documentation

default constructor

DtSetSyncLaserCode::DtSetSyncLaserCode ( const DtString writeName,
DtReaderWriterRegistry parentRegistry = 0 
)

constructor If you have a request 'put' itself, the writeName will preface it.

DtSetSyncLaserCode::DtSetSyncLaserCode ( const DtString writeName,
const DtSetSyncLaserCode orig,
DtReaderWriterRegistry parentRegistry = 0 
)

copy constructor


Member Function Documentation

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

assignment operator

virtual int DtSetSyncLaserCode::type ( ) const [virtual]

Returns DtSetSyncLaserCodeType.

Implements DtSetDataRequest.

virtual DtSetDataRequest* DtSetSyncLaserCode::clone ( const DtString name,
DtReaderWriterRegistry parentRegistry = 0 
) const [virtual]

Creates a copy of the request.

Implements DtSetDataRequest.

virtual DtString DtSetSyncLaserCode::stringRep ( ) const [virtual]

Get a readable string representation of this setDataRequest.

Implements DtSetDataRequest.

virtual DtString DtSetSyncLaserCode::entityName ( ) const [virtual]

The name of the entity with whom the laser code will be synchronized.

(This should name an entity other than the receiver of this request)

virtual void DtSetSyncLaserCode::setEntityName ( const DtString name) [virtual]

The name of the entity with whom the laser code will be synchronized.

(This should name an entity other than the receiver of this request)

virtual int DtSetSyncLaserCode::netRepSize ( ) const [virtual]

Returns the size of the full network representation padded to an 8-byte boundary.

Reimplemented from DtSetDataRequest.

virtual DtBoolean DtSetSyncLaserCode::setFromNet ( const char *  contentBuffer,
unsigned  contentSize 
) [virtual]

Fills in the task from the network buffer.

Reimplemented from DtSetDataRequest.

virtual DtBoolean DtSetSyncLaserCode::setToNet ( ) [virtual]

Fills in the network buffer (created by base class simTask) with the task contents.

Reimplemented from DtSetDataRequest.


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)