DASH Media Packaging SDK
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
continuity_counter.h
1 // Copyright 2016 Google Inc. 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/base/macros.h"
11 
12 namespace edash_packager {
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 edash_packager
34 
35 #endif // PACKAGER_MEDIA_FORMATS_MP2T_CONTINUITY_COUNTER_H_