VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Attributes
DtGenericPropertiesAggregateStateRepository Class Reference

DtGenericPropertiesAggregateStateRepository class will interface with extended published data and parameter database and properties list to transfer network extended data to DtRwProperties. More...

Inheritance diagram for DtGenericPropertiesAggregateStateRepository:
Inheritance graph
[legend]

Public Member Functions

 DtGenericPropertiesAggregateStateRepository ()
 default constructor
virtual ~DtGenericPropertiesAggregateStateRepository ()
 destructor
 DtGenericPropertiesAggregateStateRepository (const DtGenericPropertiesAggregateStateRepository &orig)
 copy constructor
DtGenericPropertiesAggregateStateRepositoryoperator= (const DtGenericPropertiesAggregateStateRepository &orig)
 assignment operator
virtual DtStateRepositoryclone (bool copy=false) const
 Return a copy/empty object of the same type as this.
virtual int compare (const DtExtAggregateStateRepository *rhs)
 Compares us against the supplied state repository and returns what's changed.
const DtRwPropertiesstateProperties () const
const DtRwPropertiesparameterProperties () const
virtual void setParameterDatabase (DtMtlParameterDb *)
 Sets the parameter database and updates internal properties based on aggregate type.
virtual void updateExtensions ()
 Updates property data.
virtual void updateProperties ()
 Updates properties with new data.
- Public Member Functions inherited from DtExtAggregateStateRepository
 DtExtAggregateStateRepository ()
virtual ~DtExtAggregateStateRepository ()
 DtExtAggregateStateRepository (const DtExtAggregateStateRepository &orig)
DtExtAggregateStateRepositoryoperator= (const DtExtAggregateStateRepository &orig)
virtual int compareToMostRecent ()
virtual bool locationsDifferent (bool updateIfDifferent)
virtual DtString extendedData (const DtString &key) const
 Extended record data is a key/value pair.
const DtVrfExtendedRecordDataextendedRecordData () const
DtVrfExtendedRecordDataextendedRecordData ()
virtual void addEntity (const DtBaseEntityStateRepository *)
 Convenience routines to add/remove subordinates.
virtual void removeEntity (const DtBaseEntityStateRepository *)
virtual void addAggregate (const DtBaseEntityStateRepository *)
virtual void removeAggregate (const DtBaseEntityStateRepository *)
virtual void addSubordinate (const DtEntityIdentifier &)
 Adds/removes a subordinate from the subordinate order.
virtual void removeSubordinate (const DtEntityIdentifier &)
virtual void setExtendedData (const std::map< DtString, DtString > &ed)
 Sets extended data for transport via extended data records.
virtual void setExtendedData (const DtString &key, const DtString &value)
 Gets/sets extended data.
virtual int numVrfVariableDatumRecords () const
 Number of fixed datum records that are supplied with a version of the VRF aggregate User records start after this value.
virtual bool getUserVariableDatum (int userRecordNumber, DtVariableDatumRecord &rec)
 Returns a user specified variable datum record. The userRecordNumber should be 0 based.
virtual bool setUserVariableDatum (int userRecordNumber, const DtVariableDatumRecord &record)
 Sets a user specified variable datum record. The userRecordNumber should be 0 based.
virtual void updateDataRecords ()
 Updates the VRF specific data records as follows: 0 - Supertype 1 - Appearance 2 - Ordered Subordinates 3 - DtIfVrfObjectData.
int appearance () const
void setAppearance (int)
const std::vector
< DtEntityIdentifier > & 
orderedSubordinates () const
virtual void setOrderedSubordinates (const std::vector< DtEntityIdentifier > &)
virtual DtString formationName () const
virtual void setFormationName (const DtString &formationName)
- Public Member Functions inherited from DtVrfExtensions
 DtVrfExtensions ()
virtual ~DtVrfExtensions ()
 DtVrfExtensions (const DtVrfExtensions &orig)
DtVrfExtensionsoperator= (const DtVrfExtensions &orig)
virtual const DtStringname () const
virtual void setName (const DtString &n)
virtual const DtStringvrfObjectLabel () const
virtual void setVrfObjectLabel (const DtString &l)
virtual const DtStringechelonId () const
virtual void setEchelonId (const DtString &l)
virtual const DtStringoverlayParent () const
virtual void setOverlayParent (const DtString &l)
virtual bool isVrfSimulated () const
virtual void setIsVrfSimulated (bool vrf)
virtual DtU32 vrfSessionId () const
virtual void setVrfSessionId (DtU32 id)
virtual void setVrfMessageVersionSupported (DtU32 id)
virtual DtU32 vrfMessageVersionSupported () const
virtual void setObjectType (const DtObjectType &)
virtual const DtObjectTypeobjectType () const
virtual void setIsSubordinateOfForce (bool b)
virtual bool isSubordinateOfForce () const
virtual int superType () const
virtual void setHasPlan (bool yesNo)
virtual bool hasPlan () const
virtual void setIsCurrentlyTasked (bool yesNo)
virtual bool isCurrentlyTasked () const
virtual void setRulesOfEngagement (const DtString &)
virtual const DtStringrulesOfEngagement () const
virtual bool setupFromVrfObjectData (const DtIfVrfObjectData &data)
virtual void addRangeItem (const DtRangeItem &)
 Adds, removes and returns items in the range item list.
