CMRescanDirectoryTask Class Reference

#include <content_manager.h>

Inheritance diagram for CMRescanDirectoryTask:
GenericTask zmm::Object

Public Member Functions

 CMRescanDirectoryTask (int objectID, int scanID, scan_mode_t scanMode, bool cancellable)
virtual void run ()
void setDescription (zmm::String description)
zmm::String getDescription ()
task_type_t getType ()
unsigned int getID ()
unsigned int getParentID ()
void setID (unsigned int taskID)
void setParentID (unsigned int parentTaskID=0)
bool isValid ()
bool isCancellable ()
void invalidate ()
task_owner_t getOwner ()
void retain ()
void release ()
int getRefCount ()

Static Public Member Functions

static void * operator new (size_t size)
static void operator delete (void *ptr)

Protected Attributes

int objectID
int scanID
scan_mode_t scanMode
zmm::String description
task_type_t taskType
task_owner_t taskOwner
unsigned int parentTaskID
unsigned int taskID
bool valid
bool cancellable
mt_atomic_t _ref_count
pthread_mutex_t mutex

Detailed Description

Definition at line 111 of file content_manager.h.


Constructor & Destructor Documentation

CMRescanDirectoryTask::CMRescanDirectoryTask ( int  objectID,
int  scanID,
scan_mode_t  scanMode,
bool  cancellable 
)

Definition at line 2428 of file content_manager.cc.

References RescanDirectory, and GenericTask::taskType.


Member Function Documentation

zmm::String GenericTask::getDescription (  )  [inline, inherited]

Definition at line 40 of file generic_task.h.

References GenericTask::description.

unsigned int GenericTask::getID (  )  [inline, inherited]

Definition at line 42 of file generic_task.h.

References GenericTask::taskID.

task_owner_t GenericTask::getOwner (  )  [inline, inherited]

Definition at line 49 of file generic_task.h.

References GenericTask::taskOwner.

unsigned int GenericTask::getParentID (  )  [inline, inherited]

Definition at line 43 of file generic_task.h.

References GenericTask::parentTaskID.

int Object::getRefCount (  )  [inherited]

Definition at line 78 of file object.cc.

References zmm::Object::_ref_count, and atomic_get().

task_type_t GenericTask::getType (  )  [inline, inherited]

Definition at line 41 of file generic_task.h.

References GenericTask::taskType.

void GenericTask::invalidate (  )  [inline, inherited]

Definition at line 48 of file generic_task.h.

References GenericTask::valid.

bool GenericTask::isCancellable (  )  [inline, inherited]

Definition at line 47 of file generic_task.h.

References GenericTask::cancellable.

bool GenericTask::isValid (  )  [inline, inherited]

Definition at line 46 of file generic_task.h.

References GenericTask::valid.

void Object::operator delete ( void *  ptr  )  [static, inherited]

Definition at line 87 of file object.cc.

References FREE.

void * Object::operator new ( size_t  size  )  [static, inherited]

Definition at line 83 of file object.cc.

References MALLOC.

void Object::release (  )  [inherited]
void Object::retain (  )  [inherited]
void CMRescanDirectoryTask::run (  )  [virtual]
void GenericTask::setDescription ( zmm::String  description  )  [inline, inherited]

Definition at line 39 of file generic_task.h.

void GenericTask::setID ( unsigned int  taskID  )  [inline, inherited]

Definition at line 44 of file generic_task.h.

void GenericTask::setParentID ( unsigned int  parentTaskID = 0  )  [inline, inherited]

Definition at line 45 of file generic_task.h.

References GenericTask::parentTaskID.


Field Documentation

mt_atomic_t zmm::Object::_ref_count [protected, inherited]
bool GenericTask::cancellable [protected, inherited]

Definition at line 34 of file generic_task.h.

Referenced by GenericTask::GenericTask(), and GenericTask::isCancellable().

zmm::String GenericTask::description [protected, inherited]

Definition at line 28 of file generic_task.h.

Referenced by GenericTask::getDescription().

pthread_mutex_t zmm::Object::mutex [protected, inherited]

Definition at line 114 of file content_manager.h.

unsigned int GenericTask::parentTaskID [protected, inherited]

Definition at line 115 of file content_manager.h.

Referenced by run().

Definition at line 116 of file content_manager.h.

Referenced by run().

unsigned int GenericTask::taskID [protected, inherited]

Definition at line 32 of file generic_task.h.

Referenced by GenericTask::GenericTask(), and GenericTask::getID().

task_owner_t GenericTask::taskOwner [protected, inherited]

Definition at line 30 of file generic_task.h.

Referenced by GenericTask::getOwner().

task_type_t GenericTask::taskType [protected, inherited]
bool GenericTask::valid [protected, inherited]

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

Generated on Fri Mar 26 20:16:56 2010 for MediaTomb by  doxygen 1.6.1