#include <Packet.h>
Inheritance diagram for CPacketPool:
Public Member Functions | |
CPacketPool () | |
virtual | ~CPacketPool () |
CPacket * | New () |
void | Delete (CPacket *pPacket) |
Protected Member Functions | |
void | Clear () |
void | NewPool () |
virtual void | NewPoolImpl (int nSize, CPacket *&pPool, int &nPitch)=0 |
virtual void | FreePoolImpl (CPacket *pPool)=0 |
Protected Attributes | |
CPacket * | m_pFree |
DWORD | m_nFree |
CCriticalSection | m_pSection |
CPtrArray | m_pPools |
|
Definition at line 586 of file Packet.cpp. |
|
Definition at line 594 of file Packet.cpp. References Clear(). |
|
Definition at line 604 of file Packet.cpp. References FreePoolImpl(), m_nFree, m_pFree, m_pPools, and NULL. Referenced by CBTPacket::CBTPacketPool::~CBTPacketPool(), CEDPacket::CEDPacketPool::~CEDPacketPool(), CG1Packet::CG1PacketPool::~CG1PacketPool(), CG2Packet::CG2PacketPool::~CG2PacketPool(), and ~CPacketPool(). |
|
Definition at line 487 of file Packet.h. References m_nFree, CPacket::m_nReference, m_pFree, CPacket::m_pNext, m_pSection, and NULL. Referenced by CG2Packet::Delete(), CG1Packet::Delete(), CEDPacket::Delete(), and CBTPacket::Delete(). |
|
Implemented in CBTPacket::CBTPacketPool, CEDPacket::CEDPacketPool, CG1Packet::CG1PacketPool, and CG2Packet::CG2PacketPool. Referenced by Clear(). |
|
Definition at line 460 of file Packet.h. References CPacket::AddRef(), m_nFree, m_pFree, CPacket::m_pNext, m_pSection, NewPool(), and CPacket::Reset(). Referenced by CG2Packet::New(), CG1Packet::New(), CEDPacket::New(), and CBTPacket::New(). |
|
Definition at line 629 of file Packet.cpp. References m_nFree, m_pFree, CPacket::m_pNext, m_pPools, NewPoolImpl(), and NULL. Referenced by New(). |
|
Implemented in CBTPacket::CBTPacketPool, CEDPacket::CEDPacketPool, CG1Packet::CG1PacketPool, and CG2Packet::CG2PacketPool. Referenced by NewPool(). |
|
Definition at line 434 of file Packet.h. Referenced by Clear(), CPacketPool(), Delete(), New(), and NewPool(). |
|
Definition at line 433 of file Packet.h. Referenced by Clear(), CPacketPool(), Delete(), New(), and NewPool(). |
|
|
|
|