xFSTK  0.0.0
Intel SoC Cross Platform Firmware & Software Tool Kit
Signals | Public Member Functions | Public Attributes | Protected Member Functions | List of all members
Dlthread Class Reference

#include <xfstk-dldr-example-parallel.h>

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

Signals

void done ()
 
void done ()
 

Public Member Functions

 Dlthread (QObject *parent=0)
 
 ~Dlthread ()
 
void setobj (DlThreadObj *obj)
 
 Dlthread (QObject *parent=0)
 
 ~Dlthread ()
 
void setobj (DlThreadObj *obj)
 

Public Attributes

DlThreadObjobj
 

Protected Member Functions

void run ()
 
void run ()
 

Constructor & Destructor Documentation

◆ Dlthread() [1/2]

Dlthread::Dlthread ( QObject *  parent = 0)
explicit

Referenced by main().

95  :
96  QThread(parent)
97 {
98 }
Here is the caller graph for this function:

◆ ~Dlthread() [1/2]

Dlthread::~Dlthread ( )
100 {
101  wait();
102 }

◆ Dlthread() [2/2]

Dlthread::Dlthread ( QObject *  parent = 0)
explicit

◆ ~Dlthread() [2/2]

Dlthread::~Dlthread ( )

Member Function Documentation

◆ setobj() [1/2]

void Dlthread::setobj ( DlThreadObj obj)

References obj.

Referenced by main().

105 {
106  this->obj = obj;
107 }
DlThreadObj * obj
Definition: xfstk-dldr-example-parallel.h:75
Here is the caller graph for this function:

◆ done [1/2]

void Dlthread::done ( )
signal

Referenced by run().

Here is the caller graph for this function:

◆ run() [1/2]

void Dlthread::run ( )
protected

References done(), DlThreadObj::DoWork(), and obj.

109 {
110  this->obj->DoWork();
111  this->done();
112  exit();
113 }
void DoWork()
Definition: xfstk-dldr-example-parallel.cpp:90
DlThreadObj * obj
Definition: xfstk-dldr-example-parallel.h:75
void done()
Here is the call graph for this function:

◆ setobj() [2/2]

void Dlthread::setobj ( DlThreadObj obj)

◆ done [2/2]

void Dlthread::done ( )
signal

◆ run() [2/2]

void Dlthread::run ( )
protected

Member Data Documentation

◆ obj

DlThreadObj * Dlthread::obj

Referenced by run(), and setobj().


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