Today, with the flow of data to the small number of UML drawing out, take this opportunity to further familiarize yourself with the server framework. But the heart is still a lot of questions, these questions are mostly because I do not understand the implementation of the code, everywhere is the template class, see me straight dizzy. At this time, I should go to look at the design pattern, just like to see Yu Uchiha a family of the basement wall of the text, write round Eye of the pupil force to reach a certain state to see more things.
Why this sentiment, is today to see a class is this:
Class A{public:a (); ~a ();p rotected:bool init (void) {... return dosomething (); } virtual bool DoSomething ();} ;
If I don't know if this is a template pattern, I'm sure it's a struggle to write about it. In this way, the implementation can be deferred to the subclass to achieve, with an init () interface can complete a variety of different sub-class initialization effect, very good.
So I think I need to further study the design pattern in order to read more code, or I really can not continue to play.
The No. 478 Day of work