FreePOOMA  2.4.1
Public Member Functions
RelationListItem Class Reference

RelationListItem is an abstract base class for all relations: More...

#include <RelationListItem.h>

Inheritance diagram for RelationListItem:
Inheritance graph
[legend]

List of all members.

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)

Detailed Description

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.


Constructor & Destructor Documentation

virtual RelationListItem::~RelationListItem ( ) [inline, virtual]

Member Function Documentation

virtual void RelationListItem::apply ( ) [pure virtual]
virtual void RelationListItem::notifyPreRead ( ) [inline, virtual]
virtual void RelationListItem::notifyPostWrite ( ) [inline, virtual]

References setDirty().

Referenced by RelationList::notifyPostWrite().

bool RelationListItem::dirty ( ) const [inline]
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]

The documentation for this class was generated from the following file: