![]() |
VR-Forces Developer's Guide
|
This class will be used to receive influence interactions and create or manage objects that will represent visual representations of those messages.

Classes | |
| struct | AttackIdentifier |
| struct | AttackLineInformation |
| struct | SceneObjectInformation |
| struct | UnderAttackInformation |
Public Types | |
| typedef std::map < makVrv::DtModelSetId, DtAttackLine * > | AttackLines |
| typedef std::map< std::string, DtInfluenceInteractionInterface > | AttackTypes |
| typedef std::set < makVrv::DtElementID > | Supplying |
| typedef std::map < makVrv::DtElementID, Supplying > | Suppliers |
| typedef std::map < makVrv::DtElementID, AttackLineInformation > | AttackTarget |
| typedef std::map < makVrv::DtElementID, AttackTarget > | Attacks |
| typedef std::map < AttackIdentifier, double > | AttackExpirations |
Static Public Member Functions | |
| static DtInfluenceManager & | instance (makVrv::DtDe &de) |
Public Attributes | |
| boost::signals2::signal< void(makVrv::DtElementID, makVrv::DtElementID, std::string)> | signal_attackAdded |
| boost::signals2::signal< void(makVrv::DtElementID, makVrv::DtElementID, std::string)> | signal_attackRemoved |
| boost::signals2::signal< void(makVrv::DtElementID, makVrv::DtElementID)> | signal_supplyAdded |
| boost::signals2::signal< void(makVrv::DtElementID, makVrv::DtElementID)> | signal_supplyRemoved |
Protected Types | |
| typedef std::map < makVrv::DtElementID, UnderAttackInformation > | UnderAttack |
| typedef std::map < makVrv::DtElementID, SceneObjectInformation > | SceneObjects |
| typedef std::map < makVrv::DtElementID, DtSupplyLine * > | SupplyLine |
| typedef std::map < makVrv::DtElementID, SupplyLine > | SupplyLines |
| typedef std::map < makVrv::DtElementID, double > | SupplierExpiration |
| typedef std::map < makVrv::DtElementID, SupplierExpiration > | SupplyExpirations |
| typedef boost::unordered_map < DtUUID, DtInfluenceInteractionInterface * > | PendingInfluenceInteractions |
| typedef std::map<makVrv::DtModelSetId, DtAttackLine*> makVrf::DtInfluenceManager::AttackLines |
| typedef std::map<std::string, DtInfluenceInteractionInterface> makVrf::DtInfluenceManager::AttackTypes |
| typedef std::set<makVrv::DtElementID> makVrf::DtInfluenceManager::Supplying |
| typedef std::map<makVrv::DtElementID, Supplying> makVrf::DtInfluenceManager::Suppliers |
| typedef std::map<makVrv::DtElementID, AttackLineInformation> makVrf::DtInfluenceManager::AttackTarget |
| typedef std::map<makVrv::DtElementID, AttackTarget> makVrf::DtInfluenceManager::Attacks |
| typedef std::map<AttackIdentifier, double> makVrf::DtInfluenceManager::AttackExpirations |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| makVrf::DtInfluenceManager::DtInfluenceManager | ( | makVrv::DtDe & | ) |
|
virtual |
|
static |
|
virtual |
Registers new instance of this class.
|
virtual |
Sets whether or not to display attack lines. Initially set from entity settings.
|
virtual |
|
virtual |
Sets whether or not to display attack animation. Initially set from entity settings.
|
virtual |
|
virtual |
Sets whether or not to supply lines. Initially set from entity settings.
|
virtual |
Returns the color to display (a, b, g, r) based on the base color (a, b, g, r). The a value will not be modified.
|
virtual |
Returns true if this entity is attacking.
|
virtual |
Returns true if this item is under attack.
Sets/gets the color of the supply line.
|
virtual |
|
virtual |
Sets the length of an animation frame to change color from color to white to back. If currently animating then reset the time stamp and restart animation.
|
virtual |
For the given entity, return a list of the sectors attacked. This list is ring based on the Physical-Footprint of the entity and the offset of an influence attack by name into that structure.
|
virtual |
Sets size of wedge (in degrees)
|
virtual |
|
virtual |
Gets the attacks generated by the attacker.
|
virtual |
Returns the attacks to the target.
|
virtual |
Call to clear out pending state.
|
virtual |
Sets the minimal amount of time to display an attack line. Default is 3 seconds.
|
virtual |
|
virtual |
Returns the list of suppliers to this entity.
|
virtual |
Returns the list of suppliers for this entity.
|
protectedvirtual |
Called when influence interface message is received.
|
protectedvirtual |
Removes an existing attack line for the given influence. If there are no other attack types present for the influence source/target combination the attack line will be removed.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
| boost::signals2::signal<void (makVrv::DtElementID, makVrv::DtElementID, std::string)> makVrf::DtInfluenceManager::signal_attackAdded |
| boost::signals2::signal<void (makVrv::DtElementID, makVrv::DtElementID, std::string)> makVrf::DtInfluenceManager::signal_attackRemoved |
| boost::signals2::signal<void (makVrv::DtElementID, makVrv::DtElementID)> makVrf::DtInfluenceManager::signal_supplyAdded |
| boost::signals2::signal<void (makVrv::DtElementID, makVrv::DtElementID)> makVrf::DtInfluenceManager::signal_supplyRemoved |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
mutableprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |