![]() |
VR-Forces 4.2 Class Documentation
|
Content-Type: DtIfHostilityMatrix. More...

Public Member Functions | |
| DtIfHostilityMatrix () | |
| default constructor | |
| DtIfHostilityMatrix (const DtIfHostilityMatrix &orig) | |
| copy constructor | |
| const DtIfHostilityMatrix & | operator= (const DtIfHostilityMatrix &orig) |
| assignment operator | |
| virtual | ~DtIfHostilityMatrix () |
| virtual int | type () const |
| virtual DtSimInterfaceContent * | clone () const |
| virtual int | numberOfForces () const |
| Sets the number of forcesentires to set for the matrix. | |
| virtual void | setNumberOfForces (int num) |
| virtual const DtHostilityVector & | hostilityVector (int force) const |
| virtual DtHostilityVector & | hostilityVector (int force) |
| virtual int | indexOfForce (int) const |
| Returns the index offset of the given force in the myForceTypeVector matrix. | |
| virtual const DtNameVector & | nameVector () const |
| virtual DtNameVector & | nameVector () |
| virtual const DtForceTypeVector & | forceTypeVector () const |
| virtual DtForceTypeVector & | forceTypeVector () |
| virtual int | netRepSize () const |
| virtual bool | setFromNet (const char *contentBuffer, unsigned contentSize) |
| virtual bool | setToNet () |
| virtual void | printDataToString (DtString &str) |
| Print message data. | |
Static Public Member Functions | |
| static DtSimInterfaceContent * | creator () |
Protected Attributes | |
| DtHostilityMatrix | myHostilityMatrix |
| DtNameVector | myNameVector |
| DtForceTypeVector | myForceTypeVector |
Content-Type: DtIfHostilityMatrix.
Interface message which sets the hostility matrix of all the forces Used for editing all of the forces hostility to each other at the same time.
| DtIfHostilityMatrix::DtIfHostilityMatrix | ( | ) |
default constructor
| DtIfHostilityMatrix::DtIfHostilityMatrix | ( | const DtIfHostilityMatrix & | orig | ) |
copy constructor
|
virtual |
| const DtIfHostilityMatrix& DtIfHostilityMatrix::operator= | ( | const DtIfHostilityMatrix & | orig | ) |
assignment operator
|
virtual |
Reimplemented in DtIfSetHostilityMatrix.
|
virtual |
Reimplemented in DtIfSetHostilityMatrix.
|
virtual |
Sets the number of forcesentires to set for the matrix.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Returns the index offset of the given force in the myForceTypeVector matrix.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Print message data.
|
static |
Reimplemented in DtIfSetHostilityMatrix.
|
protected |
|
protected |
|
protected |