Bitstream Interpretation Library (BIL)
0.1
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
bitstream
V5BitstreamDeviceDetector.hpp
Go to the documentation of this file.
1
6
#pragma once
7
#ifndef BIL_V5BITSTREAMDEVICEDETECTOR_HPP
8
#define BIL_V5BITSTREAMDEVICEDETECTOR_HPP
9
10
#include <
deviceinfo/DeviceID.hpp
>
11
#include <
bitstream/V5BitstreamSyntaxChecker.hpp
>
12
13
14
namespace
bil {
15
16
class
Bitstream;
17
18
30
class
V5BitstreamDeviceDetector
:
public
V5BitstreamSyntaxChecker
{
31
public
:
32
33
/**********************************************************************/
34
/* CONSTRUCTION / DESTRUCTION */
35
/**********************************************************************/
36
37
V5BitstreamDeviceDetector
();
38
39
40
/**********************************************************************/
41
/* DETECTION STATE */
42
/**********************************************************************/
43
51
DeviceID::ID_t
deviceID
()
const
;
52
56
virtual
void
reset
();
57
58
59
/**********************************************************************/
60
/* VISITING METHODS */
61
/**********************************************************************/
62
68
virtual
void
visit
(
const
Type1Packet
& type1Packet);
69
75
virtual
void
visit
(
const
Type2Packet
& type2Packet);
76
77
78
protected
:
79
89
void
checkDeviceID
(
const
Type2Packet
& type2Packet);
90
91
92
private
:
93
94
DeviceID::ID_t
m_id;
95
96
};
97
103
DeviceID::ID_t
detectV5DeviceType
(
Bitstream
& bitstream);
104
105
}
106
107
#endif
Generated on Wed Aug 8 2012 21:57:40 for Bitstream Interpretation Library (BIL) by
1.8.1.1