![]() |
VR-Forces 4.6 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. | |
Public Member Functions inherited from DtSimInterfaceContent | |
| virtual | ~DtSimInterfaceContent () |
| virtual bool | update (const DtSimInterfaceContent *data) |
| virtual char * | netRep () |
| virtual void | printContentType (DtString &str) |
| virtual void | setUseSessionId (bool yesNo) |
| virtual bool | useSessionId () const |
Static Public Member Functions | |
| static DtSimInterfaceContent * | creator () |
Static Public Member Functions inherited from DtSimInterfaceContent | |
| static DtSimInterfaceContent * | createInterfaceContent (int type) |
| static void | addInterfaceContentCreatorFcn (int type, DtInterfaceContentCreatorFcn fcn) |
| static void | setFactory (DtInterfaceContentFactory *factory) |
| static DtInterfaceContentFactory * | factory () |
| static void | registerContentTypePrinter (DtSimInterfaceContentTypePrinterFcn printFcn) |
Protected Attributes | |
| DtHostilityMatrix | myHostilityMatrix |
| DtNameVector | myNameVector |
| DtForceTypeVector | myForceTypeVector |
Protected Attributes inherited from DtSimInterfaceContent | |
| char * | myNetRep |
| bool | myUseSessionId |
Additional Inherited Members | |
Protected Member Functions inherited from DtSimInterfaceContent | |
| DtSimInterfaceContent () | |
| DtSimInterfaceContent (const DtSimInterfaceContent &orig) | |
| const DtSimInterfaceContent & | operator= (const DtSimInterfaceContent &orig) |
| virtual char * | createNetworkBuffer () |
Static Protected Attributes inherited from DtSimInterfaceContent | |
| static DtInterfaceContentFactory * | myFactory |
| static DtSimInterfaceContentTypePrinterFcn | theContentTypePrinterFcn |
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 |
Implements DtSimInterfaceContent.
Reimplemented in DtIfSetHostilityMatrix.
|
virtual |
Implements DtSimInterfaceContent.
Reimplemented in DtIfSetHostilityMatrix.
|
virtual |
Sets the number of forcesentires to set for the matrix.
|
virtual |
|
virtual |
|
virtual |
Returns the index offset of the given force in the myForceTypeVector matrix.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Reimplemented from DtSimInterfaceContent.
|
virtual |
Reimplemented from DtSimInterfaceContent.
|
virtual |
Reimplemented from DtSimInterfaceContent.
|
virtual |
Print message data.
Reimplemented from DtSimInterfaceContent.
|
static |
Reimplemented in DtIfSetHostilityMatrix.
|
protected |
|
protected |
|
protected |