source:
orxonox.OLD/trunk/src/subprojects/network/simple_sync.h
@
10768
Last change on this file since 10768 was 7954, checked in by patrick, 19 years ago | |
---|---|
File size: 445 bytes |
Rev | Line | |
---|---|---|
[5650] | 1 | /*! |
2 | * @file simple_sync.h | |
3 | * implementation of a network sync test | |
4 | */ | |
5 | ||
6 | #ifndef _SIMPLE_SYNC | |
7 | #define _SIMPLE_SYNC | |
8 | ||
9 | #include "synchronizeable.h" | |
10 | ||
11 | ||
12 | class SimpleSync : public Synchronizeable | |
[5807] | 13 | { |
[5650] | 14 | public: |
[7954] | 15 | SimpleSync( std::string name); |
16 | SimpleSync(const TiXmlElement* root = NULL); | |
[6981] | 17 | virtual ~SimpleSync(); |
[7954] | 18 | |
19 | void debug(); | |
[5800] | 20 | |
21 | ||
[5650] | 22 | private: |
[7954] | 23 | int in; |
24 | int out; | |
25 | std::string syncStr; | |
26 | int id; | |
[5807] | 27 | }; |
[5650] | 28 | |
29 | #endif /* _SIMPLE_SYNC */ |
Note: See TracBrowser
for help on using the repository browser.