Changeset 1747 for code/trunk/src/core/TclThreadManager.h
- Timestamp:
- Sep 9, 2008, 4:25:52 AM (17 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/core3 (added) merged: 1573-1574,1583-1586,1591-1594,1596-1597,1603,1606-1607,1610-1611,1655,1658,1676-1679,1681-1685,1687,1716-1723,1725-1729,1736
- Property svn:mergeinfo changed
-
code/trunk/src/core/TclThreadManager.h
r1625 r1747 69 69 class _CoreExport TclThreadManager : public OrxonoxClass 70 70 { 71 friend class IRC; 72 friend class TclBind; 73 71 74 public: 72 75 static TclThreadManager& getInstance(); … … 81 84 static void flush(unsigned int threadID); 82 85 86 void error(const std::string& error); 87 void debug(const std::string& error); 88 89 virtual void tick(float dt); 90 91 std::list<unsigned int> getThreadList() const; 92 93 private: 94 TclThreadManager(); 95 TclThreadManager(const TclThreadManager& other); 96 ~TclThreadManager(); 97 83 98 static void tcl_execute(Tcl::object const &args); 84 99 static std::string tcl_query(int querierID, Tcl::object const &args); … … 89 104 TclInterpreterBundle* getInterpreterBundle(unsigned int threadID); 90 105 std::string dumpList(const std::list<unsigned int>& list); 91 void error(const std::string& error);92 void debug(const std::string& error);93 106 94 107 void pushCommandToQueue(const std::string& command); … … 105 118 std::string evalQuery(unsigned int querierID, const std::string& command); 106 119 std::string evalQuery(unsigned int querierID, unsigned int threadID, const std::string& command); 107 108 virtual void tick(float dt);109 110 std::list<unsigned int> getThreadList() const;111 112 private:113 TclThreadManager();114 TclThreadManager(const TclThreadManager& other);115 ~TclThreadManager() {}116 120 117 121 unsigned int threadCounter_;
Note: See TracChangeset
for help on using the changeset viewer.