Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

FF::detail::Queue Class Reference

#include <FileFragments.hpp>

List of all members.

Public Types

typedef Fragment< EmptyType,
u64
FragmentType
typedef std::list< FragmentTypeContainerType
typedef FragmentType::SizeType FSizeType
typedef FragmentType::PayloadType PayloadType
typedef FragmentType::Traits Traits
typedef ContainerType::value_type ValueType
typedef ContainerType::pointer Pointer
typedef ContainerType::const_pointer ConstPointer
typedef ContainerType::reference Reference
typedef ContainerType::const_reference ConstReference
typedef ContainerType::iterator Iterator
typedef ContainerType::const_iterator ConstIterator
typedef ContainerType::reverse_iterator ReverseIterator
typedef ContainerType::const_reverse_iterator ConstReverseIterator
typedef ContainerType::size_type SizeType
typedef ContainerType::difference_type DifferenceType
typedef ValueType value_type
typedef Pointer pointer
typedef ConstPointer const_pointer
typedef Reference reference
typedef ConstReference const_reference
typedef Iterator iterator
typedef ConstIterator const_iterator
typedef ReverseIterator reverse_iterator
typedef ConstReverseIterator const_reverse_iterator
typedef SizeType size_type
typedef DifferenceType difference_type

Public Member Functions

Iterator begin ()
ConstIterator begin () const
Iterator end ()
ConstIterator end () const
ReverseIterator rbegin ()
ConstReverseIterator rbegin () const
ReverseIterator rend ()
ConstReverseIterator rend () const
SizeType size () const
bool empty () const
void clear ()
void pushBack (const FragmentType &insertFragment)
void push_back (const FragmentType &insertFragment)
template<typename InputIterator>
void insert (InputIterator first, InputIterator last)
void erase (const FragmentType &eraseFragment)
template<typename InputIterator>
void erase (InputIterator first, InputIterator last)
Iterator erase (Iterator where)
void popFront ()
void pop_front ()
void swap (Queue &rhs)

Private Attributes

ContainerType s_


Member Typedef Documentation

typedef ConstIterator FF::detail::Queue::const_iterator
 

Definition at line 1006 of file FileFragments.hpp.

typedef ConstPointer FF::detail::Queue::const_pointer
 

Definition at line 1002 of file FileFragments.hpp.

typedef ConstReference FF::detail::Queue::const_reference
 

Definition at line 1004 of file FileFragments.hpp.

typedef ConstReverseIterator FF::detail::Queue::const_reverse_iterator
 

Definition at line 1008 of file FileFragments.hpp.

typedef ContainerType::const_iterator FF::detail::Queue::ConstIterator
 

Definition at line 995 of file FileFragments.hpp.

typedef ContainerType::const_pointer FF::detail::Queue::ConstPointer
 

Definition at line 991 of file FileFragments.hpp.

typedef ContainerType::const_reference FF::detail::Queue::ConstReference
 

Definition at line 993 of file FileFragments.hpp.

typedef ContainerType::const_reverse_iterator FF::detail::Queue::ConstReverseIterator
 

Definition at line 997 of file FileFragments.hpp.

typedef std::list< FragmentType > FF::detail::Queue::ContainerType
 

Definition at line 985 of file FileFragments.hpp.

typedef DifferenceType FF::detail::Queue::difference_type
 

Definition at line 1010 of file FileFragments.hpp.

typedef ContainerType::difference_type FF::detail::Queue::DifferenceType
 

Definition at line 999 of file FileFragments.hpp.

typedef Fragment< EmptyType, u64 > FF::detail::Queue::FragmentType
 

Definition at line 984 of file FileFragments.hpp.

typedef FragmentType::SizeType FF::detail::Queue::FSizeType
 

Definition at line 986 of file FileFragments.hpp.

typedef Iterator FF::detail::Queue::iterator
 

Definition at line 1005 of file FileFragments.hpp.

typedef ContainerType::iterator FF::detail::Queue::Iterator
 

Definition at line 994 of file FileFragments.hpp.

typedef FragmentType::PayloadType FF::detail::Queue::PayloadType
 

Definition at line 987 of file FileFragments.hpp.

typedef Pointer FF::detail::Queue::pointer
 

Definition at line 1001 of file FileFragments.hpp.

typedef ContainerType::pointer FF::detail::Queue::Pointer
 

Definition at line 990 of file FileFragments.hpp.

typedef Reference FF::detail::Queue::reference
 

Definition at line 1003 of file FileFragments.hpp.

typedef ContainerType::reference FF::detail::Queue::Reference
 

Definition at line 992 of file FileFragments.hpp.

typedef ReverseIterator FF::detail::Queue::reverse_iterator
 

Definition at line 1007 of file FileFragments.hpp.

typedef ContainerType::reverse_iterator FF::detail::Queue::ReverseIterator
 

Definition at line 996 of file FileFragments.hpp.

typedef SizeType FF::detail::Queue::size_type
 

Definition at line 1009 of file FileFragments.hpp.

typedef ContainerType::size_type FF::detail::Queue::SizeType
 

Definition at line 998 of file FileFragments.hpp.

typedef FragmentType::Traits FF::detail::Queue::Traits
 

Definition at line 988 of file FileFragments.hpp.

typedef ValueType FF::detail::Queue::value_type
 

Definition at line 1000 of file FileFragments.hpp.

