downloadlist.cpp File Reference

Implementation of Download and DownloadList classes. More...

#include <hn/hnprec.h>
#include "downloadlist.h"
#include "clients.h"
#include "clientext.h"
#include <hn/fileslist.h>
#include <hn/sharedfile.h>
#include <hn/metadata.h>
#include <hn/partdata.h>
#include <boost/lambda/bind.hpp>
#include <boost/multi_index_container.hpp>
#include <boost/multi_index/key_extractors.hpp>
#include <boost/multi_index/ordered_index.hpp>

Go to the source code of this file.


Namespaces

namespace  Detail

Typedefs

typedef MIDownloadList::nth_index<
ID_PD >::type::iterator 
Iter
typedef MIDownloadList::nth_index<
ID_Download >::type::iterator 
DIter
typedef MIDownloadList::nth_index<
ID_SrcCnt >::type::iterator 
SrcCIter
typedef MIDownloadList::nth_index<
ID_UdpQTime >::type::iterator 
QTIter

Enumerations

enum  {
  ID_PD, ID_Download, ID_Hash, ID_SrcCnt,
  ID_UdpQTime
}

Functions

const std::string TRACE_SRCEXCH ("SourceExchange")

Variables

DownloadLists_downloadList = 0

Detailed Description

Implementation of Download and DownloadList classes.

Definition in file downloadlist.cpp.


Typedef Documentation

typedef MIDownloadList::nth_index<ID_PD>::type::iterator Detail::Iter
 

Definition at line 147 of file downloadlist.cpp.

typedef MIDownloadList::nth_index<ID_Download>::type::iterator Detail::DIter
 

Definition at line 148 of file downloadlist.cpp.

typedef MIDownloadList::nth_index<ID_SrcCnt>::type::iterator Detail::SrcCIter
 

Definition at line 150 of file downloadlist.cpp.

typedef MIDownloadList::nth_index<ID_UdpQTime>::type::iterator Detail::QTIter
 

Definition at line 151 of file downloadlist.cpp.


Enumeration Type Documentation

anonymous enum
 

Enumeration values:
ID_PD 
ID_Download 
ID_Hash 
ID_SrcCnt 
ID_UdpQTime 

Definition at line 146 of file downloadlist.cpp.


Function Documentation

const std::string TRACE_SRCEXCH "SourceExchange"   ) 
 


Variable Documentation

DownloadList* s_downloadList = 0
 

Definition at line 170 of file downloadlist.cpp.

Referenced by DownloadList::instance(), and DownloadList::~DownloadList().