VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions | Protected Attributes
DtGroundMovementChooserPSR Class Reference
Inheritance diagram for DtGroundMovementChooserPSR:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtGroundMovementChooserPSR (DtVrfObject *vrfObject, const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0)
 constructor
 DtGroundMovementChooserPSR (const DtGroundMovementChooserPSR &orig, const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0)
 copy constructor
virtual ~DtGroundMovementChooserPSR ()
 destructor
DtGroundMovementChooserPSRoperator= (const DtGroundMovementChooserPSR &orig)
 assignment operator - not implemented
virtual
DtVrfProcessStateRepository
clone (const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) const
 returns a newly created copy of this object
virtual DtString type () const
 Returns the string type of the repository, as defined in procSRTypes.h.
virtual bool isSubTask () const
 Accessor/Mutator for myAmSubTask.
virtual void setIsSubTask (bool value)
 Accessor/Mutator for myAmSubTask.
virtual const DtStringcurrentMovementSystem () const
 Accessor/Mutator for myCurrentMovementSystemName.
virtual void setCurrentMovementSystem (const DtString &name)
 Accessor/Mutator for myCurrentMovementSystemName.
virtual const DtStringdefaultMovementSystem () const
 Accessor/Mutator for myDefaultMovementSystemName.
virtual void setDefaultMovementSystem (const DtString &name)
 Accessor/Mutator for myDefaultMovementSystemName.

Static Public Member Functions

static
DtVrfProcessStateRepository
creator (const DtString &rwName, DtVrfObject *vrfObject, DtReaderWriterRegistry *parentRegistry)
 Returns a newly created instance of this class.

Protected Attributes

DtRwBoolean myAmSubTask
 We need to keep track of if an incomming task is a subtask or not.
DtRwString myCurrentMovementSystemName
DtRwString myDefaultMovementSystemName

Constructor & Destructor Documentation

DtGroundMovementChooserPSR::DtGroundMovementChooserPSR ( DtVrfObject vrfObject,
const DtString rwName = DtString::nullString(),
DtReaderWriterRegistry parentRegistry = 0 
)

constructor

DtGroundMovementChooserPSR::DtGroundMovementChooserPSR ( const DtGroundMovementChooserPSR orig,
const DtString rwName = DtString::nullString(),
DtReaderWriterRegistry parentRegistry = 0 
)

copy constructor

destructor


Member Function Documentation

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

assignment operator - not implemented

virtual DtVrfProcessStateRepository* DtGroundMovementChooserPSR::clone ( const DtString rwName = DtString::nullString(),
DtReaderWriterRegistry parentRegistry = 0 
) const [virtual]

returns a newly created copy of this object

Implements DtVrfProcessStateRepository.

virtual DtString DtGroundMovementChooserPSR::type ( ) const [virtual]

Returns the string type of the repository, as defined in procSRTypes.h.

Implements DtVrfProcessStateRepository.

virtual bool DtGroundMovementChooserPSR::isSubTask ( ) const [virtual]

Accessor/Mutator for myAmSubTask.

virtual void DtGroundMovementChooserPSR::setIsSubTask ( bool  value) [virtual]

Accessor/Mutator for myAmSubTask.

virtual const DtString& DtGroundMovementChooserPSR::currentMovementSystem ( ) const [virtual]

Accessor/Mutator for myCurrentMovementSystemName.

virtual void DtGroundMovementChooserPSR::setCurrentMovementSystem ( const DtString name) [virtual]

Accessor/Mutator for myCurrentMovementSystemName.

virtual const DtString& DtGroundMovementChooserPSR::defaultMovementSystem ( ) const [virtual]

Accessor/Mutator for myDefaultMovementSystemName.

virtual void DtGroundMovementChooserPSR::setDefaultMovementSystem ( const DtString name) [virtual]

Accessor/Mutator for myDefaultMovementSystemName.

static DtVrfProcessStateRepository* DtGroundMovementChooserPSR::creator ( const DtString rwName,
DtVrfObject vrfObject,
DtReaderWriterRegistry parentRegistry 
) [static]

Returns a newly created instance of this class.


Member Data Documentation

We need to keep track of if an incomming task is a subtask or not.

If it is, then upon completion of the chooser's subtask, we should not call task complete. That will be handled by the owner of the original task. And don't remove the subtask unless you spawned it


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)