Last change
on this file since 9745 was
9733,
checked in by bensch, 18 years ago
|
orxonox/new_class_id: removed all the base of Executor.
Now it is purely Templated , since it is not needed otherwise
@note: The Explicit Specializations may not be Templatet and defined in the header, that is why still there exist some cc-file
|
File size:
891 bytes
|
Rev | Line | |
---|
[4744] | 1 | /* |
---|
[1853] | 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. |
---|
[1855] | 10 | |
---|
| 11 | ### File Specific: |
---|
[5068] | 12 | main-programmer: Benjamin Grauer |
---|
[1855] | 13 | co-programmer: ... |
---|
[1853] | 14 | */ |
---|
| 15 | |
---|
[3955] | 16 | //#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_ |
---|
[1853] | 17 | |
---|
[5632] | 18 | #include "executor.h" |
---|
[1853] | 19 | |
---|
[9728] | 20 | template<> MT_Type ExecutorParamType<bool>() { return MT_BOOL; }; |
---|
| 21 | template<> MT_Type ExecutorParamType<int>() { return MT_INT; }; |
---|
| 22 | template<> MT_Type ExecutorParamType<unsigned int>() { return MT_UINT; }; |
---|
| 23 | template<> MT_Type ExecutorParamType<float>() { return MT_FLOAT; }; |
---|
| 24 | template<> MT_Type ExecutorParamType<char>() { return MT_CHAR; }; |
---|
| 25 | template<> MT_Type ExecutorParamType<const std::string&>() { return MT_STRING; }; |
---|
Note: See
TracBrowser
for help on using the repository browser.