| 
                Last change
                  on this file since 10272 was
                  7954,
                  checked in by patrick, 19 years ago
           | 
        
        
          | 
               
trunk: merged the network branche back to trunk. 
 
           | 
        
        | 
            File size:
            445 bytes
           | 
      
      
        
  | Line |   | 
|---|
| 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 | 
|---|
| 13 |   { | 
|---|
| 14 |   public: | 
|---|
| 15 |     SimpleSync( std::string name); | 
|---|
| 16 |     SimpleSync(const TiXmlElement* root = NULL); | 
|---|
| 17 |     virtual ~SimpleSync(); | 
|---|
| 18 |      | 
|---|
| 19 |     void debug(); | 
|---|
| 20 |  | 
|---|
| 21 |  | 
|---|
| 22 |   private: | 
|---|
| 23 |     int in; | 
|---|
| 24 |     int out; | 
|---|
| 25 |     std::string syncStr; | 
|---|
| 26 |     int id; | 
|---|
| 27 |   }; | 
|---|
| 28 |  | 
|---|
| 29 | #endif /* _SIMPLE_SYNC */ | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.