A representation of a single attached part, which contains an entity type.
More...
Detailed Description
A representation of a single attached part, which contains an entity type.
The station number of the attached part is held in the DtAttachedPartCollection to which each DtAttachedPart belongs. The creation/destruction of a DtAttachedPart should be done through the DtAttachedPartColleciton.
Constructor & Destructor Documentation
| DtAttachedPart::DtAttachedPart |
( |
| ) |
|
Constructor.
Creates a new attached part with a null entity type.
| virtual DtAttachedPart::~DtAttachedPart |
( |
| ) |
|
|
virtual |
Member Function Documentation
| virtual unsigned int DtAttachedPart::attachedTo |
( |
| ) |
const |
|
virtual |
Get/Set where this part is attached to the host.
This is only relevant in DIS 7 and later. If the detached value is set to true, the attached part should be deleted after an update.
| virtual bool DtAttachedPart::detached |
( |
| ) |
const |
|
virtual |
Get/Set the detached value.
This is only relevant in DIS 7 and later. If the detached value is set to true, the attached part should be deleted after an update.
| virtual const DtEntityType& DtAttachedPart::entityType |
( |
| ) |
const |
|
virtual |
Equality/inequality operators.
A DtAttachedPart is considered equal to another if the entity type is the same. The station number is not taken into consideration in this class, as that information is stored in the DtAttachedPartCollection. These operators are meant to be primarily used by DtAttachedPartCollection's equality/inequality operators.
Equality/inequality operators.
A DtAttachedPart is considered equal to another if the entity type is the same. The station number is not taken into consideration in this class, as that information is stored in the DtAttachedPartCollection. These operators are meant to be primarily used by DtAttachedPartCollection's equality/inequality operators.
| virtual void DtAttachedPart::setAttachedTo |
( |
unsigned int |
where | ) |
|
|
virtual |
Get/Set where this part is attached to the host.
This is only relevant in DIS 7 and later. If the detached value is set to true, the attached part should be deleted after an update.
| virtual void DtAttachedPart::setDetached |
( |
bool |
det | ) |
|
|
virtual |
Get/Set the detached value.
This is only relevant in DIS 7 and later. If the detached value is set to true, the attached part should be deleted after an update.
| virtual void DtAttachedPart::setEntityType |
( |
const DtEntityType & |
entType | ) |
|
|
virtual |
Member Data Documentation
| unsigned short DtAttachedPart::myAttachedTo |
|
protected |
| bool DtAttachedPart::myDetached |
|
protected |
The documentation for this class was generated from the following file: