| 
                Last change
                  on this file since 5964 was
                  5822,
                  checked in by bensch, 20 years ago
           | 
        
        
          | 
               
orxonox/trunk: merged branches/network to the trunk 
merged with command: 
svn merge -r 5505:HEAD branches/network trunk 
 
conflicts resolved in favor of the trunk (as always   
also fixed a typo in the #include "SDL_tread.h" 
 
           | 
        
        | 
            File size:
            948 bytes
           | 
      
      
        
  | Line |   | 
|---|
| 1 | /* | 
|---|
| 2 |    orxonox - the future of 3D-vertical-scrollers | 
|---|
| 3 |  | 
|---|
| 4 |    Copyright (C) 2004 orx | 
|---|
| 5 |  | 
|---|
| 6 |    This program is free software; you can redistribute it and/or modify | 
|---|
| 7 |    it under the terms of the GNU General Public License as published by | 
|---|
| 8 |    the Free Software Foundation; either version 2, or (at your option) | 
|---|
| 9 |    any later version. | 
|---|
| 10 |  | 
|---|
| 11 |  | 
|---|
| 12 | ### File Specific: | 
|---|
| 13 |    main-programmer: Silvan Nellen | 
|---|
| 14 |    co-programmer: ... | 
|---|
| 15 | */ | 
|---|
| 16 |  | 
|---|
| 17 | #include "synchronizeable.h" | 
|---|
| 18 | #include "netdefs.h" | 
|---|
| 19 |  | 
|---|
| 20 | /** | 
|---|
| 21 |  *  default constructor | 
|---|
| 22 |  */ | 
|---|
| 23 | Synchronizeable::Synchronizeable(const char* name) | 
|---|
| 24 | { | 
|---|
| 25 |   this->setName(name); | 
|---|
| 26 | } | 
|---|
| 27 |  | 
|---|
| 28 | /** | 
|---|
| 29 |  *  default destructor deletes all unneded stuff | 
|---|
| 30 |  */ | 
|---|
| 31 | Synchronizeable::~Synchronizeable() | 
|---|
| 32 | {} | 
|---|
| 33 |  | 
|---|
| 34 | /** | 
|---|
| 35 |  *  write data to NetworkStream | 
|---|
| 36 |  */ | 
|---|
| 37 | void Synchronizeable::writeBytes(const byte* data, int length) | 
|---|
| 38 | {} | 
|---|
| 39 |  | 
|---|
| 40 | /** | 
|---|
| 41 |  *  read data from NetworkStream | 
|---|
| 42 |  */ | 
|---|
| 43 | int Synchronizeable::readBytes(byte* data) const | 
|---|
| 44 | {} | 
|---|
| 45 |  | 
|---|
| 46 |  | 
|---|
| 47 | void Synchronizeable::writeDebug() const | 
|---|
| 48 | {} | 
|---|
| 49 |  | 
|---|
| 50 |  | 
|---|
| 51 | void Synchronizeable::readDebug() const | 
|---|
| 52 | {} | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.