//------------------------------------------------------------------------------------- Bundle::SmartPoolObjectPtr Bundle::createSmartPoolObj() { return SmartPoolObjectPtr(new SmartPoolObject<Bundle>(ObjPool().createObject(), _g_objPool)); }
//------------------------------------------------------------------------------------- TCPPacket::SmartPoolObjectPtr TCPPacket::createSmartPoolObj() { return SmartPoolObjectPtr(new SmartPoolObject<TCPPacket>(ObjPool().createObject(), _g_objPool)); }
//------------------------------------------------------------------------------------- UDPPacketReceiver::SmartPoolObjectPtr UDPPacketReceiver::createSmartPoolObj() { return SmartPoolObjectPtr(new SmartPoolObject<UDPPacketReceiver>(ObjPool().createObject(), _g_objPool)); }
//------------------------------------------------------------------------------------- TCPPacket::SmartPoolObjectPtr TCPPacket::createSmartPoolObj(const std::string& logPoint) { return SmartPoolObjectPtr(new SmartPoolObject<TCPPacket>(ObjPool().createObject(logPoint), _g_objPool)); }
//------------------------------------------------------------------------------------- Witness::SmartPoolObjectPtr Witness::createSmartPoolObj() { return SmartPoolObjectPtr(new SmartPoolObject<Witness>(ObjPool().createObject(), _g_objPool)); }
//------------------------------------------------------------------------------------- MemoryStream::SmartPoolObjectPtr MemoryStream::createSmartPoolObj() { return SmartPoolObjectPtr(new SmartPoolObject<MemoryStream>(ObjPool().createObject(), _g_objPool)); }
//------------------------------------------------------------------------------------- EntityRef::SmartPoolObjectPtr EntityRef::createSmartPoolObj() { return SmartPoolObjectPtr(new SmartPoolObject<EntityRef>(ObjPool().createObject(), _g_objPool)); }