OpenDDS::DCPS::BasicQueueLinkChunk< T > Struct Template Reference

#include <BasicQueueLinkChunk_T.h>

Inheritance diagram for OpenDDS::DCPS::BasicQueueLinkChunk< T >:

Inheritance graph
[legend]
Collaboration diagram for OpenDDS::DCPS::BasicQueueLinkChunk< T >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef BasicQueueLink< T > LinkType

Public Member Functions

 BasicQueueLinkChunk (size_t chunk_size)
 ~BasicQueueLinkChunk ()

Public Attributes

LinkTypelinks_
 The array of LinkType objects in this chunk.
BasicQueueLinkChunk< T > * next_
 The next chunk (or 0 if this is the last chunk).

Detailed Description

template<typename T>
struct OpenDDS::DCPS::BasicQueueLinkChunk< T >

Definition at line 20 of file BasicQueueLinkChunk_T.h.


Member Typedef Documentation

template<typename T>
typedef BasicQueueLink<T> OpenDDS::DCPS::BasicQueueLinkChunk< T >::LinkType

Definition at line 21 of file BasicQueueLinkChunk_T.h.


Constructor & Destructor Documentation

template<typename T>
OpenDDS::DCPS::BasicQueueLinkChunk< T >::BasicQueueLinkChunk ( size_t  chunk_size  )  [inline]

Definition at line 23 of file BasicQueueLinkChunk_T.h.

References OpenDDS::DCPS::BasicQueueLinkChunk< T >::links_.

00024     : next_(0)
00025   {
00026     links_ = new LinkType[chunk_size];
00027   }

template<typename T>
OpenDDS::DCPS::BasicQueueLinkChunk< T >::~BasicQueueLinkChunk (  )  [inline]

Definition at line 29 of file BasicQueueLinkChunk_T.h.

References OpenDDS::DCPS::BasicQueueLinkChunk< T >::links_.

00029                          {
00030     delete [] links_;
00031   }


Member Data Documentation

template<typename T>
LinkType* OpenDDS::DCPS::BasicQueueLinkChunk< T >::links_

The array of LinkType objects in this chunk.

Definition at line 34 of file BasicQueueLinkChunk_T.h.

Referenced by OpenDDS::DCPS::BasicQueueLinkChunk< T >::BasicQueueLinkChunk(), OpenDDS::DCPS::BasicQueueLinkAllocator< T >::grow(), and OpenDDS::DCPS::BasicQueueLinkChunk< T >::~BasicQueueLinkChunk().

template<typename T>
BasicQueueLinkChunk<T>* OpenDDS::DCPS::BasicQueueLinkChunk< T >::next_

The next chunk (or 0 if this is the last chunk).

Definition at line 37 of file BasicQueueLinkChunk_T.h.

Referenced by OpenDDS::DCPS::BasicQueueLinkAllocator< T >::grow(), and OpenDDS::DCPS::BasicQueueLinkAllocator< T >::~BasicQueueLinkAllocator().


The documentation for this struct was generated from the following file:
Generated on Fri Feb 12 20:06:26 2016 for OpenDDS by  doxygen 1.4.7