Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/new_class_id/src/lib/util/executor/executor.cc @ 9748

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

completely documented Executors

File size: 1.4 KB
Line 
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.
10
11   ### File Specific:
12   main-programmer: Benjamin Grauer
13   co-programmer: ...
14*/
15
16//#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_
17
18#include "executor.h"
19
20/** @returns the Type of an Argument taken by the Executor in this case MT_BOOL */
21template<> MT_Type ExecutorParamType<bool>() { return MT_BOOL; };
22/** @returns the Type of an Argument taken by the Executor in this case MT_INT*/
23template<> MT_Type ExecutorParamType<int>() { return MT_INT; };
24/** @returns the Type of an Argument taken by the Executor in this case MT_UINT*/
25template<> MT_Type ExecutorParamType<unsigned int>() { return MT_UINT; };
26/** @returns the Type of an Argument taken by the Executor in this case MT_FLOAT*/
27template<> MT_Type ExecutorParamType<float>() { return MT_FLOAT; };
28/** @returns the Type of an Argument taken by the Executor in this case MT_CHAR*/
29template<> MT_Type ExecutorParamType<char>() { return MT_CHAR; };
30/** @returns the Type of an Argument taken by the Executor in this case MT_STRING*/
31template<> MT_Type ExecutorParamType<const std::string&>() { return MT_STRING; };
Note: See TracBrowser for help on using the repository browser.