Home > Back-end >  Design patterns using c
Design patterns using c

Time:09-15

 
//thread pool
The class ThreadPool
{
Public:
Protected:
Private:
};


 
//class Base...
//a diamond inheritance
Class Work: public Encode, public Decode
{
Public:

Protected:
Private:
//modify to get the data lock

};


 
//virtual list display data
The class ListCtrlEx
{
Public:

Protected:
//lock + alarm threads to achieve a Work calculation error thread receive queue
Private:
};



//is actually a simple working class (inherited from encryption and decryption algorithm of two class Base mainly stored data don't) to join the thread pool (thread pool is not necessary) and determine whether the wrong whether if send alarm thread and display through CListCtrl relative

//the purpose of questions: I want to practice the application of design patterns or simple frame under

//under each tried as if did not meet the requirements of the I ask bosses recommended a pattern or a simple framework to study under reference
  • Related