Home > Mobile > There are two classes, a class of functions to be callback to a different class of methods how to im
There are two classes, a class of functions to be callback to a different class of methods how to im
Time:11-30
Class A is A public class, responsible for data analysis, according to get effective data frame format,
Class B is A window class, he want to call A function in A data parsing, then call this method in A class B the method of drawing curve, save the TXT data such as
Excuse me, how to achieve
Now there is A way of thinking is A class B as class A subclass, implementation of A virtual function, want to consult other ideas, thank you!
CodePudding user response:
Need to use singleton object class, don't need to directly use static object function