Twitch SDK (Internal)
bandwidthreport.h
Go to the documentation of this file.
1 /********************************************************************************************
2 * Twitch Broadcasting SDK
3 *
4 * This software is supplied under the terms of a license agreement with Twitch Interactive, Inc. and
5 * may not be copied or used except in accordance with the terms of that agreement
6 * Copyright (c) 2012-2016 Twitch Interactive, Inc.
7 *********************************************************************************************/
8 
9 #pragma once
10 
12 
13 namespace ttv
14 {
15  namespace broadcast
16  {
17  class BandwidthReport;
18  }
19 }
20 
25 {
26 public:
27  virtual void ReceivedBandwidthStat(const BandwidthStat& stat) override;
28  std::string DumpCsvData();
29  void Clear();
30 
31 private:
32  std::deque<BandwidthStat> mStats;
33 };
Definition: broadcasttypes.h:240
std::deque< BandwidthStat > mStats
Definition: bandwidthreport.h:32
Definition: bandwidthreport.h:24
Definition: broadcastlistener.h:107
JSON (JavaScript Object Notation).
Definition: adsapi.h:16
virtual void ReceivedBandwidthStat(const BandwidthStat &stat) override