Last change
on this file since 9736 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
|
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 | 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.