Changeset 9386 in orxonox.OLD for branches/proxy/src/lib/network/synchronizeable_var/synchronizeable_bool.h
- Timestamp:
- Jul 21, 2006, 1:41:39 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/synchronizeable_var/synchronizeable_bool.h
r9347 r9386 2 2 * @file synchronizeable_int.h 3 3 * @brief Definition of SynchronizeableInt 4 */ 5 6 #include "synchronizeable_var/synchronizeable_var.h" 4 */ 7 5 8 6 #ifndef _SYNCHRONIZEABLE_BOOL_H 9 7 #define _SYNCHRONIZEABLE_BOOL_H 8 9 #include "synchronizeable_var.h" 10 10 11 11 class SynchronizeableBool : public SynchronizeableVar { … … 14 14 SynchronizeableBool( bool * ptrIn, bool * ptrOut, std::string name, int permission = PERMISSION_MASTER_SERVER, int priority = 0 ); 15 15 virtual ~SynchronizeableBool(); 16 16 17 17 virtual int writeToBuf( byte * buf, int maxLength ); 18 18 virtual int readFromBuf( byte * buf, int maxLength ); 19 19 20 20 /** 21 21 * check if writeToBuf will return the same size every time … … 23 23 */ 24 24 virtual bool hasStaticSize(){ return true; }; 25 25 26 26 virtual void debug(); 27 27 28 28 private: 29 29 bool * vPtrIn; //!< pointer to data (read)
Note: See TracChangeset
for help on using the changeset viewer.