Public Member Functions | |
VectorMap () | |
unsigned int | size () const |
unsigned char | findKeyIndex (Key const key) const |
bool | indexUsed (unsigned char const index) const |
unsigned int | insert (Key const key) |
Public Attributes | |
Key | key_map [IND_MAP_SZ] |
Value | values [IND_MAP_SZ] |
Private Attributes | |
unsigned int | nextMapPosition |
Detailed Description
Definition at line 87 of file delay_pools.cc.
Constructor & Destructor Documentation
◆ VectorMap()
VectorMap< Key, Value >::VectorMap |
Definition at line 584 of file delay_pools.cc.
Member Function Documentation
◆ findKeyIndex()
unsigned char VectorMap< Key, Value >::findKeyIndex | ( | Key const | key | ) | const |
returns the used position, or the position to allocate
Definition at line 679 of file delay_pools.cc.
Referenced by VectorPool::id(), ClassCHostPool::id(), VectorPool::keyAllocated(), and ClassCHostPool::keyAllocated().
◆ indexUsed()
bool VectorMap< Key, Value >::indexUsed | ( | unsigned char const | index | ) | const |
Definition at line 671 of file delay_pools.cc.
References size.
Referenced by VectorPool::keyAllocated(), and ClassCHostPool::keyAllocated().
◆ insert()
Definition at line 596 of file delay_pools.cc.
References assert.
Referenced by VectorPool::id(), and ClassCHostPool::id().
◆ size()
Definition at line 589 of file delay_pools.cc.
Referenced by VectorPool::stats(), ClassCHostPool::stats(), VectorPool::update(), and ClassCHostPool::update().
Member Data Documentation
◆ key_map
Key VectorMap< Key, Value >::key_map[IND_MAP_SZ] |
Definition at line 99 of file delay_pools.cc.
Referenced by VectorPool::stats(), and ClassCHostPool::stats().
◆ nextMapPosition
Definition at line 103 of file delay_pools.cc.
◆ values
Value VectorMap< Key, Value >::values[IND_MAP_SZ] |
Definition at line 100 of file delay_pools.cc.
Referenced by VectorPool::id(), ClassCHostPool::id(), VectorPool::stats(), ClassCHostPool::stats(), VectorPool::update(), and ClassCHostPool::update().
The documentation for this class was generated from the following file:
- src/delay_pools.cc