Last change
on this file since 5924 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:
617 bytes
|
Line | |
---|
1 | /*! |
---|
2 | * @file connection_monitor.h |
---|
3 | \brief interface for all classes that have to be synchronized |
---|
4 | */ |
---|
5 | |
---|
6 | #ifndef _SYNCHRONIZEABLE_H |
---|
7 | #define _SYNCHRONIZEABLE_H |
---|
8 | |
---|
9 | #include <base_object.h> |
---|
10 | #include "netdefs.h" |
---|
11 | |
---|
12 | class Synchronizeable : virtual public BaseObject |
---|
13 | { |
---|
14 | public: |
---|
15 | |
---|
16 | Synchronizeable(const char* name); |
---|
17 | ~Synchronizeable(); |
---|
18 | |
---|
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 | |
---|
24 | private: |
---|
25 | |
---|
26 | int uniqueID; |
---|
27 | |
---|
28 | }; |
---|
29 | #endif /* _SYNCHRONIZEABLE_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.