4#ifndef ENGINE_SERVER_SNAP_ID_POOL_H
5#define ENGINE_SERVER_SNAP_ID_POOL_H
Definition: snap_id_pool.h:23
short m_Next
Definition: snap_id_pool.h:25
int m_Timeout
Definition: snap_id_pool.h:27
short m_State
Definition: snap_id_pool.h:26
Definition: snap_id_pool.h:8
int m_InUsage
Definition: snap_id_pool.h:36
CSnapIdPool()
Definition: snap_id_pool.cpp:8
void TimeoutIds()
Definition: snap_id_pool.cpp:67
void FreeId(int Id)
Definition: snap_id_pool.cpp:74
int m_FirstFree
Definition: snap_id_pool.h:32
int m_LastTimed
Definition: snap_id_pool.h:34
int m_Usage
Definition: snap_id_pool.h:35
int m_FirstTimed
Definition: snap_id_pool.h:33
@ MAX_IDS
Definition: snap_id_pool.h:11
int NewId()
Definition: snap_id_pool.cpp:46
void RemoveFirstTimeout()
Definition: snap_id_pool.cpp:29
@ ID_TIMED
Definition: snap_id_pool.h:19
@ ID_FREE
Definition: snap_id_pool.h:17
@ ID_ALLOCATED
Definition: snap_id_pool.h:18
CID m_aIds[MAX_IDS]
Definition: snap_id_pool.h:30
void Reset()
Definition: snap_id_pool.cpp:13