aGrUM  0.13.2
signaler6.h
Go to the documentation of this file.
1 /***************************************************************************
2  * Copyright (C) 2005 by Christophe GONZALES and Pierre-Henri WUILLEMIN *
3  * {prenom.nom}_at_lip6.fr *
4  * *
5  * This program is free software; you can redistribute it and/or modify *
6  * it under the terms of the GNU General Public License as published by *
7  * the Free Software Foundation; either version 2 of the License, or *
8  * (at your option) any later version. *
9  * *
10  * This program is distributed in the hope that it will be useful, *
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13  * GNU General Public License for more details. *
14  * *
15  * You should have received a copy of the GNU General Public License *
16  * along with this program; if not, write to the *
17  * Free Software Foundation, Inc., *
18  * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
19  ***************************************************************************/
20 
29 #ifndef GUM_SIGNALER_H
30 #define GUM_SIGNALER_H
31 
33 
34 #define MAKE_NAME(nom) nom##6
35 #define LIST_DECL_CLASSES \
36  class type1, class type2, class type3, class type4, class type5, class type6
37 #define LIST_CLASSES type1, type2, type3, type4, type5, type6
38 #define LIST_DECL_ARGS \
39  type1 arg1, type2 arg2, type3 arg3, type4 arg4, type5 arg5, type6 arg6
40 #define LIST_ARGS arg1, arg2, arg3, arg4, arg5, arg6
41 
42 #define GUM_EMIT6(signal, arg1, arg2, arg3, arg4, arg5, arg6) \
43  this->signal(this, arg1, arg2, arg3, arg4, arg5, arg6)
44 
45 #define SIGNALER_PATRON_ACCEPTED
47 
48 #endif // GUM_SIGNALER_H
Meta classes for signalers.
Classes of signaler.