Changeset 3119 for code/branches/netp4/src/orxonox/gamestates/GSDedicated.h
- Timestamp:
- Jun 7, 2009, 1:54:02 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/netp4/src/orxonox/gamestates/GSDedicated.h
r2896 r3119 33 33 #include "core/GameState.h" 34 34 #include "network/NetworkPrereqs.h" 35 #include <queue> 36 #include <cstring> 37 #include <boost/thread/thread.hpp> 38 #include <boost/thread/mutex.hpp> 39 #include <boost/thread/recursive_mutex.hpp> 35 40 36 41 namespace orxonox … … 47 52 48 53 private: 49 Server* server_; 50 float timeSinceLastUpdate_; 54 void inputThread(); 55 void printLine(); 56 void processQueue(); 57 58 Server* server_; 59 float timeSinceLastUpdate_; 60 61 boost::thread *inputThread_; 62 // boost::recursive_mutex inputLineMutex_; 63 boost::recursive_mutex inputQueueMutex_; 64 bool closeThread_; 65 bool cleanLine_; 66 unsigned char* commandLine_; 67 unsigned int inputIterator_; 68 std::queue<std::string> commandQueue_; 69 51 70 }; 52 71 }
Note: See TracChangeset
for help on using the changeset viewer.