source:
orxonox.OLD/branches/network/src/lib/network/synchronizeable.h
@
5564
Last change on this file since 5564 was 5564, checked in by snellen, 19 years ago | |
---|---|
File size: 582 bytes |
Rev | Line | |
---|---|---|
[5523] | 1 | /*! |
2 | * @file connection_monitor.h | |
[5550] | 3 | \brief interface for all classes that have to be synchronized |
[5547] | 4 | */ |
[5523] | 5 | |
[5547] | 6 | #ifndef _SYNCHRONIZEABLE_H |
7 | #define _SYNCHRONIZEABLE_H | |
[5523] | 8 | |
[5548] | 9 | #include <base_object.h> |
[5547] | 10 | #include "netdefs.h" |
11 | ||
[5548] | 12 | class Synchronizeable : public BaseObject |
[5523] | 13 | { |
14 | public: | |
15 | ||
[5547] | 16 | Synchronizeable(); |
17 | ~Synchronizeable(); | |
[5523] | 18 | |
[5564] | 19 | virtual void writeByteStream(byte* data); |
20 | virtual byte* readByteStream(); | |
[5547] | 21 | virtual void writeDebug(); |
22 | virtual void readDebug(); | |
23 | ||
24 | ||
[5523] | 25 | private: |
26 | ||
[5547] | 27 | int uniqueID; |
28 | ||
[5529] | 29 | }; |
30 | ||
[5548] | 31 | #endif /* _SYNCHRONIZEABLE_H */ |
Note: See TracBrowser
for help on using the repository browser.