Inheritance diagram for csp::SizedChannelBufferFactoryImpl< DATA_TYPE, BUFFER_TYPE >:
Public Member Functions | |
virtual ChannelBuffer< DATA_TYPE > * | createBuffer () const |
Returns a new instance of BUFFER_TYPE using a constructor that takes an integer size argument. | |
SizedChannelBufferFactoryImpl (unsigned _size) | |
Creates a buffer factory that will create buffers of the specified size. |
csp::SizedChannelBufferFactoryImpl< DATA_TYPE, BUFFER_TYPE >::SizedChannelBufferFactoryImpl | ( | unsigned | _size | ) | [inline] |
Creates a buffer factory that will create buffers of the specified size.
_size | The size argument to pass to the constructor of new instances of BUFFER_TYPE |
virtual ChannelBuffer<DATA_TYPE>* csp::SizedChannelBufferFactoryImpl< DATA_TYPE, BUFFER_TYPE >::createBuffer | ( | ) | const [inline, virtual] |
Returns a new instance of BUFFER_TYPE using a constructor that takes an integer size argument.
Implements csp::ChannelBufferFactory< DATA_TYPE >.