Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5548 in orxonox.OLD for branches/network


Ignore:
Timestamp:
Nov 11, 2005, 5:19:42 PM (19 years ago)
Author:
snellen
Message:

synchronizeable.cc and synchronizeable.h should now compile

Location:
branches/network/src/lib/network
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/lib/network/synchronizeable.cc

    r5547 r5548  
    1919
    2020/**
    21                    \brief default destructor deletes all unneded stuff
     21                   \brief default constructor
    2222 */
    2323Synchronizeable::Synchronizeable()
     
    4141                          \brief write data to NetworkStream
    4242 */
    43 virtual byte[] Synchronizeable::writeByteStream()
     43 byte* Synchronizeable::writeByteStream()
    4444{
    4545
     
    5252                                 \brief read Data from NetworkStream
    5353 */
    54  virtual void Synchronizeable::readByteStream(byte[] data)
     54 void Synchronizeable::readByteStream(byte* data)
    5555{
    5656
     
    6060}
    6161
    62  virtual void Synchronizeable::writeDebug()
     62 void Synchronizeable::writeDebug()
    6363{
    6464
    6565}
    6666
    67  virtual void Synchronizeable::readDebug()
     67 void Synchronizeable::readDebug()
    6868{
    6969
  • branches/network/src/lib/network/synchronizeable.h

    r5547 r5548  
    77#define _SYNCHRONIZEABLE_H
    88
    9 #include <class_list.h>
     9#include <base_object.h>
    1010#include "netdefs.h"
    1111
    1212
    13 class Synchronizeable: public ClassList
     13class Synchronizeable : public BaseObject
    1414{
    1515        public:
     
    1818                   ~Synchronizeable();
    1919
    20  virtual byte[]    writeByteStream();
    21  virtual void      readByteStream(byte[] data);
     20 virtual byte*    writeByteStream();
     21 virtual void      readByteStream(byte* data);
    2222 virtual void      writeDebug();
    2323 virtual void      readDebug();
     
    3030};
    3131
    32 #endif /* _SYNCHRONIZEABLE_H
     32#endif /* _SYNCHRONIZEABLE_H */
Note: See TracChangeset for help on using the changeset viewer.