Changeset 5822 in orxonox.OLD for trunk/src/lib
- Timestamp:
- Nov 29, 2005, 2:22:37 PM (19 years ago)
- Location:
- trunk/src/lib
- Files:
-
- 2 deleted
- 2 edited
- 18 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/Makefile.am
r5691 r5822 13 13 particles/libORXparticles.a \ 14 14 collision_detection/libORXcd.a \ 15 network/libORXnet.a \ 15 16 graphics/spatial_separation/libORXquadtree.a \ 16 17 tinyxml/libtinyxml.a \ … … 26 27 particles/libORXparticles.a \ 27 28 collision_detection/libORXcd.a \ 29 network/libORXnet.a \ 28 30 graphics/spatial_separation/libORXquadtree.a \ 29 31 tinyxml/libtinyxml.a \ … … 72 74 particles \ 73 75 collision_detection \ 76 network \ 74 77 tinyxml \ 75 78 shell \ -
trunk/src/lib/lang/class_list.cc
r5793 r5822 28 28 using namespace std; 29 29 30 #ifndef NO_SHELL_COMMAND 30 31 SHELL_COMMAND_STATIC(debug, ClassList, ClassList::debugS) 31 32 ->describe("Shows all registered classes, if param1: is a valid ClassName only values of this class are shown. param2: how much output") 32 33 ->defaultValues(2, NULL, 1); 34 #endif 33 35 34 36 /** -
trunk/src/lib/network/Makefile.in
r5821 r5822 1 # Makefile.in generated by automake 1.9. 5from Makefile.am.1 # Makefile.in generated by automake 1.9.6 from Makefile.am. 2 2 # @configure_input@ 3 3 … … 15 15 @SET_MAKE@ 16 16 17 18 SOURCES = $(libORXnet_a_SOURCES)19 17 20 18 srcdir = @srcdir@ -
trunk/src/lib/network/network_manager.cc
r5821 r5822 22 22 23 23 #include "network_stream.h" 24 #include "list.h"25 24 #include "class_list.h" 26 25 … … 162 161 if (this->netStreamList != NULL || (this->netStreamList = ClassList::getList(CL_NETWORK_STREAM)) != NULL) 163 162 { 164 tIterator<BaseObject>* iterator = this->netStreamList->getIterator(); 165 NetworkStream* stream = (NetworkStream*)(iterator->firstElement()); 166 while( stream) 167 { 168 stream->processData(); 169 stream = (NetworkStream*)(iterator->nextElement()); 170 } 171 delete iterator; 163 std::list<BaseObject*>::iterator stream; 164 for (stream = this->netStreamList->begin(); stream != this->netStreamList->end(); ++stream) 165 static_cast<NetworkStream*>(*stream)->processData(); 172 166 } 173 167 174 168 } 175 176 -
trunk/src/lib/network/network_manager.h
r5821 r5822 41 41 42 42 private: 43 tList<BaseObject>* netStreamList; // list with refs to all network streams44 tList<BaseObject>*syncList; // list of synchronizeables43 std::list<BaseObject*>* netStreamList; // list with refs to all network streams 44 std::list<BaseObject*>* syncList; // list of synchronizeables 45 45 46 46 }; -
trunk/src/lib/network/network_socket.h
r5821 r5822 23 23 24 24 #ifdef HAVE_SDL_H 25 #include <SDL_Thread.h>25 #include <SDL_thread.h> 26 26 #else 27 #include <SDL/SDL_thread.h>27 #include <SDL/SDL_thread.h> 28 28 #endif 29 29 /* include this file, it contains some default definitions */
Note: See TracChangeset
for help on using the changeset viewer.