#include <pool_mgr.hh>

Public Types | |
| typedef unsigned long | select_type |
| typedef unsigned long | bufclass_type |
Public Member Functions | |
| pool_mgr (void) | |
| constructor. | |
| virtual | ~pool_mgr (void) |
| constructor. | |
| virtual bufclass_type | get_buffer_class (select_type selid) const =0 |
| Chose a buffer class. | |
| virtual buffer * | get_buffer (select_type selclass)=0 |
| Chose a buffer class. | |
| virtual buffer * | get_buffer_now (select_type selclass)=0 |
| Chose a buffer class. | |
Abstract class to manage pools of buffers of different lengths.
| typedef unsigned long sends::pool_mgr::select_type |
Type of data used to select a buffer class.
| typedef unsigned long sends::pool_mgr::bufclass_type |
Type of data use to represent a buffer class.
| sends::pool_mgr::pool_mgr | ( | void | ) | [inline] |
constructor.
Construct a pool manager.
| virtual sends::pool_mgr::~pool_mgr | ( | void | ) | [inline, virtual] |
constructor.
Construct a pool manager.
| virtual bufclass_type sends::pool_mgr::get_buffer_class | ( | select_type | selid | ) | const [pure virtual] |
| virtual buffer* sends::pool_mgr::get_buffer | ( | select_type | selclass | ) | [pure virtual] |
| virtual buffer* sends::pool_mgr::get_buffer_now | ( | select_type | selclass | ) | [pure virtual] |
1.5.5