zMonitorInfluence Class Reference

#include <zMonitor.h>

Collaboration diagram for zMonitorInfluence:

Collaboration graph
[legend]

List of all members.

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< nMessageinfluence
tPolynomial< nMessageinfluenceSlide
bool influenceSlideAvailable
Triad marked


Detailed Description

Definition at line 175 of file zMonitor.h.


Constructor & Destructor Documentation

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]

Definition at line 192 of file zMonitor.h.

00192 { };


Member Function Documentation

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 }

Here is the call graph for this function:

void zMonitorInfluence::setMarked ( Triad  mark  )  [inline]

Definition at line 196 of file zMonitor.h.

References marked.

00196                                {
00197         marked = mark;
00198     };

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     };


Member Data Documentation

zMonitorPtr zMonitorInfluence::monitor [private]

Definition at line 176 of file zMonitor.h.

Referenced by apply().

tPolynomialMarshaler<nMessage> zMonitorInfluence::influence [private]

Definition at line 177 of file zMonitor.h.

Referenced by apply(), and setInfluence().

tPolynomial<nMessage> zMonitorInfluence::influenceSlide [private]

Definition at line 178 of file zMonitor.h.

Referenced by setInfluenceSlide().

bool zMonitorInfluence::influenceSlideAvailable [private]

Definition at line 180 of file zMonitor.h.

Referenced by setInfluenceSlide().

Triad zMonitorInfluence::marked [private]

Definition at line 182 of file zMonitor.h.

Referenced by apply(), and setMarked().


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