/**@file Declarations for common-use control-layer functions. */ /* * Copyright 2014 Range Networks, Inc. * * This software is distributed under multiple licenses; * see the COPYING file in the main directory for licensing * information for this specific distribution. * * This use of this software may be subject to additional restrictions. * See the LEGAL file in the main directory for details. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. */ #define LOG_GROUP LogGroup::Control #include "PagingEntry.h" #include "L3MMLayer.h" #include namespace Control { NewPagingEntry::~NewPagingEntry() { if (mImmAssign) { delete mImmAssign; } } GSM::ChannelType NewPagingEntry::getGsmChanType() const { return mInitialChanType; } // This does a lot of mallocing. L3MobileIdentity NewPagingEntry::getMobileId() { if (! mCheckedForTmsi) { mCheckedForTmsi = true; if (! mTmsi.valid()) { uint32_t tmsi = gTMSITable.tmsiTabGetTMSI(mImsi,true); LOG(DEBUG)<<"tmsiTabGetTMSI imsi="<text(); return os; } };