|
OpenSDN source code
|
#include <label_block.h>
Public Member Functions | |
| LabelBlockManager () | |
| ~LabelBlockManager () | |
| LabelBlockPtr | LocateBlock (uint32_t first, uint32_t last) |
| void | RemoveBlock (LabelBlock *block) |
| std::mutex & | mutex () |
Private Types | |
| typedef std::vector< LabelBlock * > | LabelBlockList |
Private Member Functions | |
| size_t | size () |
Private Attributes | |
| std::atomic< int > | refcount_ |
| std::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 31 of file label_block.h.
|
private |
Definition at line 44 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 37 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 56 of file label_block.h.
|
friend |
Definition at line 60 of file label_block.h.
|
friend |
Definition at line 40 of file label_block.h.
|
private |
Definition at line 53 of file label_block.h.
|
private |
Definition at line 52 of file label_block.h.
|
private |
Definition at line 48 of file label_block.h.