FreePOOMA
2.4.1
|
InfluenceRelation supports the relation package by allowing fields that have been modified---resulting in their dirty flag being set---to notify dependent fields and set their relations' dirty flags as well. More...
#include <Relations.h>
Public Member Functions | |
template<class Target > | |
InfluenceRelation (const Target &t) | |
InfluenceRelation (const InfluenceRelation &model) | |
InfluenceRelation () | |
void | setDirty () |
void | apply () |
InfluenceRelation supports the relation package by allowing fields that have been modified---resulting in their dirty flag being set---to notify dependent fields and set their relations' dirty flags as well.
An InfluenceRelation should be added to the relation list of all fields that influence other fields. This typically occurs when the field appears on the RHS of a relation. The field being influenced, typically on the LHS of a relation, should be the argument for the constructor.
InfluenceRelation::InfluenceRelation | ( | const Target & | t | ) | [inline] |
References RelationListItem::setPriority().
InfluenceRelation::InfluenceRelation | ( | const InfluenceRelation & | model | ) | [inline] |
InfluenceRelation::InfluenceRelation | ( | ) | [inline] |
void InfluenceRelation::setDirty | ( | ) | [inline, virtual] |
Reimplemented from RelationListItem.
References RelationListItem::dirty(), and RelationList::setDirty().
void InfluenceRelation::apply | ( | ) | [inline, virtual] |
Implements RelationListItem.