GNU Radio's SATNOGS Package
|
Implements a bit shift register. More...
#include <shift_reg.h>
Public Member Functions | |
shift_reg (size_t len) | |
~shift_reg () | |
void | reset () |
void | set () |
size_t | len () const |
size_t | size () const |
size_t | count () |
shift_reg | operator| (const shift_reg &rhs) |
shift_reg | operator & (const shift_reg &rhs) |
shift_reg | operator^ (const shift_reg &rhs) |
shift_reg & | operator>>= (bool bit) |
bool & | operator[] (size_t pos) |
bool | operator[] (size_t pos) const |
shift_reg & | operator<<= (bool bit) |
void | push_front (bool bit) |
void | push_back (bool bit) |
bool | front () |
bool | back () |
Friends | |
std::ostream & | operator<< (std::ostream &os, const shift_reg ®) |
Implements a bit shift register.
gr::satnogs::shift_reg::shift_reg | ( | size_t | len | ) |
gr::satnogs::shift_reg::~shift_reg | ( | ) |
bool gr::satnogs::shift_reg::back | ( | ) |
size_t gr::satnogs::shift_reg::count | ( | ) |
bool gr::satnogs::shift_reg::front | ( | ) |
size_t gr::satnogs::shift_reg::len | ( | ) | const |
shift_reg& gr::satnogs::shift_reg::operator<<= | ( | bool | bit | ) |
shift_reg& gr::satnogs::shift_reg::operator>>= | ( | bool | bit | ) |
bool& gr::satnogs::shift_reg::operator[] | ( | size_t | pos | ) |
bool gr::satnogs::shift_reg::operator[] | ( | size_t | pos | ) | const |
void gr::satnogs::shift_reg::push_back | ( | bool | bit | ) |
void gr::satnogs::shift_reg::push_front | ( | bool | bit | ) |
void gr::satnogs::shift_reg::reset | ( | ) |
void gr::satnogs::shift_reg::set | ( | ) |
size_t gr::satnogs::shift_reg::size | ( | ) | const |
|
friend |