zZoneInfluence Class Reference

#include <zZoneInfluence.h>

Collaboration diagram for zZoneInfluence:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 zZoneInfluence (zZonePtr _zone)
 ~zZoneInfluence ()
void apply (const tPolynomial< nMessage > &value)
void addZoneInfluenceRule (zZoneInfluenceItemPtr aRule)

Protected Attributes

zZonePtr zone
zZoneInfluenceItemList zoneInfluenceItems


Detailed Description

Definition at line 23 of file zZoneInfluence.h.


Constructor & Destructor Documentation

zZoneInfluence::zZoneInfluence ( zZonePtr  _zone  ) 

Definition at line 3 of file zZoneInfluence.cpp.

00003 : zone(_zone), zoneInfluenceItems() { }

zZoneInfluence::~zZoneInfluence (  ) 

Definition at line 5 of file zZoneInfluence.cpp.

00005 { }


Member Function Documentation

void zZoneInfluence::apply ( const tPolynomial< nMessage > &  value  ) 

Definition at line 8 of file zZoneInfluence.cpp.

References zone, and zoneInfluenceItems.

00009 {
00010     zZoneInfluenceItemList::const_iterator iter;
00011     for (iter=zoneInfluenceItems.begin();
00012             iter!=zoneInfluenceItems.end();
00013             ++iter)
00014     {
00015         (*iter)->apply(value);
00016     }
00017 
00018     zone->RequestSync();
00019 }

void zZoneInfluence::addZoneInfluenceRule ( zZoneInfluenceItemPtr  aRule  )  [inline]

Definition at line 33 of file zZoneInfluence.h.

References zoneInfluenceItems.

00033                                                            {
00034         zoneInfluenceItems.push_back(aRule);
00035     };


Member Data Documentation

zZonePtr zZoneInfluence::zone [protected]

Definition at line 25 of file zZoneInfluence.h.

Referenced by apply().

zZoneInfluenceItemList zZoneInfluence::zoneInfluenceItems [protected]

Definition at line 26 of file zZoneInfluence.h.

Referenced by addZoneInfluenceRule(), and apply().


The documentation for this class was generated from the following files:
Generated on Sun Mar 16 00:02:38 2008 for Armagetron Advanced by  doxygen 1.5.4