virtual void removeRangeItem (int index)
virtual void setRangeItems (const DtRangeItems &)
const DtRangeItemsrangeItems () const
virtual bool createVrfObjectDataMessage ()
virtual DtIfVrfObjectDatavrfObjectDataMessage () const
virtual void setIndependentlyTasked (bool yesNo)
virtual bool independentlyTasked () const
virtual void setUnderFire (bool yesNo)
virtual bool underFire () const
virtual void setExecutingPlan (bool yesNo)
virtual bool executingPlan () const
virtual const std::map
< DtString, DtString > & 
extendedData () const
 Gets/sets extended data.
virtual void setBoundingVolume (const DtVector32 &)
 Sets/gets bounding volume and bounding volume offset of an entity.
virtual const DtVector32 & boundingVolume () const
 Sets/gets bounding volume and bounding volume offset of an entity.
virtual void setBoundingVolumeOffset (const DtVector32 &)
 Sets/gets bounding volume and bounding volume offset of an entity.
virtual const DtVector32 & boundingVolumeOffset () const
 Sets/gets bounding volume and bounding volume offset of an entity.

Static Public Member Functions

static
DtGenericPropertiesAggregateStateRepository
create ()
 Create a DtVrfAggregateEntityStateRepository.

Protected Attributes

DtRwProperties myStateProperties
DtRwProperties myParameterProperties
DtEntityType myLastCheckedEntityType
DtMtlParameterDbmyParameterDatabase
- Protected Attributes inherited from DtExtAggregateStateRepository
DtExtAggregateStateRepositorymyLastCopy
DtAggregateExtendedRecordData myExtendedRecordData
int myAppearance
std::vector< DtEntityIdentifier > myOrderedSubordinates
charmySubordinateBuffer
int myBitLength
bool myRecordModified
DtString myFormationName
- Protected Attributes inherited from DtVrfExtensions
DtString myName
DtIfVrfObjectDatamyVrfObjectDataMessage

Additional Inherited Members

Detailed Description

DtGenericPropertiesAggregateStateRepository class will interface with extended published data and parameter database and properties list to transfer network extended data to DtRwProperties.

Constructor & Destructor Documentation

DtGenericPropertiesAggregateStateRepository::DtGenericPropertiesAggregateStateRepository ( )

default constructor

virtual DtGenericPropertiesAggregateStateRepository::~DtGenericPropertiesAggregateStateRepository ( )
virtual

destructor

DtGenericPropertiesAggregateStateRepository::DtGenericPropertiesAggregateStateRepository ( const DtGenericPropertiesAggregateStateRepository orig)

copy constructor

Member Function Documentation

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

assignment operator

virtual DtStateRepository* DtGenericPropertiesAggregateStateRepository::clone ( bool  copy = false) const
virtual

Return a copy/empty object of the same type as this.

Reimplemented from makVrfVrlinkExtToolkit::DtGenericAttributeStateRepository< DtExtAggregateStateRepository >.

virtual int DtGenericPropertiesAggregateStateRepository::compare ( const DtExtAggregateStateRepository rhs)
virtual

Compares us against the supplied state repository and returns what's changed.

Reimplemented from DtExtAggregateStateRepository.

const DtRwProperties& DtGenericPropertiesAggregateStateRepository::stateProperties ( ) const
inline
const DtRwProperties& DtGenericPropertiesAggregateStateRepository::parameterProperties ( ) const
inline
virtual void DtGenericPropertiesAggregateStateRepository::setParameterDatabase ( DtMtlParameterDb )
virtual

Sets the parameter database and updates internal properties based on aggregate type.

static DtGenericPropertiesAggregateStateRepository* DtGenericPropertiesAggregateStateRepository::create ( )
static

Create a DtVrfAggregateEntityStateRepository.

Reimplemented from makVrfVrlinkExtToolkit::DtGenericAttributeStateRepository< DtExtAggregateStateRepository >.

virtual void DtGenericPropertiesAggregateStateRepository::updateExtensions ( )
virtual

Updates property data.

Reimplemented from DtExtAggregateStateRepository.

virtual void DtGenericPropertiesAggregateStateRepository::updateProperties ( )
virtual

Updates properties with new data.

Member Data Documentation

DtRwProperties DtGenericPropertiesAggregateStateRepository::myStateProperties
protected
DtRwProperties DtGenericPropertiesAggregateStateRepository::myParameterProperties
protected
DtEntityType DtGenericPropertiesAggregateStateRepository::myLastCheckedEntityType
protected
DtMtlParameterDb* DtGenericPropertiesAggregateStateRepository::myParameterDatabase
protected

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

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)