Terminé

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

Compétences : Programmation C++, Qt

En voir plus : 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?

Concernant l'employeur :
( 14 commentaires ) Saint Maurice, France

Nº du projet : #21028308

Décerné à:

dfpr

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

%selectedBids___i_sum_sub_7% %project_currencyDetails_sign_sub_8% EUR en 7 jours
(15 Commentaires)
3.9

20 freelances font une offre moyenne de 118 € pour ce travail

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 Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% EUR en 7 jours
(24 Commentaires)
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//

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% EUR en 7 jours
(57 Commentaires)
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 Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% EUR en 2 jours
(51 Commentaires)
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 Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% EUR en 7 jours
(13 Commentaires)
5.6
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 Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% EUR en 1 jour
(36 Commentaires)
5.6
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 Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% EUR en 1 jour
(28 Commentaires)
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.

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% EUR en 1 jour
(7 Commentaires)
5.4
(7 Commentaires)
4.8
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 Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% EUR en 1 jour
(16 Commentaires)
4.6
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 Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% EUR en 3 jours
(17 Commentaires)
4.9
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 Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% EUR en 7 jours
(7 Commentaires)
3.2
Valuesolutions

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

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% EUR en 7 jours
(6 Commentaires)
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 Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% EUR en 1 jour
(3 Commentaires)
2.8
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.

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% EUR en 1 jour
(3 Commentaires)
2.8
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.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% EUR en 2 jours
(4 Commentaires)
2.3
Lightcanon

Hello, I have used QThreads in my own QT software. I am a computer engineer with +5 years exp in C++/Qt development. I have developed many tools using QT such as My own MIPS assembler, encrypted chat service, state mac Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% EUR en 2 jours
(1 Évaluation)
1.1
AndreiPPB

Hello. I read your requirement carefully. I'm very interested your project. I'm talented QT developer. I can write the thread program. If you assign to me this project, you can get a cool result. please contact me. th Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% EUR en 1 jour
(0 Commentaires)
0.0
theukwebexpert

Hello there! My name is Chris, I'm a UK based and native English speaking web developer and app expert with 10 years experience building and maintaining complex web apps/websites/software I've built and maintained ap Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% EUR en 1 jour
(0 Commentaires)
0.0
projectsTF

Hi, Hope you are doing well!! Sure, I will develop and design as per your needs. I will create the basic thread architecture for a QT based application. Looking forward to hearing from you. Thanks Techfolds

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% EUR en 2 jours
(0 Commentaires)
0.0