Changeset 9406 in orxonox.OLD for trunk/src/lib/network/synchronizeable_var/synchronizeable_vector.h
- Timestamp:
- Jul 24, 2006, 11:09:47 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/network/synchronizeable_var/synchronizeable_vector.h
r7954 r9406 4 4 */ 5 5 6 #include "synchronizeable_var/synchronizeable_var.h"7 8 6 #ifndef _SYNCHRONIZEABLE_VECTOR_H 9 7 #define _SYNCHRONIZEABLE_VECTOR_H 8 9 #include "synchronizeable_var.h" 10 10 11 11 #include "vector.h" … … 14 14 15 15 public: 16 SynchronizeableVector( Vector * ptrIn, Vector * ptrOut, std::string name, int permission = PERMISSION_ SERVER, int priority = 0 );16 SynchronizeableVector( Vector * ptrIn, Vector * ptrOut, std::string name, int permission = PERMISSION_MASTER_SERVER, int priority = 0 ); 17 17 virtual ~SynchronizeableVector(); 18 18 19 19 virtual int writeToBuf( byte * buf, int maxLength ); 20 20 virtual int readFromBuf( byte * buf, int maxLength ); 21 21 22 22 /** 23 23 * check if writeToBuf will return the same size every time … … 25 25 */ 26 26 virtual bool hasStaticSize(){ return true; } 27 27 28 28 virtual void debug(); 29 29 30 30 private: 31 31 Vector * vPtrIn; //!< pointer to data (read)
Note: See TracChangeset
for help on using the changeset viewer.