Changeset 5548 in orxonox.OLD for branches/network/src/lib
- Timestamp:
- Nov 11, 2005, 5:19:42 PM (19 years ago)
- Location:
- branches/network/src/lib/network
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/synchronizeable.cc
r5547 r5548 19 19 20 20 /** 21 \brief default destructor deletes all unneded stuff21 \brief default constructor 22 22 */ 23 23 Synchronizeable::Synchronizeable() … … 41 41 \brief write data to NetworkStream 42 42 */ 43 virtual byte[]Synchronizeable::writeByteStream()43 byte* Synchronizeable::writeByteStream() 44 44 { 45 45 … … 52 52 \brief read Data from NetworkStream 53 53 */ 54 v irtual void Synchronizeable::readByteStream(byte[]data)54 void Synchronizeable::readByteStream(byte* data) 55 55 { 56 56 … … 60 60 } 61 61 62 v irtual void Synchronizeable::writeDebug()62 void Synchronizeable::writeDebug() 63 63 { 64 64 65 65 } 66 66 67 v irtual void Synchronizeable::readDebug()67 void Synchronizeable::readDebug() 68 68 { 69 69 -
branches/network/src/lib/network/synchronizeable.h
r5547 r5548 7 7 #define _SYNCHRONIZEABLE_H 8 8 9 #include < class_list.h>9 #include <base_object.h> 10 10 #include "netdefs.h" 11 11 12 12 13 class Synchronizeable : public ClassList13 class Synchronizeable : public BaseObject 14 14 { 15 15 public: … … 18 18 ~Synchronizeable(); 19 19 20 virtual byte []writeByteStream();21 virtual void readByteStream(byte []data);20 virtual byte* writeByteStream(); 21 virtual void readByteStream(byte* data); 22 22 virtual void writeDebug(); 23 23 virtual void readDebug(); … … 30 30 }; 31 31 32 #endif /* _SYNCHRONIZEABLE_H 32 #endif /* _SYNCHRONIZEABLE_H */
Note: See TracChangeset
for help on using the changeset viewer.