Changeset 5806 in orxonox.OLD for branches/network/src/lib
- Timestamp:
- Nov 28, 2005, 6:49:58 PM (19 years ago)
- Location:
- branches/network/src/lib/network
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/synchronizeable.cc
r5804 r5806 40 40 \brief write data to NetworkStream 41 41 */ 42 void Synchronizeable::writeBytes( byte* data, int length)42 void Synchronizeable::writeBytes(const byte* data, int length) 43 43 { 44 44 … … 51 51 \brief read data from NetworkStream 52 52 */ 53 int Synchronizeable::readBytes(byte* data) 53 int Synchronizeable::readBytes(byte* data) const 54 54 { 55 55 … … 59 59 } 60 60 61 void Synchronizeable::writeDebug() 61 void Synchronizeable::writeDebug() const 62 62 { 63 63 64 64 } 65 65 66 void Synchronizeable::readDebug() 66 void Synchronizeable::readDebug() const 67 67 { 68 68 -
branches/network/src/lib/network/synchronizeable.h
r5804 r5806 17 17 ~Synchronizeable(); 18 18 19 virtual void writeBytes( byte* data, int length);20 virtual int readBytes(byte* data) ;21 virtual void writeDebug() ;22 virtual void readDebug() ;19 virtual void writeBytes(const byte* data, int length); 20 virtual int readBytes(byte* data) const; 21 virtual void writeDebug() const; 22 virtual void readDebug() const; 23 23 24 inline const char* getName() { return this->name; }24 inline const char* getName() const { return this->name; } 25 25 26 26 private:
Note: See TracChangeset
for help on using the changeset viewer.