MythTV  master
Public Member Functions | Private Attributes | Friends | List of all members
DeleteHandler Class Reference

#include <fileserverutil.h>

Inheritance diagram for DeleteHandler:
Inheritance graph
[legend]
Collaboration diagram for DeleteHandler:
Collaboration graph
[legend]

Public Member Functions

 DeleteHandler (void)
 
 DeleteHandler (const QString &filename)
 
 ~DeleteHandler (void)
 
void Close (void)
 
QString GetPath (void)
 
int GetFD (void)
 
off_t GetSize (void)
 
QDateTime GetWait (void)
 
void SetPath (QString path)
 
virtual void DeleteSucceeded (void)
 
virtual void DeleteFailed (void)
 
- Public Member Functions inherited from ReferenceCounter
 ReferenceCounter (const QString &debugName, bool logDebug=true)
 Creates reference counter with an initial value of 1. More...
 
virtual int IncrRef (void)
 Increments reference count. More...
 
virtual int DecrRef (void)
 Decrements reference count and deletes on 0. More...
 

Private Attributes

QString m_path
 
int m_fd
 
off_t m_size
 
QDateTime m_wait
 

Friends

class DeleteThread
 

Additional Inherited Members

- Static Public Member Functions inherited from ReferenceCounter
static void PrintDebug (void)
 Print out any leaks if that level of debugging is enabled. More...
 
- Protected Member Functions inherited from ReferenceCounter
virtual ~ReferenceCounter (void)
 Called on destruction, will warn if object deleted with references in place. More...
 
- Protected Attributes inherited from ReferenceCounter
bool m_logDebug
 This is used to suppress creating LoggingItem classes for LoggingItem reference count changes. More...
 
QAtomicInt m_referenceCount {1}
 

Detailed Description

Definition at line 15 of file fileserverutil.h.

Constructor & Destructor Documentation

◆ DeleteHandler() [1/2]

DeleteHandler::DeleteHandler ( void  )

Definition at line 19 of file fileserverutil.cpp.

◆ DeleteHandler() [2/2]

DeleteHandler::DeleteHandler ( const QString &  filename)
explicit

Definition at line 24 of file fileserverutil.cpp.

◆ ~DeleteHandler()

DeleteHandler::~DeleteHandler ( void  )

Definition at line 30 of file fileserverutil.cpp.

Member Function Documentation

◆ Close()

void DeleteHandler::Close ( void  )

Definition at line 35 of file fileserverutil.cpp.

Referenced by DeleteThread::ProcessOld(), and ~DeleteHandler().

◆ GetPath()

QString DeleteHandler::GetPath ( void  )
inline

Definition at line 24 of file fileserverutil.h.

◆ GetFD()

int DeleteHandler::GetFD ( void  )
inline

Definition at line 25 of file fileserverutil.h.

◆ GetSize()

off_t DeleteHandler::GetSize ( void  )
inline

Definition at line 26 of file fileserverutil.h.

◆ GetWait()

QDateTime DeleteHandler::GetWait ( void  )
inline

Definition at line 27 of file fileserverutil.h.

◆ SetPath()

void DeleteHandler::SetPath ( QString  path)
inline

Definition at line 29 of file fileserverutil.h.

◆ DeleteSucceeded()

virtual void DeleteHandler::DeleteSucceeded ( void  )
inlinevirtual

Definition at line 31 of file fileserverutil.h.

Referenced by DeleteThread::ProcessNew().

◆ DeleteFailed()

virtual void DeleteHandler::DeleteFailed ( void  )
inlinevirtual

Definition at line 32 of file fileserverutil.h.

Referenced by DeleteThread::ProcessNew().

Friends And Related Function Documentation

◆ DeleteThread

friend class DeleteThread
friend

Definition at line 32 of file fileserverutil.h.

Member Data Documentation

◆ m_path

QString DeleteHandler::m_path
private

Definition at line 37 of file fileserverutil.h.

Referenced by DeleteThread::ProcessNew(), and DeleteThread::ProcessOld().

◆ m_fd

int DeleteHandler::m_fd
private

Definition at line 38 of file fileserverutil.h.

Referenced by Close(), DeleteThread::ProcessNew(), and DeleteThread::ProcessOld().

◆ m_size

off_t DeleteHandler::m_size
private

Definition at line 39 of file fileserverutil.h.

Referenced by DeleteThread::ProcessNew(), and DeleteThread::ProcessOld().

◆ m_wait

QDateTime DeleteHandler::m_wait
private

Definition at line 40 of file fileserverutil.h.

Referenced by DeleteThread::ProcessNew(), and DeleteThread::ProcessOld().


The documentation for this class was generated from the following files: