Shaka Packager SDK
packager
media
formats
mp2t
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
shaka
{
13
namespace
media {
14
namespace
mp2t {
15
16
class
ContinuityCounter
{
17
public
:
18
ContinuityCounter
();
19
~
ContinuityCounter
();
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_
shaka
All the methods that are virtual are virtual for mocking.
Definition:
gflags_hex_bytes.cc:11
shaka::media::mp2t::ContinuityCounter::GetNext
int GetNext()
Definition:
continuity_counter.cc:16
shaka::media::mp2t::ContinuityCounter
Definition:
continuity_counter.h:16
Generated on Tue Jun 22 2021 00:16:04 for Shaka Packager SDK by
1.8.17