Shaka Packager SDK
continuity_counter.h
1 // Copyright 2016 Google LLC. All rights reserved.
2 //
3 // Use of this source code is governed by a BSD-style
4 // license that can be found in the LICENSE file or at
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef PACKAGER_MEDIA_FORMATS_MP2T_CONTINUITY_COUNTER_H_
8 #define PACKAGER_MEDIA_FORMATS_MP2T_CONTINUITY_COUNTER_H_
9 
10 #include <packager/macros/classes.h>
11 
12 namespace shaka {
13 namespace media {
14 namespace mp2t {
15 
17  public:
20 
24  int GetNext();
25 
26  private:
27  int counter_ = 0;
28  DISALLOW_COPY_AND_ASSIGN(ContinuityCounter);
29 };
30 
31 } // namespace mp2t
32 } // namespace media
33 } // namespace shaka
34 
35 #endif // PACKAGER_MEDIA_FORMATS_MP2T_CONTINUITY_COUNTER_H_
All the methods that are virtual are virtual for mocking.
Definition: crypto_flags.cc:66