Changeset 2575 for code/branches/presentation/src/network/synchronisable
- Timestamp:
- Jan 6, 2009, 9:39:41 PM (16 years ago)
- Location:
- code/branches/presentation/src/network/synchronisable
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation/src/network/synchronisable/Synchronisable.cc
r2540 r2575 422 422 } 423 423 424 bool Synchronisable::doSelection(int32_t id){425 return true; //TODO: change this426 //return ( id==0 || id%objectFrequency_==objectID%objectFrequency_ ) && ((objectMode_&state_)!=0);427 }428 429 424 /** 430 425 * This function looks at the header located in the bytestream and checks wheter objectID and classID match with the Synchronisables ones -
code/branches/presentation/src/network/synchronisable/Synchronisable.h
r2485 r2575 118 118 uint32_t getSize(int32_t id, uint8_t mode=0x0); 119 119 bool updateData(uint8_t*& mem, uint8_t mode=0x0, bool forceCallback=false); 120 bool isMyData(uint8_t* mem); 121 bool doSelection(int32_t id); 122 bool doSync(int32_t id, uint8_t mode=0x0); 120 inline bool isMyData(uint8_t* mem); 121 inline bool doSync(int32_t id, uint8_t mode=0x0); 123 122 124 123 uint32_t objectID; -
code/branches/presentation/src/network/synchronisable/SynchronisableVariable.h
r2371 r2575 75 75 76 76 virtual inline uint8_t getMode(){ return mode_; } 77 virtual void getData(uint8_t*& mem, uint8_t mode);77 virtual inline void getData(uint8_t*& mem, uint8_t mode); 78 78 virtual inline void putData(uint8_t*& mem, uint8_t mode, bool forceCallback = false); 79 virtual uint32_t getSize(uint8_t mode);79 virtual inline uint32_t getSize(uint8_t mode); 80 80 virtual inline void* getReference(){ return (void *)&this->variable_; } 81 81 protected:
Note: See TracChangeset
for help on using the changeset viewer.