Changeset 5550 in orxonox.OLD for branches/network/src
- Timestamp:
- Nov 11, 2005, 8:05:50 PM (19 years ago)
- Location:
- branches/network/src/lib/network
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/connection_monitor.cc
r5547 r5550 12 12 main-programmer: Silvan Nellen 13 13 co-programmer: ... 14 */ 14 15 15 16 #include "connection_monitor.h" … … 30 31 } 31 32 32 */ 33 -
branches/network/src/lib/network/connection_monitor.h
r5547 r5550 2 2 * @file connection_monitor.h 3 3 \brief provides information about the quality of a connection. 4 */ 4 5 6 #ifndef _CONNECTION_MONITOR_H 7 #define _CONNECTION_MONITOR_H 5 8 9 #include "netdefs.h" 10 //#include "networkstream.h" 6 11 7 12 class ConnectionMonitor … … 10 15 ConnectionMonitor(); 11 16 ~ConnectionMonitor(); 12 NetworkStream& networkStream;13 17 14 18 private: 15 19 16 NetworkStream& networkStream; 20 void processPacket(); 21 void displayStatistic(); 22 23 //NetworkStream& networkStream; 24 25 unsigned int totalReceivedPackets; 26 unsigned int totalLostPackets; 27 unsigned int packetSize; 28 29 unsigned int currentDatarate; 30 unsigned int timeForLastFewPackets; 31 17 32 18 33 }; 19 */ 34 35 #endif 36 -
branches/network/src/lib/network/synchronizeable.h
r5548 r5550 1 1 /*! 2 2 * @file connection_monitor.h 3 \brief provides information about the quality of a connection.3 \brief interface for all classes that have to be synchronized 4 4 */ 5 5 … … 10 10 #include "netdefs.h" 11 11 12 13 12 class Synchronizeable : public BaseObject 14 13 { … … 18 17 ~Synchronizeable(); 19 18 20 virtual byte* writeByteStream();19 virtual byte* writeByteStream(); 21 20 virtual void readByteStream(byte* data); 22 21 virtual void writeDebug();
Note: See TracChangeset
for help on using the changeset viewer.