NOVA User-Level Environment
Version testbox/changed-memory-timing-317-g320d8b5
|
Packet consumer that supports variable sized packets. More...
#include <consumer.h>
Public Member Functions | |
unsigned | get_buffer (unsigned char *&buffer) |
Get a pointer to a the buffer and return the length of the buffer. | |
void | free_buffer () |
Public Member Functions inherited from Consumer< unsigned, SIZE > | |
bool | has_data () const |
unsigned * | get_buffer () |
Consumer () |
Private Types | |
typedef Consumer< unsigned, SIZE > | Parent |
Additional Inherited Members | |
Public Attributes inherited from Consumer< unsigned, SIZE > | |
volatile unsigned | _rpos |
volatile unsigned | _wpos |
unsigned | _buffer [SIZE] |
Packet consumer that supports variable sized packets.
|
private |
|
inline |
Reimplemented from Consumer< unsigned, SIZE >.
|
inline |
Get a pointer to a the buffer and return the length of the buffer.