DDraceNetwork Docs
|
Public Member Functions | |
CJob (CChooseMaster *pParent, std::shared_ptr< CData > pData) | |
bool | Abort () override REQUIRES(!m_Lock) |
Public Member Functions inherited from IJob | |
IJob () | |
virtual | ~IJob () |
IJob (const IJob &Other)=delete | |
IJob & | operator= (const IJob &Other)=delete |
EJobState | State () const |
bool | Done () const |
virtual bool | Abort () |
bool | IsAbortable () const |
Private Member Functions | |
void | Run () override REQUIRES(!m_Lock) |
Private Attributes | |
CChooseMaster * | m_pParent |
CLock | m_Lock |
std::shared_ptr< CData > | m_pData |
std::shared_ptr< CHttpRequest > | m_pHead |
std::shared_ptr< CHttpRequest > | m_pGet |
Additional Inherited Members | |
Public Types inherited from IJob | |
enum | EJobState { STATE_QUEUED = 0 , STATE_RUNNING , STATE_DONE , STATE_ABORTED } |
Protected Member Functions inherited from IJob | |
virtual void | Run ()=0 |
void | Abortable (bool Abortable) |
|
inline |
|
overridevirtual |
Aborts the job, if it can be aborted.
true
if abort was accepted, false
otherwise.Reimplemented from IJob.
|
overrideprivatevirtual |
Performs tasks in a worker thread.
Implements IJob.
|
private |
|
private |
|
private |
|
private |
|
private |