#include <qrsequence.h>
Definition at line 32 of file qrsequence.h.
◆ QRSequenceGenerator()
QRSequenceGenerator::QRSequenceGenerator |
( |
int |
N | ) |
|
|
inlineexplicit |
◆ GetBinaryReversedInteger()
int QRSequenceGenerator::GetBinaryReversedInteger |
( |
int |
in_val | ) |
const |
|
inlineprotected |
Definition at line 58 of file qrsequence.h.
63 out_val |= (in_val & 0x1);
◆ GetVal()
int QRSequenceGenerator::GetVal |
( |
| ) |
|
|
inline |
Definition at line 41 of file qrsequence.h.
42 const int kInvalidVal = -1;
43 const int kMaxNaturalNumberValue = 1 <<
num_bits_;
48 while (
next_num_ < kMaxNaturalNumberValue) {
52 return (
next_num_ > kMaxNaturalNumberValue) ? kInvalidVal : n;
◆ N_
int QRSequenceGenerator::N_ |
|
protected |
◆ next_num_
int QRSequenceGenerator::next_num_ |
|
protected |
◆ num_bits_
int QRSequenceGenerator::num_bits_ |
|
protected |
The documentation for this class was generated from the following file: