![]() |
VR-Forces 4.0.4 Class Documentation
|
DtPseudoAggregateDamageActuator models damage of an aggregate entity. More...

Public Member Functions | |
| DtDisaggregatedDamageActuator (const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0) | |
| (const DtString&,DtVrfObject*,DtSimManager*, | |
| virtual | ~DtDisaggregatedDamageActuator () |
| destructor | |
| virtual DtString | type () const |
| Returns a string identifies the class type of component. | |
| virtual void | tick () |
| Walks the list of subordinates, and if an undamaged subordinate is found, the appearance is set to DtDamageNone, otherwise it is set to DtDamageDestroyed. | |
Static Public Member Functions | |
| static DtSimComponent * | creator (const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0) |
| (const DtString&,DtVrfObject*,DtSimManager*, | |
| static void | setDestroyedCallback (DtSimMessage *msg, void *usrData) |
| Calls setDestroyed() | |
Protected Member Functions | |
| virtual void | setDestroyed () |
| Sends DtSetDestroyRequests to all the subordinates. | |
| virtual void | setRadio (DtSimBaseRadio *radio) |
| Overrides this so it can register its interest the set destroyed message. | |
| DtDisaggregatedDamageActuator () | |
| default constructor, not implemented | |
| DtDisaggregatedDamageActuator (const DtDisaggregatedDamageActuator &orig) | |
| copy constructor, not implemented | |
| DtDisaggregatedDamageActuator & | operator= (const DtDisaggregatedDamageActuator &orig) |
| assignment operator, not implemented | |
DtPseudoAggregateDamageActuator models damage of an aggregate entity.
End User Description: Updates the aggregate entity's appearance bit based on the health of its subordinates. Uses Descriptor Type: DtActuatorComponentDescriptor
| DtDisaggregatedDamageActuator::DtDisaggregatedDamageActuator | ( | const DtString & | name, |
| DtVrfObject * | owner, | ||
| DtSimManager * | simManager, | ||
| DtComponentDescriptor * | desc = 0, |
||
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) |
(const DtString&,DtVrfObject*,DtSimManager*,
| name | Reader writer name of this component. |
| owner | The DtVrfObject that owns this component |
| simManager | The simulation manager (provides access to terrain, message interface, simulation clock). |
| desc | The component descriptor used to initialize this component. |
| parentRegistry | Pointer to the parent reader writer registry (the containing object that reads/writes this object). |
| virtual DtDisaggregatedDamageActuator::~DtDisaggregatedDamageActuator | ( | ) | [virtual] |
destructor
| DtDisaggregatedDamageActuator::DtDisaggregatedDamageActuator | ( | ) | [protected] |
default constructor, not implemented
| DtDisaggregatedDamageActuator::DtDisaggregatedDamageActuator | ( | const DtDisaggregatedDamageActuator & | orig | ) | [protected] |
copy constructor, not implemented
| virtual DtString DtDisaggregatedDamageActuator::type | ( | ) | const [virtual] |
Returns a string identifies the class type of component.
Type values are defined in compTypes.h. DtSimComponent creation functions are registered with the DtSimComponentFactory using the type values as the key.
Reimplemented from DtSimComponent.
| virtual void DtDisaggregatedDamageActuator::tick | ( | ) | [virtual] |
Walks the list of subordinates, and if an undamaged subordinate is found, the appearance is set to DtDamageNone, otherwise it is set to DtDamageDestroyed.
Reimplemented from DtSimComponent.
| static DtSimComponent* DtDisaggregatedDamageActuator::creator | ( | const DtString & | name, |
| DtVrfObject * | owner, | ||
| DtSimManager * | simManager, | ||
| DtComponentDescriptor * | desc = 0, |
||
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) | [static] |
(const DtString&,DtVrfObject*,DtSimManager*,
| name | Reader writer name of this component. |
| owner | The DtVrfObject that owns this component |
| simManager | The simulation manager (provides access to terrain, message interface, simulation clock). |
| desc | The component descriptor used to initialize this component. |
| parentRegistry | Pointer to the parent reader writer registry (the containing object that reads/writes this object). |
| static void DtDisaggregatedDamageActuator::setDestroyedCallback | ( | DtSimMessage * | msg, |
| void * | usrData | ||
| ) | [static] |
Calls setDestroyed()
| virtual void DtDisaggregatedDamageActuator::setDestroyed | ( | ) | [protected, virtual] |
Sends DtSetDestroyRequests to all the subordinates.
| virtual void DtDisaggregatedDamageActuator::setRadio | ( | DtSimBaseRadio * | radio | ) | [protected, virtual] |
Overrides this so it can register its interest the set destroyed message.
Reimplemented from DtActuatorComponent.
| DtDisaggregatedDamageActuator& DtDisaggregatedDamageActuator::operator= | ( | const DtDisaggregatedDamageActuator & | orig | ) | [protected] |
assignment operator, not implemented