00001 #pragma once
00002
00003 #include "ModelBandwidth.h"
00004
00005 class CModelBandwidthBins : public CModelBandwidth
00006 {
00007 private:
00008 __uint32 binsCount;
00009 double* binsFraction;
00010 __bitrate* binsBandwidth;
00011
00012 public:
00013 CModelBandwidthBins(
00014 __uint32 binsCount,
00015 double* binsFraction,
00016 __bitrate* binsBandwidth
00017 );
00018 virtual ~CModelBandwidthBins() { }
00019
00020 virtual __bitrate Bandwidth(__uint32 peer);
00021 };