Ocean
TestCallback.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) Meta Platforms, Inc. and affiliates.
3  *
4  * This source code is licensed under the MIT license found in the
5  * LICENSE file in the root directory of this source tree.
6  */
7 
8 #ifndef META_OCEAN_TEST_TESTBASE_TEST_CALLBACK_H
9 #define META_OCEAN_TEST_TESTBASE_TEST_CALLBACK_H
10 
12 
13 #include "ocean/base/Callback.h"
14 
15 namespace Ocean
16 {
17 
18 namespace Test
19 {
20 
21 namespace TestBase
22 {
23 
24 /**
25  * This class implements a callback test.
26  * @ingroup testbase
27  */
28 class OCEAN_TEST_BASE_EXPORT TestCallback
29 {
30  protected:
31 
32  /**
33  * This class implements a helper class holding member functions.
34  */
35  class Object
36  {
37  public:
38 
39  /**
40  * Member function with no parameter.
41  */
42  void function0();
43 
44  /**
45  * Member function with one parameter.
46  * @param p0 First parameter
47  */
48  void function1(int p0);
49 
50  /**
51  * Member function with two parameter.
52  * @param p0 First parameter
53  * @param p1 Second parameter
54  */
55  void function2(int p0, int p1);
56 
57  /**
58  * Member function with three parameter.
59  * @param p0 First parameter
60  * @param p1 Second parameter
61  * @param p2 Third parameter
62  */
63  void function3(int p0, int p1, int p2);
64 
65  /**
66  * Member function with four parameter.
67  * @param p0 First parameter
68  * @param p1 Second parameter
69  * @param p2 Third parameter
70  * @param p3 Fourth parameter
71  */
72  void function4(int p0, int p1, int p2, int p3);
73 
74  /**
75  * Member function with five parameter.
76  * @param p0 First parameter
77  * @param p1 Second parameter
78  * @param p2 Third parameter
79  * @param p3 Fourth parameter
80  * @param p4 Fifth parameter
81  */
82  void function5(int p0, int p1, int p2, int p3, int p4);
83 
84  /**
85  * Member function with six parameter.
86  * @param p0 First parameter
87  * @param p1 Second parameter
88  * @param p2 Third parameter
89  * @param p3 Fourth parameter
90  * @param p4 Fifth parameter
91  * @param p5 Sixth parameter
92  */
93  void function6(int p0, int p1, int p2, int p3, int p4, int p5);
94 
95  /**
96  * Member function with seven parameter.
97  * @param p0 First parameter
98  * @param p1 Second parameter
99  * @param p2 Third parameter
100  * @param p3 Fourth parameter
101  * @param p4 Fifth parameter
102  * @param p5 Sixth parameter
103  * @param p6 Seventh parameter
104  */
105  void function7(int p0, int p1, int p2, int p3, int p4, int p5, int p6);
106 
107  /**
108  * Member function with eight parameter.
109  * @param p0 First parameter
110  * @param p1 Second parameter
111  * @param p2 Third parameter
112  * @param p3 Fourth parameter
113  * @param p4 Fifth parameter
114  * @param p5 Sixth parameter
115  * @param p6 Seventh parameter
116  * @param p7 Eighth parameter
117  */
118  void function8(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7);
119 
120  /**
121  * Member function with nine parameter.
122  * @param p0 First parameter
123  * @param p1 Second parameter
124  * @param p2 Third parameter
125  * @param p3 Fourth parameter
126  * @param p4 Fifth parameter
127  * @param p5 Sixth parameter
128  * @param p6 Seventh parameter
129  * @param p7 Eighth parameter
130  * @param p8 Ninth parameter
131  */
132  void function9(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8);
133 
134  /**
135  * Member function with ten parameter.
136  * @param p0 First parameter
137  * @param p1 Second parameter
138  * @param p2 Third parameter
139  * @param p3 Fourth parameter
140  * @param p4 Fifth parameter
141  * @param p5 Sixth parameter
142  * @param p6 Seventh parameter
143  * @param p7 Eighth parameter
144  * @param p8 Ninth parameter
145  * @param p9 Tenth parameter
146  */
147  void function10(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9);
148 
149  /**
150  * Member function with 11 parameter.
151  */
152  void function11(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10);
153 
154  /**
155  * Member function with 12 parameter.
156  */
157  void function12(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11);
158 
159  /**
160  * Member function with 13 parameter.
161  */
162  void function13(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12);
163 
164  /**
165  * Member function with 14 parameter.
166  */
167  void function14(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13);
168 
169  /**
170  * Member function with 15 parameter.
171  */
172  void function15(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13, int p14);
173 
174  /**
175  * Member function with 16 parameter.
176  */
177  void function16(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13, int p14, int p15);
178 
179  /**
180  * Member function with 17 parameter.
181  */
182  void function17(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13, int p14, int p15, int p16);
183 
184  /**
185  * Member function with 18 parameter.
186  */
187  void function18(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13, int p14, int p15, int p16, int p17);
188 
189  /**
190  * Member function with 19 parameter.
191  */
192  void function19(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13, int p14, int p15, int p16, int p17, int p18);
193 
194  /**
195  * Member function with 20 parameter.
196  */
197  void function20(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13, int p14, int p15, int p16, int p17, int p18, int p19);
198 
199  /**
200  * Member function with no parameter.
201  * @return True, if succeeded
202  */
204 
205  /**
206  * Member function with one parameter.
207  * @param p0 First parameter
208  * @return True, if succeeded
209  */
210  int functionInt1(int p0);
211 
212  /**
213  * Member function with two parameter.
214  * @param p0 First parameter
215  * @param p1 Second parameter
216  * @return True, if succeeded
217  */
218  int functionInt2(int p0, int p1);
219 
220  /**
221  * Member function with three parameter.
222  * @param p0 First parameter
223  * @param p1 Second parameter
224  * @param p2 Third parameter
225  * @return True, if succeeded
226  */
227  int functionInt3(int p0, int p1, int p2);
228 
229  /**
230  * Member function with four parameter.
231  * @param p0 First parameter
232  * @param p1 Second parameter
233  * @param p2 Third parameter
234  * @param p3 Fourth parameter
235  * @return True, if succeeded
236  */
237  int functionInt4(int p0, int p1, int p2, int p3);
238 
239  /**
240  * Member function with five parameter.
241  * @param p0 First parameter
242  * @param p1 Second parameter
243  * @param p2 Third parameter
244  * @param p3 Fourth parameter
245  * @param p4 Fifth parameter
246  * @return True, if succeeded
247  */
248  int functionInt5(int p0, int p1, int p2, int p3, int p4);
249 
250  /**
251  * Member function with six parameter.
252  * @param p0 First parameter
253  * @param p1 Second parameter
254  * @param p2 Third parameter
255  * @param p3 Fourth parameter
256  * @param p4 Fifth parameter
257  * @param p5 Sixth parameter
258  * @return True, if succeeded
259  */
260  int functionInt6(int p0, int p1, int p2, int p3, int p4, int p5);
261 
262  /**
263  * Member function with seven parameter.
264  * @param p0 First parameter
265  * @param p1 Second parameter
266  * @param p2 Third parameter
267  * @param p3 Fourth parameter
268  * @param p4 Fifth parameter
269  * @param p5 Sixth parameter
270  * @param p6 Seventh parameter
271  * @return True, if succeeded
272  */
273  int functionInt7(int p0, int p1, int p2, int p3, int p4, int p5, int p6);
274 
275  /**
276  * Member function with eight parameter.
277  * @param p0 First parameter
278  * @param p1 Second parameter
279  * @param p2 Third parameter
280  * @param p3 Fourth parameter
281  * @param p4 Fifth parameter
282  * @param p5 Sixth parameter
283  * @param p6 Seventh parameter
284  * @param p7 Eighth parameter
285  * @return True, if succeeded
286  */
287  int functionInt8(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7);
288 
289  /**
290  * Member function with nine parameter.
291  * @param p0 First parameter
292  * @param p1 Second parameter
293  * @param p2 Third parameter
294  * @param p3 Fourth parameter
295  * @param p4 Fifth parameter
296  * @param p5 Sixth parameter
297  * @param p6 Seventh parameter
298  * @param p7 Eighth parameter
299  * @param p8 Ninth parameter
300  * @return True, if succeeded
301  */
302  int functionInt9(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8);
303 
304  /**
305  * Member function with ten parameter.
306  * @param p0 First parameter
307  * @param p1 Second parameter
308  * @param p2 Third parameter
309  * @param p3 Fourth parameter
310  * @param p4 Fifth parameter
311  * @param p5 Sixth parameter
312  * @param p6 Seventh parameter
313  * @param p7 Eighth parameter
314  * @param p8 Ninth parameter
315  * @param p9 Tenth parameter
316  * @return True, if succeeded
317  */
318  int functionInt10(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9);
319 
320  /**
321  * Member function with 11 parameter.
322  */
323  int functionInt11(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10);
324 
325  /**
326  * Member function with 12 parameter.
327  */
328  int functionInt12(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11);
329 
330  /**
331  * Member function with 13 parameter.
332  */
333  int functionInt13(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12);
334 
335  /**
336  * Member function with 14 parameter.
337  */
338  int functionInt14(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13);
339 
340  /**
341  * Member function with 15 parameter.
342  */
343  int functionInt15(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13, int p14);
344 
345  /**
346  * Member function with 16 parameter.
347  */
348  int functionInt16(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13, int p14, int p15);
349 
350  /**
351  * Member function with 17 parameter.
352  */
353  int functionInt17(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13, int p14, int p15, int p16);
354 
355  /**
356  * Member function with 18 parameter.
357  */
358  int functionInt18(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13, int p14, int p15, int p16, int p17);
359 
360  /**
361  * Member function with 19 parameter.
362  */
363  int functionInt19(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13, int p14, int p15, int p16, int p17, int p18);
364 
365  /**
366  * Member function with 20 parameter.
367  */
368  int functionInt20(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13, int p14, int p15, int p16, int p17, int p18, int p19);
369  };
370 
371  public:
372 
373  /**
374  * Tests the entire callback functionality.
375  * @return True, if succeeded
376  */
377  static bool test();
378 
379  /**
380  * Tests the callback object with member functions.
381  * @return True, if succeeded
382  */
383  static bool testCallbackMembers();
384 
385  /**
386  * Tests the callback object with static functions.
387  * @return True, if succeeded
388  */
389  static bool testCallbackStatics();
390 
391  private:
392 
393  /**
394  * Static function with no parameter.
395  */
396  static void function0();
397 
398  /**
399  * Static function with one parameter.
400  * @param p0 First parameter
401  */
402  static void function1(int p0);
403 
404  /**
405  * Static function with two parameter.
406  * @param p0 First parameter
407  * @param p1 Second parameter
408  */
409  static void function2(int p0, int p1);
410 
411  /**
412  * Static function with three parameter.
413  * @param p0 First parameter
414  * @param p1 Second parameter
415  * @param p2 Third parameter
416  */
417  static void function3(int p0, int p1, int p2);
418 
419  /**
420  * Static function with four parameter.
421  * @param p0 First parameter
422  * @param p1 Second parameter
423  * @param p2 Third parameter
424  * @param p3 Fourth parameter
425  */
426  static void function4(int p0, int p1, int p2, int p3);
427 
428  /**
429  * Static function with five parameter.
430  * @param p0 First parameter
431  * @param p1 Second parameter
432  * @param p2 Third parameter
433  * @param p3 Fourth parameter
434  * @param p4 Fifth parameter
435  */
436  static void function5(int p0, int p1, int p2, int p3, int p4);
437 
438  /**
439  * Static function with six parameter.
440  * @param p0 First parameter
441  * @param p1 Second parameter
442  * @param p2 Third parameter
443  * @param p3 Fourth parameter
444  * @param p4 Fifth parameter
445  * @param p5 Sixth parameter
446  */
447  static void function6(int p0, int p1, int p2, int p3, int p4, int p5);
448 
449  /**
450  * Static function with seven parameter.
451  * @param p0 First parameter
452  * @param p1 Second parameter
453  * @param p2 Third parameter
454  * @param p3 Fourth parameter
455  * @param p4 Fifth parameter
456  * @param p5 Sixth parameter
457  * @param p6 Seventh parameter
458  */
459  static void function7(int p0, int p1, int p2, int p3, int p4, int p5, int p6);
460 
461  /**
462  * Static function with eight parameter.
463  * @param p0 First parameter
464  * @param p1 Second parameter
465  * @param p2 Third parameter
466  * @param p3 Fourth parameter
467  * @param p4 Fifth parameter
468  * @param p5 Sixth parameter
469  * @param p6 Seventh parameter
470  * @param p7 Eighth parameter
471  */
472  static void function8(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7);
473 
474  /**
475  * Static function with nine parameter.
476  * @param p0 First parameter
477  * @param p1 Second parameter
478  * @param p2 Third parameter
479  * @param p3 Fourth parameter
480  * @param p4 Fifth parameter
481  * @param p5 Sixth parameter
482  * @param p6 Seventh parameter
483  * @param p7 Eighth parameter
484  * @param p8 Ninth parameter
485  */
486  static void function9(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8);
487 
488  /**
489  * Static function with ten parameter.
490  * @param p0 First parameter
491  * @param p1 Second parameter
492  * @param p2 Third parameter
493  * @param p3 Fourth parameter
494  * @param p4 Fifth parameter
495  * @param p5 Sixth parameter
496  * @param p6 Seventh parameter
497  * @param p7 Eighth parameter
498  * @param p8 Ninth parameter
499  * @param p9 Tenth parameter
500  */
501  static void function10(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9);
502 
503  /**
504  * Static function with 11 parameter.
505  */
506  static void function11(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10);
507 
508  /**
509  * Static function with 12 parameter.
510  */
511  static void function12(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11);
512 
513  /**
514  * Static function with 13 parameter.
515  */
516  static void function13(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12);
517 
518  /**
519  * Static function with 14 parameter.
520  */
521  static void function14(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13);
522 
523  /**
524  * Static function with 15 parameter.
525  */
526  static void function15(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13, int p14);
527 
528  /**
529  * Static function with 16 parameter.
530  */
531  static void function16(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13, int p14, int p15);
532 
533  /**
534  * Static function with 17 parameter.
535  */
536  static void function17(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13, int p14, int p15, int p16);
537 
538  /**
539  * Static function with 18 parameter.
540  */
541  static void function18(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13, int p14, int p15, int p16, int p17);
542 
543  /**
544  * Static function with 19 parameter.
545  */
546  static void function19(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13, int p14, int p15, int p16, int p17, int p18);
547 
548  /**
549  * Static function with 20 parameter.
550  */
551  static void function20(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13, int p14, int p15, int p16, int p17, int p18, int p19);
552 
553  /**
554  * Static function with no parameter.
555  * @return True, if succeeded
556  */
557  static int functionInt0();
558 
559  /**
560  * Static function with one parameter.
561  * @param p0 First parameter
562  * @return True, if succeeded
563  */
564  static int functionInt1(int p0);
565 
566  /**
567  * Static function with two parameter.
568  * @param p0 First parameter
569  * @param p1 Second parameter
570  * @return True, if succeeded
571  */
572  static int functionInt2(int p0, int p1);
573 
574  /**
575  * Static function with three parameter.
576  * @param p0 First parameter
577  * @param p1 Second parameter
578  * @param p2 Third parameter
579  * @return True, if succeeded
580  */
581  static int functionInt3(int p0, int p1, int p2);
582 
583  /**
584  * Static function with four parameter.
585  * @param p0 First parameter
586  * @param p1 Second parameter
587  * @param p2 Third parameter
588  * @param p3 Fourth parameter
589  * @return True, if succeeded
590  */
591  static int functionInt4(int p0, int p1, int p2, int p3);
592 
593  /**
594  * Static function with five parameter.
595  * @param p0 First parameter
596  * @param p1 Second parameter
597  * @param p2 Third parameter
598  * @param p3 Fourth parameter
599  * @param p4 Fifth parameter
600  * @return True, if succeeded
601  */
602  static int functionInt5(int p0, int p1, int p2, int p3, int p4);
603 
604  /**
605  * Static function with six parameter.
606  * @param p0 First parameter
607  * @param p1 Second parameter
608  * @param p2 Third parameter
609  * @param p3 Fourth parameter
610  * @param p4 Fifth parameter
611  * @param p5 Sixth parameter
612  * @return True, if succeeded
613  */
614  static int functionInt6(int p0, int p1, int p2, int p3, int p4, int p5);
615 
616  /**
617  * Static function with seven parameter.
618  * @param p0 First parameter
619  * @param p1 Second parameter
620  * @param p2 Third parameter
621  * @param p3 Fourth parameter
622  * @param p4 Fifth parameter
623  * @param p5 Sixth parameter
624  * @param p6 Seventh parameter
625  * @return True, if succeeded
626  */
627  static int functionInt7(int p0, int p1, int p2, int p3, int p4, int p5, int p6);
628 
629  /**
630  * Static function with eight parameter.
631  * @param p0 First parameter
632  * @param p1 Second parameter
633  * @param p2 Third parameter
634  * @param p3 Fourth parameter
635  * @param p4 Fifth parameter
636  * @param p5 Sixth parameter
637  * @param p6 Seventh parameter
638  * @param p7 Eighth parameter
639  * @return True, if succeeded
640  */
641  static int functionInt8(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7);
642 
643  /**
644  * Static function with nine parameter.
645  * @param p0 First parameter
646  * @param p1 Second parameter
647  * @param p2 Third parameter
648  * @param p3 Fourth parameter
649  * @param p4 Fifth parameter
650  * @param p5 Sixth parameter
651  * @param p6 Seventh parameter
652  * @param p7 Eighth parameter
653  * @param p8 Ninth parameter
654  * @return True, if succeeded
655  */
656  static int functionInt9(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8);
657 
658  /**
659  * Static function with ten parameter.
660  * @param p0 First parameter
661  * @param p1 Second parameter
662  * @param p2 Third parameter
663  * @param p3 Fourth parameter
664  * @param p4 Fifth parameter
665  * @param p5 Sixth parameter
666  * @param p6 Seventh parameter
667  * @param p7 Eighth parameter
668  * @param p8 Ninth parameter
669  * @param p9 Tenth parameter
670  * @return True, if succeeded
671  */
672  static int functionInt10(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9);
673 
674  /**
675  * Static function with 11 parameter.
676  */
677  static int functionInt11(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10);
678 
679  /**
680  * Static function with 12 parameter.
681  */
682  static int functionInt12(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11);
683 
684  /**
685  * Static function with 13 parameter.
686  */
687  static int functionInt13(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12);
688 
689  /**
690  * Static function with 14 parameter.
691  */
692  static int functionInt14(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13);
693 
694  /**
695  * Static function with 15 parameter.
696  */
697  static int functionInt15(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13, int p14);
698 
699  /**
700  * Static function with 16 parameter.
701  */
702  static int functionInt16(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13, int p14, int p15);
703 
704  /**
705  * Static function with 17 parameter.
706  */
707  static int functionInt17(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13, int p14, int p15, int p16);
708 
709  /**
710  * Static function with 18 parameter.
711  */
712  static int functionInt18(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13, int p14, int p15, int p16, int p17);
713 
714  /**
715  * Static function with 19 parameter.
716  */
717  static int functionInt19(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13, int p14, int p15, int p16, int p17, int p18);
718 
719  /**
720  * Static function with 20 parameter.
721  */
722  static int functionInt20(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13, int p14, int p15, int p16, int p17, int p18, int p19);
723 };
724 
725 }
726 
727 }
728 
729 }
730 
731 #endif // META_OCEAN_TEST_TESTBASE_TEST_CALLBACK_H
This class implements a helper class holding member functions.
Definition: TestCallback.h:36
int functionInt11(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10)
Member function with 11 parameter.
void function8(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7)
Member function with eight parameter.
void function4(int p0, int p1, int p2, int p3)
Member function with four parameter.
int functionInt14(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13)
Member function with 14 parameter.
void function17(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13, int p14, int p15, int p16)
Member function with 17 parameter.
void function6(int p0, int p1, int p2, int p3, int p4, int p5)
Member function with six parameter.
void function20(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13, int p14, int p15, int p16, int p17, int p18, int p19)
Member function with 20 parameter.
void function1(int p0)
Member function with one parameter.
void function13(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12)
Member function with 13 parameter.
void function7(int p0, int p1, int p2, int p3, int p4, int p5, int p6)
Member function with seven parameter.
int functionInt5(int p0, int p1, int p2, int p3, int p4)
Member function with five parameter.
int functionInt12(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11)
Member function with 12 parameter.
void function14(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13)
Member function with 14 parameter.
void function16(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13, int p14, int p15)
Member function with 16 parameter.
int functionInt6(int p0, int p1, int p2, int p3, int p4, int p5)
Member function with six parameter.
int functionInt8(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7)
Member function with eight parameter.
int functionInt4(int p0, int p1, int p2, int p3)
Member function with four parameter.
void function15(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13, int p14)
Member function with 15 parameter.
int functionInt1(int p0)
Member function with one parameter.
int functionInt18(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13, int p14, int p15, int p16, int p17)
Member function with 18 parameter.
void function9(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8)
Member function with nine parameter.
int functionInt16(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13, int p14, int p15)
Member function with 16 parameter.
void function0()
Member function with no parameter.
int functionInt20(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13, int p14, int p15, int p16, int p17, int p18, int p19)
Member function with 20 parameter.
int functionInt17(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13, int p14, int p15, int p16)
Member function with 17 parameter.
void function3(int p0, int p1, int p2)
Member function with three parameter.
void function11(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10)
Member function with 11 parameter.
void function5(int p0, int p1, int p2, int p3, int p4)
Member function with five parameter.
int functionInt0()
Member function with no parameter.
void function2(int p0, int p1)
Member function with two parameter.
void function10(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9)
Member function with ten parameter.
int functionInt9(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8)
Member function with nine parameter.
int functionInt7(int p0, int p1, int p2, int p3, int p4, int p5, int p6)
Member function with seven parameter.
int functionInt3(int p0, int p1, int p2)
Member function with three parameter.
int functionInt19(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13, int p14, int p15, int p16, int p17, int p18)
Member function with 19 parameter.
void function19(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13, int p14, int p15, int p16, int p17, int p18)
Member function with 19 parameter.
int functionInt10(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9)
Member function with ten parameter.
int functionInt15(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13, int p14)
Member function with 15 parameter.
int functionInt13(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12)
Member function with 13 parameter.
void function18(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13, int p14, int p15, int p16, int p17)
Member function with 18 parameter.
void function12(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11)
Member function with 12 parameter.
int functionInt2(int p0, int p1)
Member function with two parameter.
This class implements a callback test.
Definition: TestCallback.h:29
static void function2(int p0, int p1)
Static function with two parameter.
static void function13(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12)
Static function with 13 parameter.
static void function4(int p0, int p1, int p2, int p3)
Static function with four parameter.
static void function6(int p0, int p1, int p2, int p3, int p4, int p5)
Static function with six parameter.
static int functionInt0()
Static function with no parameter.
static int functionInt19(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13, int p14, int p15, int p16, int p17, int p18)
Static function with 19 parameter.
static void function14(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13)
Static function with 14 parameter.
static void function9(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8)
Static function with nine parameter.
static void function15(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13, int p14)
Static function with 15 parameter.
static void function20(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13, int p14, int p15, int p16, int p17, int p18, int p19)
Static function with 20 parameter.
static bool testCallbackStatics()
Tests the callback object with static functions.
static void function12(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11)
Static function with 12 parameter.
static void function10(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9)
Static function with ten parameter.
static void function7(int p0, int p1, int p2, int p3, int p4, int p5, int p6)
Static function with seven parameter.
static int functionInt14(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13)
Static function with 14 parameter.
static void function17(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13, int p14, int p15, int p16)
Static function with 17 parameter.
static void function18(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13, int p14, int p15, int p16, int p17)
Static function with 18 parameter.
static int functionInt2(int p0, int p1)
Static function with two parameter.
static int functionInt5(int p0, int p1, int p2, int p3, int p4)
Static function with five parameter.
static int functionInt11(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10)
Static function with 11 parameter.
static void function11(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10)
Static function with 11 parameter.
static int functionInt10(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9)
Static function with ten parameter.
static void function8(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7)
Static function with eight parameter.
static int functionInt6(int p0, int p1, int p2, int p3, int p4, int p5)
Static function with six parameter.
static int functionInt1(int p0)
Static function with one parameter.
static int functionInt18(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13, int p14, int p15, int p16, int p17)
Static function with 18 parameter.
static void function19(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13, int p14, int p15, int p16, int p17, int p18)
Static function with 19 parameter.
static int functionInt13(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12)
Static function with 13 parameter.
static void function5(int p0, int p1, int p2, int p3, int p4)
Static function with five parameter.
static int functionInt17(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13, int p14, int p15, int p16)
Static function with 17 parameter.
static int functionInt7(int p0, int p1, int p2, int p3, int p4, int p5, int p6)
Static function with seven parameter.
static int functionInt9(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8)
Static function with nine parameter.
static void function16(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13, int p14, int p15)
Static function with 16 parameter.
static int functionInt12(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11)
Static function with 12 parameter.
static void function0()
Static function with no parameter.
static int functionInt3(int p0, int p1, int p2)
Static function with three parameter.
static int functionInt8(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7)
Static function with eight parameter.
static void function1(int p0)
Static function with one parameter.
static int functionInt20(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13, int p14, int p15, int p16, int p17, int p18, int p19)
Static function with 20 parameter.
static int functionInt15(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13, int p14)
Static function with 15 parameter.
static void function3(int p0, int p1, int p2)
Static function with three parameter.
static bool test()
Tests the entire callback functionality.
static bool testCallbackMembers()
Tests the callback object with member functions.
static int functionInt4(int p0, int p1, int p2, int p3)
Static function with four parameter.
static int functionInt16(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13, int p14, int p15)
Static function with 16 parameter.
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15