Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5133 in orxonox.OLD


Ignore:
Timestamp:
Aug 26, 2005, 11:42:42 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: made the Functor-List external

Location:
trunk/src
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Makefile.am

    r5129 r5133  
    142142                 defs/compiler.h \
    143143                 defs/class_id.h \
     144                 defs/functor_list.h \
    144145                 lib/coord/p_node.h \
    145146                 lib/coord/null_parent.h \
  • trunk/src/Makefile.in

    r5129 r5133  
    402402                 defs/compiler.h \
    403403                 defs/class_id.h \
     404                 defs/functor_list.h \
    404405                 lib/coord/p_node.h \
    405406                 lib/coord/null_parent.h \
  • trunk/src/util/loading/load_param.h

    r5129 r5133  
    356356
    357357
    358   //! makes functions with one string loadable
    359   LoadParam1(l_STRING);
    360   //! makes functions with two strings loadable
    361   LoadParam2(l_STRING, l_STRING);
    362   //! makes functions with three strings loadable
    363   LoadParam3(l_STRING, l_STRING, l_STRING);
    364   //! makes functions with four strings loadable
    365   LoadParam4(l_STRING, l_STRING, l_STRING, l_STRING);
    366 
    367   //! makes functions with one bool loadeable
    368   LoadParam1(l_BOOL);
    369 
    370   //! makes functions with one int loadable
    371   LoadParam1(l_INT);
    372   //! makes functions with two ints loadable
    373   LoadParam2(l_INT, l_INT);
    374   //! makes functions with three ints loadable
    375   LoadParam3(l_INT, l_INT, l_INT);
    376   //! makes functions with four ints loadable
    377   LoadParam4(l_INT, l_INT, l_INT, l_INT);
    378 
    379 
    380   //! makes functions with one unsigned int loadable
    381   LoadParam1(l_UINT);
    382   //! makes functions with two unsigned ints loadable
    383   LoadParam2(l_UINT, l_UINT);
    384   //! makes functions with three unsigned ints loadable
    385   LoadParam3(l_UINT, l_UINT, l_UINT);
    386   //! makes functions with four unsigned ints loadable
    387   LoadParam4(l_UINT, l_UINT, l_UINT, l_UINT);
    388 
    389   //! makes functions with one float loadable
    390   LoadParam1(l_FLOAT);
    391   //! makes functions with two floats loadable
    392   LoadParam2(l_FLOAT, l_FLOAT);
    393   //! makes functions with three floats loadable
    394   LoadParam3(l_FLOAT, l_FLOAT, l_FLOAT);
    395   //! makes functions with four floats loadable
    396   LoadParam4(l_FLOAT, l_FLOAT, l_FLOAT, l_FLOAT);
    397   //! makes functions with four floats loadable
    398   LoadParam5(l_FLOAT, l_FLOAT, l_FLOAT, l_FLOAT, l_FLOAT);
    399 
    400   //! mixed values:
    401   LoadParam2(l_STRING, l_FLOAT);
     358#define FUNCTOR_LIST(x)    LoadParam ## x
     359#include "functor_list.h"
     360#undef FUNCTOR_LIST
    402361
    403362  //! makes functions with one Vector loadable
Note: See TracChangeset for help on using the changeset viewer.