Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/network/src/lib/network/synchronizeable.cc @ 5804

Last change on this file since 5804 was 5804, checked in by patrick, 18 years ago

network: changed the synchronizeable interface, since the data synchronizeables, more debug output

File size: 1.0 KB
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                   \brief default constructor
22 */
23Synchronizeable::Synchronizeable(const char* name)
24{
25  this->name = name;
26}
27
28/**
29                   \brief default destructor deletes all unneded stuff
30 */
31Synchronizeable::~Synchronizeable()
32{
33
34
35
36
37}
38
39/**
40                          \brief write data to NetworkStream
41 */
42 void Synchronizeable::writeBytes(byte* data, int length)
43{
44
45
46
47}
48
49
50/**
51                                 \brief read data from NetworkStream
52 */
53 int Synchronizeable::readBytes(byte* data)
54{
55
56
57
58
59}
60
61 void Synchronizeable::writeDebug()
62{
63
64}
65
66 void Synchronizeable::readDebug()
67{
68
69
70
71
72}
Note: See TracBrowser for help on using the repository browser.