#include <zMonitor.h>
Public Member Functions | |
zMonitorInfluence (zMonitorPtr aMonitor) | |
~zMonitorInfluence () | |
void | apply (gVectorExtra< nNetObjectID > &owners, gVectorExtra< nNetObjectID > &teamOwners, gCycle *triggerer, const tPolynomial< nMessage > &valueEq) |
void | setMarked (Triad mark) |
void | setInfluence (tPolynomialMarshaler< nMessage > infl) |
void | setInfluenceSlide (tPolynomial< nMessage > infl) |
Private Attributes | |
zMonitorPtr | monitor |
tPolynomialMarshaler< nMessage > | influence |
tPolynomial< nMessage > | influenceSlide |
bool | influenceSlideAvailable |
Triad | marked |
Definition at line 175 of file zMonitor.h.
zMonitorInfluence::zMonitorInfluence | ( | zMonitorPtr | aMonitor | ) | [inline] |
Definition at line 185 of file zMonitor.h.
00185 : 00186 monitor(aMonitor), 00187 influence(), 00188 influenceSlide(), 00189 influenceSlideAvailable(false), 00190 marked(_ignore) 00191 { }; ~zMonitorInfluence() { };
zMonitorInfluence::~zMonitorInfluence | ( | ) | [inline] |
void zMonitorInfluence::apply | ( | gVectorExtra< nNetObjectID > & | owners, | |
gVectorExtra< nNetObjectID > & | teamOwners, | |||
gCycle * | triggerer, | |||
const tPolynomial< nMessage > & | valueEq | |||
) |
Definition at line 176 of file zMonitor.cpp.
References influence, marked, tPolynomialMarshaler< T >::marshal(), and monitor.
00176 { 00177 // Currently, we discard ownership information 00178 00179 tPolynomial<nMessage> tf = influence.marshal(valueEq); 00180 monitor->affectSlide(user, tf, marked); 00181 00182 }
void zMonitorInfluence::setMarked | ( | Triad | mark | ) | [inline] |
void zMonitorInfluence::setInfluence | ( | tPolynomialMarshaler< nMessage > | infl | ) | [inline] |
Definition at line 199 of file zMonitor.h.
References influence.
00199 { 00200 influence = infl; 00201 }
void zMonitorInfluence::setInfluenceSlide | ( | tPolynomial< nMessage > | infl | ) | [inline] |
Definition at line 203 of file zMonitor.h.
References influenceSlide, and influenceSlideAvailable.
00203 { 00204 influenceSlide = infl; 00205 influenceSlideAvailable=true; 00206 };
zMonitorPtr zMonitorInfluence::monitor [private] |
tPolynomial<nMessage> zMonitorInfluence::influenceSlide [private] |
bool zMonitorInfluence::influenceSlideAvailable [private] |
Triad zMonitorInfluence::marked [private] |