|
OpenSDN source code
|
#include <label_block.h>

Public Member Functions | |
| LabelBlockManager () | |
| ~LabelBlockManager () | |
| LabelBlockPtr | LocateBlock (uint32_t first, uint32_t last) |
| void | RemoveBlock (LabelBlock *block) |
| tbb::mutex & | mutex () |
Private Types | |
| typedef std::vector< LabelBlock * > | LabelBlockList |
Private Member Functions | |
| size_t | size () |
Private Attributes | |
| tbb::atomic< int > | refcount_ |
| tbb::mutex | mutex_ |
| LabelBlockList | blocks_ |
Friends | |
| class | LabelBlockTest |
| void | intrusive_ptr_add_ref (LabelBlockManager *block_manager) |
| void | intrusive_ptr_release (LabelBlockManager *block_manager) |
Definition at line 30 of file label_block.h.
|
private |
Definition at line 43 of file label_block.h.
| LabelBlockManager::LabelBlockManager | ( | ) |
Definition at line 14 of file label_block.cc.
| LabelBlockManager::~LabelBlockManager | ( | ) |
Definition at line 18 of file label_block.cc.
| LabelBlockPtr LabelBlockManager::LocateBlock | ( | uint32_t | first, |
| uint32_t | last | ||
| ) |
Definition at line 22 of file label_block.cc.
|
inline |
Definition at line 36 of file label_block.h.
| void LabelBlockManager::RemoveBlock | ( | LabelBlock * | block | ) |
Definition at line 38 of file label_block.cc.
|
private |
Definition at line 49 of file label_block.cc.
|
friend |
Definition at line 55 of file label_block.h.
|
friend |
Definition at line 58 of file label_block.h.
|
friend |
Definition at line 39 of file label_block.h.
|
private |
Definition at line 52 of file label_block.h.
|
private |
Definition at line 51 of file label_block.h.
|
private |
Definition at line 47 of file label_block.h.