Bitstream Interpretation Library (BIL)
0.1
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
bitstream
Type1Packet.cpp
Go to the documentation of this file.
1
6
#include <
bitstream/PacketVisitor.hpp
>
7
#include <
bitstream/Type1Packet.hpp
>
8
9
using namespace
bil;
10
11
12
Type1Packet::Type1Packet
():
13
m_registerAddress()
14
{
15
16
}
17
18
19
Type1Packet
*
Type1Packet::clone
()
const
20
{
21
return
new
Type1Packet
(*
this
);
22
}
23
24
25
void
Type1Packet::accept
(
PacketVisitor
& visitor)
const
26
{
27
visitor.
visit
(*
this
);
28
}
29
30
31
void
Type1Packet::registerAddress
(
RegisterAddress::address_t
address)
32
{
33
m_registerAddress = address;
34
}
35
36
37
RegisterAddress::address_t
Type1Packet::registerAddress
()
const
38
{
39
return
m_registerAddress;
40
}
41
42
43
void
Type1Packet::clear
()
44
{
45
Type2Packet::clear
();
46
m_registerAddress = 0;
47
}
Generated on Wed Aug 8 2012 21:57:40 for Bitstream Interpretation Library (BIL) by
1.8.1.1