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

CTransferFiles Class Reference

#include <TransferFile.h>

List of all members.

Public Member Functions

 CTransferFiles ()
virtual ~CTransferFiles ()
CTransferFileOpen (LPCTSTR pszFile, BOOL bWrite, BOOL bCreate)
void Close ()
void CommitDeferred ()

Public Attributes

CCriticalSection m_pSection
CMapStringToPtr m_pMap
CPtrList m_pDeferred

Protected Member Functions

void QueueDeferred (CTransferFile *pFile)
void Remove (CTransferFile *pFile)

Friends

class CTransferFile


Constructor & Destructor Documentation

CTransferFiles::CTransferFiles  ) 
 

Definition at line 38 of file TransferFile.cpp.

CTransferFiles::~CTransferFiles  )  [virtual]
 

Definition at line 42 of file TransferFile.cpp.

References Close().


Member Function Documentation

void CTransferFiles::Close  ) 
 

Definition at line 80 of file TransferFile.cpp.

References m_pDeferred, m_pMap, and m_pSection.

Referenced by ~CTransferFiles().

void CTransferFiles::CommitDeferred  ) 
 

Definition at line 100 of file TransferFile.cpp.

References CTransferFile::DeferredWrite(), m_pDeferred, and m_pSection.

Referenced by CTransfers::OnRun().

CTransferFile * CTransferFiles::Open LPCTSTR  pszFile,
BOOL  bWrite,
BOOL  bCreate
 

Definition at line 50 of file TransferFile.cpp.

References CTransferFile, m_pMap, m_pSection, and NULL.

Referenced by CFragmentedFile::Create(), CUploadTransfer::OnRename(), CFragmentedFile::Open(), CUploadTransferED2K::OpenFile(), CUploadTransferBT::OpenFile(), and CUploadTransferHTTP::OpenFileSendHeaders().

void CTransferFiles::QueueDeferred CTransferFile pFile  )  [protected]
 

Definition at line 116 of file TransferFile.cpp.

References m_pDeferred, and NULL.

Referenced by CTransferFile::Write().

void CTransferFiles::Remove CTransferFile pFile  )  [protected]
 

Definition at line 124 of file TransferFile.cpp.

References m_pDeferred, and m_pMap.

Referenced by CTransferFile::Release().


Friends And Related Function Documentation

friend class CTransferFile [friend]
 

Definition at line 51 of file TransferFile.h.

Referenced by Open().


Member Data Documentation

CPtrList CTransferFiles::m_pDeferred
 

Definition at line 40 of file TransferFile.h.

Referenced by Close(), CommitDeferred(), QueueDeferred(), and Remove().

CMapStringToPtr CTransferFiles::m_pMap
 

Definition at line 39 of file TransferFile.h.

Referenced by Close(), Open(), and Remove().

CCriticalSection CTransferFiles::m_pSection
 

Definition at line 38 of file TransferFile.h.

Referenced by CTransferFile::AddRef(), Close(), CommitDeferred(), CTransferFile::GetHandle(), Open(), CTransferFile::Read(), CTransferFile::Release(), and CTransferFile::Write().


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