typedef ContainerType::value_type FF::detail::Queue::ValueType
 

Definition at line 989 of file FileFragments.hpp.


Member Function Documentation

ConstIterator FF::detail::Queue::begin  )  const [inline]
 

Definition at line 1022 of file FileFragments.hpp.

Iterator FF::detail::Queue::begin  )  [inline]
 

Definition at line 1021 of file FileFragments.hpp.

Referenced by CUploadTransferED2K::AddRequest(), CDownloadTransferBT::OnChoked(), CUploadTransferBT::OnRequest(), CUploadTransferBT::ServeRequests(), CUploadTransferED2K::StartNextRequest(), CDownloadTransferED2K::SubtractRequested(), CDownloadTransferBT::SubtractRequested(), and CDownloadTransferBT::UnrequestRange().

void FF::detail::Queue::clear  )  [inline]
 

Definition at line 1035 of file FileFragments.hpp.

Referenced by CUploadTransferED2K::Cleanup(), CDownloadTransferED2K::ClearRequests(), CUploadTransferBT::Close(), CDownloadTransferBT::OnChoked(), CUploadTransferED2K::OnDropped(), CDownloadTransferBT::OnUnchoked(), CUploadTransferBT::SetChoke(), and CDownloadTransferBT::ShowInterest().

bool FF::detail::Queue::empty  )  const [inline]
 

Definition at line 1033 of file FileFragments.hpp.

Referenced by CDownloadTransferED2K::SendFragmentRequests(), CDownloadTransferBT::SendRequests(), CUploadTransferBT::ServeRequests(), CUploadTransferED2K::StartNextRequest(), CDownloadTransferBT::SubtractRequested(), and CDownloadTransferBT::UnrequestRange().

ConstIterator FF::detail::Queue::end  )  const [inline]
 

Definition at line 1024 of file FileFragments.hpp.

Iterator FF::detail::Queue::end  )  [inline]
 

Definition at line 1023 of file FileFragments.hpp.

Referenced by CUploadTransferED2K::AddRequest(), CDownloadTransferBT::OnChoked(), CUploadTransferBT::OnRequest(), CUploadTransferBT::ServeRequests(), CUploadTransferED2K::StartNextRequest(), CDownloadTransferED2K::SubtractRequested(), CDownloadTransferBT::SubtractRequested(), and CDownloadTransferBT::UnrequestRange().

Iterator FF::detail::Queue::erase Iterator  where  )  [inline]
 

Definition at line 1100 of file FileFragments.hpp.

template<typename InputIterator>
void FF::detail::Queue::erase InputIterator  first,
InputIterator  last
[inline]
 

Definition at line 1096 of file FileFragments.hpp.

void FF::detail::Queue::erase const FragmentType eraseFragment  )  [inline]
 

Definition at line 1052 of file FileFragments.hpp.

Referenced by CUploadTransferBT::OnCancel(), CDownloadTransferED2K::OnCompressedPart(), CDownloadTransferBT::OnPiece(), and CDownloadTransferED2K::OnSendingPart().

template<typename InputIterator>
void FF::detail::Queue::insert InputIterator  first,
InputIterator  last
[inline]
 

Definition at line 1048 of file FileFragments.hpp.

void FF::detail::Queue::pop_front  )  [inline]
 

Definition at line 1105 of file FileFragments.hpp.

void FF::detail::Queue::popFront  )  [inline]
 

Definition at line 1104 of file FileFragments.hpp.

Referenced by CUploadTransferBT::ServeRequests(), and CUploadTransferED2K::StartNextRequest().

void FF::detail::Queue::push_back const FragmentType insertFragment  )  [inline]
 

Definition at line 1043 of file FileFragments.hpp.

void FF::detail::Queue::pushBack const FragmentType insertFragment  )  [inline]
 

Definition at line 1039 of file FileFragments.hpp.

Referenced by CUploadTransferED2K::AddRequest(), CUploadTransferED2K::CheckFinishedRequest(), CUploadTransferBT::OnRequest(), CDownloadTransferED2K::SendFragmentRequests(), CDownloadTransferBT::SendRequests(), and CUploadTransferBT::ServeRequests().

ConstReverseIterator FF::detail::Queue::rbegin  )  const [inline]
 

Definition at line 1026 of file FileFragments.hpp.

ReverseIterator FF::detail::Queue::rbegin  )  [inline]
 

Definition at line 1025 of file FileFragments.hpp.

ConstReverseIterator FF::detail::Queue::rend  )  const [inline]
 

Definition at line 1028 of file FileFragments.hpp.

ReverseIterator FF::detail::Queue::rend  )  [inline]
 

Definition at line 1027 of file FileFragments.hpp.

SizeType FF::detail::Queue::size  )  const [inline]
 

Definition at line 1031 of file FileFragments.hpp.

Referenced by CDownloadTransferED2K::SendFragmentRequests(), and CDownloadTransferBT::SendRequests().

void FF::detail::Queue::swap Queue rhs  )  [inline]
 

Definition at line 1108 of file FileFragments.hpp.


Member Data Documentation

ContainerType FF::detail::Queue::s_ [private]
 

Definition at line 1114 of file FileFragments.hpp.


The documentation for this class was generated from the following file:
Generated on Thu Dec 15 10:40:15 2005 for Shareaza 2.2.1.0 by  doxygen 1.4.2