Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/lib/network/synchronizeable.cc @ 5957

Last change on this file since 5957 was 5822, checked in by bensch, 19 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
RevLine 
[5523]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
[5547]11
[5523]12### File Specific:
13   main-programmer: Silvan Nellen
14   co-programmer: ...
[5547]15*/
[5523]16
[5547]17#include "synchronizeable.h"
18#include "netdefs.h"
[5529]19
[5547]20/**
[5807]21 *  default constructor
[5547]22 */
[5804]23Synchronizeable::Synchronizeable(const char* name)
[5523]24{
[5807]25  this->setName(name);
[5523]26}
27
[5547]28/**
[5807]29 *  default destructor deletes all unneded stuff
[5547]30 */
31Synchronizeable::~Synchronizeable()
[5807]32{}
[5523]33
[5547]34/**
[5807]35 *  write data to NetworkStream
[5547]36 */
[5807]37void Synchronizeable::writeBytes(const byte* data, int length)
38{}
[5523]39
[5547]40/**
[5807]41 *  read data from NetworkStream
[5547]42 */
[5807]43int Synchronizeable::readBytes(byte* data) const
44{}
[5547]45
46
[5807]47void Synchronizeable::writeDebug() const
48{}
[5547]49
50
[5807]51void Synchronizeable::readDebug() const
52{}
Note: See TracBrowser for help on using the repository browser.