src/network/nPriorizing.cpp File Reference

#include "nPriorizing.h"
#include "nNetwork.h"
#include "tMemManager.h"

Include dependency graph for nPriorizing.cpp:

Go to the source code of this file.

Classes

class  nBandwitdhDistributor
class  nBandwidthTaskMessage

Functions

 tDEFINE_REFOBJ (nBandwidthTask) tDEFINE_REFOBJ(nBandwidthArbitrator) void nBandwidthTask


Function Documentation

tDEFINE_REFOBJ ( nBandwidthTask   ) 

Definition at line 32 of file nPriorizing.cpp.

References tASSERT.

00036                  : small task that will eat away some bandwidth
00037 //*************************************************************************
00038 
00039 // sets the task type
00040 void nBandwidthTask::SetType ( nType t )
00041 {
00042     tASSERT( priorizer_ );
00043 
00044     this->RemoveFromHeap();
00045     type_ = t;
00046     priorizer_->Tasks( type_ ).Insert( this );
00047 }


Generated on Sat Mar 15 23:02:05 2008 for Armagetron Advanced by  doxygen 1.5.4