NOVA User-Level Environment  Version testbox/changed-memory-timing-317-g320d8b5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Consumer< T, SIZE > Class Template Reference

Consumer with fixed items. More...

#include <consumer.h>

Public Member Functions

bool has_data () const
T * get_buffer ()
void free_buffer ()
 Consumer ()

Public Attributes

volatile unsigned _rpos
volatile unsigned _wpos
_buffer [SIZE]

Detailed Description

template<typename T, unsigned SIZE>
class Consumer< T, SIZE >

Consumer with fixed items.

Constructor & Destructor Documentation

template<typename T, unsigned SIZE>
Consumer< T, SIZE >::Consumer ( )
inline

Member Function Documentation

template<typename T, unsigned SIZE>
void Consumer< T, SIZE >::free_buffer ( )
inline

Reimplemented in PacketConsumer< SIZE >.

template<typename T, unsigned SIZE>
T* Consumer< T, SIZE >::get_buffer ( )
inline
template<typename T, unsigned SIZE>
bool Consumer< T, SIZE >::has_data ( ) const
inline

Member Data Documentation

template<typename T, unsigned SIZE>
T Consumer< T, SIZE >::_buffer[SIZE]
template<typename T, unsigned SIZE>
volatile unsigned Consumer< T, SIZE >::_rpos
template<typename T, unsigned SIZE>
volatile unsigned Consumer< T, SIZE >::_wpos

The documentation for this class was generated from the following file: