Move inline code in pf-ff-mac-schedluer to cc file

This commit is contained in:
mmiozzo
2011-03-31 17:19:00 +02:00
parent e455da9754
commit 667b4a0066
2 changed files with 16 additions and 3 deletions

View File

@@ -40,6 +40,20 @@ int PfType0AllocationRbg[4] = {
NS_OBJECT_ENSURE_REGISTERED (PfFfMacScheduler);
bool
operator< (const pfsFlowId_t& lhs, const pfsFlowId_t& rhs)
{
if (lhs.m_rnti == rhs.m_rnti)
{
return (lhs.m_lcId < rhs.m_lcId);
}
else
{
return (lhs.m_rnti < rhs.m_rnti);
}
}
class PfSchedulerMemberCschedSapProvider : public FfMacCschedSapProvider
{
public:

View File

@@ -36,11 +36,10 @@ struct pfsFlowId_t
{
uint16_t m_rnti;
uint8_t m_lcId;
bool operator<(const pfsFlowId_t& A) const
{ return m_rnti<A.m_rnti; }
};
bool operator< (const pfsFlowId_t& lhs, const pfsFlowId_t& rhs);
struct pfsFlowPerf_t
{
Time flowStart;