csp::ChannelBufferFactoryImpl< DATA_TYPE, BUFFER_TYPE > Class Template Reference
[Channel Buffers]

Inheritance diagram for csp::ChannelBufferFactoryImpl< DATA_TYPE, BUFFER_TYPE >:

csp::ChannelBufferFactory< DATA_TYPE > List of all members.

Detailed Description

template<typename DATA_TYPE, typename BUFFER_TYPE>
class csp::ChannelBufferFactoryImpl< DATA_TYPE, BUFFER_TYPE >

A default implementation of ChannelBufferFactory for use with buffers that have default constructors.

See also:
InfiniteFIFOBuffer::Factory


Public Member Functions

virtual ChannelBuffer< DATA_TYPE > * createBuffer () const
 Returns a new instance of BUFFER_TYPE using its default constructor.


Member Function Documentation

template<typename DATA_TYPE, typename BUFFER_TYPE>
virtual ChannelBuffer<DATA_TYPE>* csp::ChannelBufferFactoryImpl< DATA_TYPE, BUFFER_TYPE >::createBuffer (  )  const [inline, virtual]

Returns a new instance of BUFFER_TYPE using its default constructor.

Implements csp::ChannelBufferFactory< DATA_TYPE >.


Generated on Mon Aug 20 12:24:28 2007 for C++CSP2 by  doxygen 1.4.7