Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/lib/util/executor/functor_static.h @ 9869

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

orxonox/trunk: merged the new_class_id branche back to the trunk.
merged with command:
svn merge https://svn.orxonox.net/orxonox/branches/new_class_id trunk -r9683:HEAD
no conflicts… puh..

File size: 1.4 KB
RevLine 
[4838]1/*!
[9748]2 * @file functor_static.h
3 * Definition of Functors to Functions of Static Type
[5391]4 */
[1853]5
[7716]6/*
7   orxonox - the future of 3D-vertical-scrollers
[1853]8
[7716]9   Copyright (C) 2004 orx
[1853]10
[7716]11   This program is free software; you can redistribute it and/or modify
12   it under the terms of the GNU General Public License as published by
13   the Free Software Foundation; either version 2, or (at your option)
14   any later version.
[5141]15
[7716]16### File Specific:
17   main-programmer: Benjamin Grauer
18   co-programmer: ...
19*/
[5652]20
[5328]21
[9740]22#ifndef __FUNCTOR_STATIC_H_
23#define __FUNCTOR_STATIC_H_
[5641]24
[9740]25#include "executor_static.h"
[5641]26
[9740]27/// Define all Constructs, that define an Executor.
28//! The Name to be attached to the functional (for normal, static, and const modes)
[9745]29#define __EXECUTOR_FUNCTIONAL_NAME(ParamCount, Ext)   Executor##ParamCount##Ext##_static
[9740]30//! if Functional is constant calling
31#define __EXECUTOR_FUNCTIONAL_CONST
32//! The Function-Pointer, and how to save it internally.
33#define __EXECUTOR_FUNCTIONAL_FUNCTION_POINTER   *functionPointer
34//! The Type of Function
35#define __EXECUTOR_FUNCTIONAL_FUNCTIONTYPE       Executor<CallType, BaseClass>::FunctionStatic
[5641]36
[9740]37/// Now we include The generic Functor, that generate the functions.
38#include "functor_generic.h"
[5326]39
[7718]40
[9740]41#undef __EXECUTOR_FUNCTIONAL_NAME
42#undef __EXECUTOR_FUNCTIONAL_CONST
43#undef __EXECUTOR_FUNCTIONAL_FUNCTION_POINTER
44#undef __EXECUTOR_FUNCTIONAL_FUNCTIONTYPE
[7718]45
46
47
[9740]48#endif /* __FUNCTOR_STATIC_H_ */
Note: See TracBrowser for help on using the repository browser.