Færdiggjort

QT Application that shows how to uses Thread

Hello,

I want to create the basic thread architecture for a QT based application. I have put the main basic code below, you have to provide this code with Threads as specified.

Thank you,

=====================================================================

class CRegion

{

private:

public:

CRegion();

void DoFunction1();

void DoFunction2();

};

class Test

{

private:

std::vector<CRegion*> m_listeregions;// Liste des carreaux du contour

public:

Test();

void ComputationThreads();

void DoComputing1(CRegion *pRegion);

void DoComputing2(CRegion *pRegion);

};

void CRegion::DoFunction1()

{

for (int i = 0; i < 10000; i++)

{

i = i + 1;

}

}

void CRegion::DoFunction2()

{

for (int i = 0; i < 10000; i++)

{

i = i * 1;

}

}

Test::Test()

{

}

void Test::DoComputing1(CRegion *pRegion)

{

pRegion->DoFunction1();

}

void Test::DoComputing2(CRegion *pRegion)

{

pRegion->DoFunction2();

}

// Function to have included Threads

void Test::ComputationThreads()

{

// Call a different Thread for doing each execution of DoComputing1 in the loop

for (auto pRegion : m_listeregions)

{

DoComputing1(pRegion); // In a specific thread

}

// Wait for the End of All Thread of DoComputing1

// Call a different Thread for doing each execution of DoComputing2 in the loop

for (auto pRegion : m_listeregions)

{

DoComputing2(pRegion);// In a specific thread

}

// Wait for the End of All Thread of DoComputing2

}

// You can use A QThreadPool, or QConcurent, or other thread based solution

// For a computer with 4 or 8 core

Evner: C++ Programmering, Qt

Se mere: create web application files manager, create desktop application, create access application executable, create web application setup without, facebook create page application, create web application pdf, create iis application, create job application form script, want convert access application, java create ftp application, create msaccess application web based, want write patent application, create pda application, create wap application, create credit application website, create web application form update database, want create 2go application, Hello , you and Facebook not accept my email , I ask : are you accept Yahoo?

Om arbejdsgiveren:
( 13 bedømmelser ) Saint Maurice, France

Projekt ID: #21028308

Tildelt til:

dfpr

Hello, how are you doing. I have ample experience working with C++, QT and multi-threaded programming.

€30 EUR in 7 dage
(15 bedømmelser)
3.8

29 freelancere byder i gennemsnit €117 på dette job

ppgjsc

Hi. I checked your job in depth and i can add value and complete your project professionally and in a timely manner with my 7+ years of qt development. I have so many experience in qt. As you can see in my profile and Flere

€140 EUR in 7 dage
(24 bedømmelser)
7.3
DevStar925

Nice project. As you can see from my profile, I have enough experience on c/c++, qt. If you give me a chance, I will do my best for you. I will wait for your kindly response on here. Thanks//

€250 EUR in 7 dage
(56 bedømmelser)
7.0
fastestJohn

Hello. I have just read your project. https://www.freelancer.com/u/fastestJohn?w=f This is my profile. I am really interested in your project now. Because my skills are suitable for your project. I like the "Fastest" a Flere

€140 EUR in 2 dage
(51 bedømmelser)
6.1
leemilun

Hi, nice to meet you. I am Gao M. I have read your post carefully and this is very interesting for me. I have 15 years of experience in software development and have already completed 146 projects in freelancer. Especi Flere

€250 EUR in 7 dage
(13 bedømmelser)
5.6
gaoshou007

Dear client. nice to meet you. low cost, high quality. you've got the will, we've got the way. I am very very familiar with your job posting. I'm an expert with QT 4.6. I can start soon and finish within deadline you n Flere

€50 EUR på 1 dag
(4 bedømmelser)
5.1
valor312

Hello, I can do it within a few hours. This is my review on freelance https://www.freelancer.com/projects/cplusplus-programming/Add-WebView-QML-based-project/?w=f Please award me , I can start right now and support upd Flere

€30 EUR på 1 dag
(31 bedømmelser)
5.2
okzhang321

VERY EASY FOR ME, I can do it within a few hours As you can see in my review, I've done similar with yours Hello. I have read your description and I am so interested in your project. I am confident in your project and Flere

€30 EUR på 1 dag
(28 bedømmelser)
4.9
SecureForYou

hi there. How are you doing? I am an experienced c++ and qt developer and I have gone through the project description and the code you had put there. I have confidence , please contact me for discussion. Thanks.

€140 EUR på 1 dag
(6 bedømmelser)
4.9
TopDesigner315

Hello Thanks for your posting. I saw your description carefully. I am a Qt expert who have 8+ years of experiences. My skills are Qt, C++, C#. I can implement your project with fully and completely. I can help you wi Flere

€70 EUR på 1 dag
(15 bedømmelser)
4.5
RushService

Feel fee to contact me for .Shoot me message to discuss further more details .We provide the comments,images,videos,demos and live sessions in order to help the [login to view URL] payment only after the work [login to view URL] y Flere

€150 EUR in 3 dage
(14 bedømmelser)
4.8
(6 bedømmelser)
3.8
wwwTom

*********************************** Hi ********************************* I am interesting in your job because I like C++ programming and Qt. I am an top Qt developer !!! You can surely believe me and may test me. I c Flere

€100 EUR på 1 dag
(4 bedømmelser)
3.1
jack5onric

⭐⭐⭐⭐⭐dear master⭐⭐⭐⭐⭐ I saw your requirement in detail. I have the career of 5 years' study of C++ and C# for the ACP-ICPC competition. I am top developer of web and algorithm. I with you get in contact with me about t Flere

€99 EUR in 3 dage
(13 bedømmelser)
3.3
ninestar801

Hi, I have gone through your requirements and I can do this task. The skills and resources needed for this project are in my genes. I can assure you for a complete professional work in given time [login to view URL] share comp Flere

€140 EUR in 7 dage
(3 bedømmelser)
3.1
waqaramjad1993

Dear sir, madam I am interesting your project. I can satisfy you perfectly. I have read your description and I would like to work for you having perfect expertise in required task. I am software engineer having 5 years Flere

€200 EUR in 7 dage
(7 bedømmelser)
3.2
BAldhafeeri

I’m a C++ programmer. I use Qt as a main library to build GUI with C++. I’ve done several projects using C++/Qt.

€44 EUR på 1 dag
(3 bedømmelser)
2.8
Valuesolutions

Hello, i have read the details provided..please contact me to discuss more on the project deadline and some other few things

€140 EUR in 7 dage
(5 bedømmelser)
4.5
ExpertSoul

Hello! I am very interested in your post project. While I read your description carefully, I was excited with feeling that I would be able to satisfy for your requirements in this job. We can negotiate on price/Budget Flere

€40 EUR på 1 dag
(2 bedømmelser)
2.7
Correa

I have a couple of years of Qt experience, as well as C++11. I can get it done in no time, specially if it's over the weekend when I do have more available time to work on projects.

€30 EUR in 2 dage
(4 bedømmelser)
2.3
Anatoly1995

Hello. thanks for yoru job posting. I read your post carefully. I am a full stack developer with 8+ years of experience in the IOT field and have a good understanding of this field. Looking at my profile, you can see t Flere

€140 EUR in 7 dage
(2 bedømmelser)
2.0