Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/new_class_id/src/lib/util/executor/functor_list.h @ 9737

Last change on this file since 9737 was 9732, checked in by bensch, 18 years ago

cleaned out useless non-portable stuff

File size: 2.6 KB
RevLine 
[5133]1/*
2   orxonox - the future of 3D-vertical-scrollers
3
4   Copyright (C) 2004 orx
5
6   This program is free software; you can redistribute it and/or modify
7   it under the terms of the GNU General Public License as published by
8   the Free Software Foundation; either version 2, or (at your option)
9   any later version.
[9732]10*/
[5133]11
12/*!
13 * @file functors_list.h
[9732]14 * all the Different types of Functions one can include by using a simple createExecutor call
15 * with a FunctionPointer as Argument
[5135]16 */
[5133]17
[5135]18#ifdef FUNCTOR_LIST
[8048]19  FUNCTOR_LIST(0)();
[5135]20  //! makes functions with one string
[9732]21  FUNCTOR_LIST(1)(const std::string&);
[5135]22  //! makes functions with two strings
[9732]23  FUNCTOR_LIST(2)(const std::string&, const std::string&);
[5135]24  //! makes functions with three strings
[9732]25  FUNCTOR_LIST(3)(const std::string&, const std::string&, const std::string&);
[5135]26  //! makes functions with four strings
[9732]27  FUNCTOR_LIST(4)(const std::string&, const std::string&, const std::string&, const std::string&);
[5133]28
[7221]29
[5135]30  //! makes functions with one bool
[9732]31  FUNCTOR_LIST(1)(bool);
[5133]32
[5135]33  //! makes functions with one int
[9732]34  FUNCTOR_LIST(1)(int);
[5135]35  //! makes functions with two ints
[9732]36  FUNCTOR_LIST(2)(int, int);
[5135]37  //! makes functions with three ints
[9732]38  FUNCTOR_LIST(3)(int, int, int);
[5135]39  //! makes functions with four ints
[9732]40  FUNCTOR_LIST(4)(int, int, int, int);
[5133]41
42
[5135]43  //! makes functions with one unsigned int
[9732]44  FUNCTOR_LIST(1)(unsigned int);
[5135]45  //! makes functions with two unsigned ints
[9732]46  FUNCTOR_LIST(2)(unsigned int, unsigned int);
[5135]47  //! makes functions with three unsigned ints
[9732]48  FUNCTOR_LIST(3)(unsigned int, unsigned int, unsigned int);
[5135]49  //! makes functions with four unsigned ints
[9732]50  FUNCTOR_LIST(4)(unsigned int, unsigned int, unsigned int, unsigned int);
[5133]51
[5135]52  //! makes functions with one float
[9732]53  FUNCTOR_LIST(1)(float);
[5135]54  //! makes functions with two floats
[9732]55  FUNCTOR_LIST(2)(float, float);
[5135]56  //! makes functions with three floats
[9732]57  FUNCTOR_LIST(3)(float, float, float);
[5135]58  //! makes functions with four floats
[9732]59  FUNCTOR_LIST(4)(float, float, float, float);
[5135]60  //! makes functions with four floats
[9732]61  FUNCTOR_LIST(5)(float, float, float, float, float);
[5133]62
63  //! mixed values:
[9732]64  FUNCTOR_LIST(2)(const std::string&, int);
65  FUNCTOR_LIST(2)(const std::string&, float);
66  FUNCTOR_LIST(2)(unsigned int, long);
67  FUNCTOR_LIST(2)(const std::string&, unsigned int);
[5391]68
[9732]69  FUNCTOR_LIST(3)(const std::string&, float, unsigned int);
70  FUNCTOR_LIST(4)(const std::string&, float, unsigned int, unsigned int);
71  FUNCTOR_LIST(3)(const std::string&, int, unsigned int);
72  FUNCTOR_LIST(3)(const std::string&, unsigned int, unsigned int);
[5391]73
[9732]74  FUNCTOR_LIST(5)(float, float, float, float, const std::string&);
[8619]75
[5135]76#endif /* FUNCTOR_LIST */
Note: See TracBrowser for help on using the repository browser.