Belle II Software  release-08-01-10
StreamSizeCounter.cc
1 /**************************************************************************
2  * basf2 (Belle II Analysis Software Framework) *
3  * Author: The Belle II Collaboration *
4  * *
5  * See git log for contributors and copyright holders. *
6  * This file is licensed under LGPL-3.0, see LICENSE.md. *
7  **************************************************************************/
8 #include "daq/slc/system/StreamSizeCounter.h"
9 
10 using namespace Belle2;
11 
12 size_t StreamSizeCounter::write(const void*, size_t count)
13 {
14  m_count += count;
15  return count;
16 }
Abstract base class for different kinds of events.