FreePOOMA
2.4.1
|
RelationListItem is an abstract base class for all relations: More...
#include <RelationListItem.h>
Public Member Functions | |
RelationListItem () | |
RelationListItem (const RelationListItem &model) | |
virtual | ~RelationListItem () |
virtual void | apply ()=0 |
virtual void | notifyPreRead () |
virtual void | notifyPostWrite () |
bool | dirty () const |
unsigned int | priority () const |
virtual void | setDirty () |
virtual void | clearDirty () |
void | setPriority (unsigned int p) |
RelationListItem is an abstract base class for all relations:
RelationListItem | RelationRetargetBase<Target> | RelationBase<Target, Functor> | Relation<Target, Functor>
The hierarchy exists to incrementally supply services and expose the Target and Functor template parameters.
RelationListItem provides an interface for the most basic services: responding to pre-read and post-write events, setting/clearing the dirty flag, and managing the priority/group membership.
This class is not templated because we want to store these puppies in RelationList containers, which are also not templated.
RelationListItem::RelationListItem | ( | ) | [inline] |
RelationListItem::RelationListItem | ( | const RelationListItem & | model | ) | [inline] |
virtual RelationListItem::~RelationListItem | ( | ) | [inline, virtual] |
virtual void RelationListItem::apply | ( | ) | [pure virtual] |
Implemented in Relation6< Target, R1, R2, R3, R4, R5, R6, RelationFunctor >, Relation5< Target, R1, R2, R3, R4, R5, RelationFunctor >, Relation4< Target, R1, R2, R3, R4, RelationFunctor >, Relation3< Target, R1, R2, R3, RelationFunctor >, Relation2< Target, R1, R2, RelationFunctor >, Relation1< Target, R1, RelationFunctor >, Relation0< Target, RelationFunctor >, and InfluenceRelation.
Referenced by notifyPreRead().
virtual void RelationListItem::notifyPreRead | ( | ) | [inline, virtual] |
References apply(), clearDirty(), and Pooma::isRelationGroupActive().
Referenced by RelationList::notifyPreRead().
virtual void RelationListItem::notifyPostWrite | ( | ) | [inline, virtual] |
References setDirty().
Referenced by RelationList::notifyPostWrite().
bool RelationListItem::dirty | ( | ) | const [inline] |
Referenced by RelationList::dirty(), and InfluenceRelation::setDirty().
unsigned int RelationListItem::priority | ( | ) | const [inline] |
virtual void RelationListItem::setDirty | ( | ) | [inline, virtual] |
Reimplemented in InfluenceRelation.
References std::endl().
Referenced by notifyPostWrite(), and RelationList::setDirty().
virtual void RelationListItem::clearDirty | ( | ) | [inline, virtual] |
References std::endl().
Referenced by RelationList::clearDirty(), and notifyPreRead().
void RelationListItem::setPriority | ( | unsigned int | p | ) | [inline] |
Referenced by InfluenceRelation::InfluenceRelation(), and Pooma::newRelation().