Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

ListMemBuf< T_t, MAX, idx_t >::entry_t Struct Reference

#include <ListMemBuf.h>

List of all members.


Detailed Description

template<class T_t, unsigned int MAX, class idx_t = unsigned short>
struct ListMemBuf< T_t, MAX, idx_t >::entry_t

holds data about an entry in the free/used lists

Definition at line 82 of file ListMemBuf.h.


Public Member Functions

 entry_t ()
 constructor

Public Attributes

double data [(sizeof(T)-1)/sizeof(double)+1]
 The data being stored, not actually an instantiation of T, but big enough to hold it. (Funky array size is to ensure proper alignment of contents).
index_t next
 The next element in the used or free chain.
index_t prev
 The previous element in the used chain, invalid if in the free chain.

Constructor & Destructor Documentation

template<class T_t, unsigned int MAX, class idx_t = unsigned short>
ListMemBuf< T_t, MAX, idx_t >::entry_t::entry_t (  )  [inline]

constructor

Definition at line 84 of file ListMemBuf.h.


Member Data Documentation

template<class T_t, unsigned int MAX, class idx_t = unsigned short>
double ListMemBuf< T_t, MAX, idx_t >::entry_t::data[(sizeof(T)-1)/sizeof(double)+1]


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

Tekkotsu v4.0
Generated Thu Nov 22 00:58:28 2007 by Doxygen 1.5.4