#include <BFifo.h>
Public Member Functions | |
BFifoPos (uint32_t size) | |
void | setSize (uint32_t size) |
void | set (uint32_t pos) |
Sets the position. | |
uint32_t | pos () |
The current position. | |
void | increment (uint32_t numFifoSamples) |
Increment the pointer by the given value. | |
uint32_t | difference (const BFifoPos &pos) |
Return the difference between the two pointers. | |
operator int () | |
void | operator+= (uint32_t numFifoSamples) |
int | operator== (const BFifoPos &pos) |
int | operator!= (const BFifoPos &pos) |
Private Attributes | |
uint32_t | osize |
uint32_t | opos |
BFifoPos::BFifoPos | ( | uint32_t | size | ) |
uint32_t BFifoPos::difference | ( | const BFifoPos & | pos | ) |
Return the difference between the two pointers.
void BFifoPos::increment | ( | uint32_t | numFifoSamples | ) |
Increment the pointer by the given value.
BFifoPos::operator int | ( | ) |
int BFifoPos::operator!= | ( | const BFifoPos & | pos | ) |
void BFifoPos::operator+= | ( | uint32_t | numFifoSamples | ) |
int BFifoPos::operator== | ( | const BFifoPos & | pos | ) |
uint32_t BFifoPos::pos | ( | ) |
The current position.
void BFifoPos::set | ( | uint32_t | pos | ) |
Sets the position.
void BFifoPos::setSize | ( | uint32_t | size | ) |
uint32_t BFifoPos::opos [private] |
uint32_t BFifoPos::osize [private] |