Changeset 3360 for code/branches/resource/src/core/TclThreadManager.h
- Timestamp:
- Jul 28, 2009, 5:04:38 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/resource/src/core/TclThreadManager.h
r3359 r3360 39 39 #include "OrxonoxClass.h" 40 40 41 class Tcl_Interp; 42 41 43 namespace orxonox 42 44 { … … 45 47 friend class TclBind; 46 48 friend _CoreExport void tclThread(TclInterpreterBundle* bundle, std::string command); 49 friend _CoreExport void sourceThread(std::string file); 50 friend _CoreExport int Tcl_OrxonoxAppInit(Tcl_Interp* interp); 47 51 48 52 public: … … 57 61 static void execute(unsigned int target_id, const std::string& command); 58 62 static std::string query(unsigned int target_id, const std::string& command); 63 static void source(const std::string& file); 59 64 60 void error(const std::string& error);61 void debug(const std::string& error);65 static void error(const std::string& error); 66 static void debug(const std::string& error); 62 67 63 68 void update(const Clock& time); … … 78 83 std::string dumpList(const std::list<unsigned int>& list); 79 84 80 std::string eval(TclInterpreterBundle* bundle, const std::string& command); 85 static void initialize(TclInterpreterBundle* bundle); 86 static std::string eval(TclInterpreterBundle* bundle, const std::string& command, const std::string& action); 81 87 82 88 static TclThreadManager* singletonPtr_s; ///< Singleton pointer … … 90 96 91 97 _CoreExport void tclThread(TclInterpreterBundle* bundle, std::string command); 98 _CoreExport void sourceThread(std::string file); 99 _CoreExport int Tcl_OrxonoxAppInit(Tcl_Interp* interp); 92 100 } 93 101
Note: See TracChangeset
for help on using the changeset viewer.