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

DtSetLaserCodeRequest is derived off of setTarget so that a Pulsed Repetition Frequency(PRF) Code can be associated with the target if it is being lased. More...

Inheritance diagram for DtSetLaserCodeRequest:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtSetLaserCodeRequest ()
 default constructor
 DtSetLaserCodeRequest (const DtString &writeName, DtReaderWriterRegistry *parentRegistry=0)
 constructor If you have a request 'put' itself, the writeName will preface it.
 DtSetLaserCodeRequest (const DtString &writeName, const DtSetLaserCodeRequest &orig, DtReaderWriterRegistry *parentRegistry=0)
 copy constructor
const DtSetLaserCodeRequestoperator= (const DtSetLaserCodeRequest &orig)
 assignment operator
virtual ~DtSetLaserCodeRequest ()
virtual int type () const
 Returns DtSetLaserCodeRequestType.
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 const int laserCode () const
 The PRF code being lased onto the target.
virtual void setLaserCode (const int code)
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.

Static Public Member Functions

static DtSetDataRequestcreator ()

Protected Attributes

DtRwInt myLaserCode

Detailed Description

DtSetLaserCodeRequest is derived off of setTarget so that a Pulsed Repetition Frequency(PRF) Code can be associated with the target if it is being lased.

set-data-request-type: DtSetLaserCodeRequestType

parameters: target code- The PRF code being lased onto the target File: setLaseTarget.h

Class: DtSetLaserCodeRequest


Constructor & Destructor Documentation

default constructor

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

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

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

copy constructor


Member Function Documentation

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

assignment operator

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

Returns DtSetLaserCodeRequestType.

Implements DtSetDataRequest.

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

Creates a copy of the request.

Implements DtSetDataRequest.

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

Get a readable string representation of this setDataRequest.

Implements DtSetDataRequest.

virtual const int DtSetLaserCodeRequest::laserCode ( ) const [virtual]

The PRF code being lased onto the target.

virtual void DtSetLaserCodeRequest::setLaserCode ( const int  code) [virtual]
virtual int DtSetLaserCodeRequest::netRepSize ( ) const [virtual]

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

Reimplemented from DtSetDataRequest.

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

Fills in the task from the network buffer.

Reimplemented from DtSetDataRequest.

virtual DtBoolean DtSetLaserCodeRequest::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)