Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 24, 2009, 11:27:14 PM (15 years ago)
Author:
scheusso
Message:

some cleaning up

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/netp3/src/network/synchronisable/SynchronisableVariable.h

    r2991 r3045  
    8181      virtual inline void* getReference(){ return (void *)&this->variable_; }
    8282    protected:
    83 //       inline bool checkEquality(uint8_t* mem);
    84 //       inline void loadAndIncrease(uint8_t*& mem);
    85 //       inline void saveAndIncrease(uint8_t*& mem);
    86 //       inline uint32_t returnSize();
    8783     
    8884      T& variable_;
     
    133129    else
    134130      return 0;
    135 //   mem += SynchronisableVariable<T>::getSize();
    136131  }
    137132
     
    192187  // now write the content
    193188      saveAndIncrease( this->variable_, mem );
    194 //   mem += SynchronisableVariable<T>::getSize();
    195189      return SynchronisableVariableBidirectional::getSize(mode);
    196190    }
     
    204198        if ( *static_cast<uint8_t*>(mem) != this->varReference_ )
    205199        { // wrong reference number, so discard the data
     200//           COUT(0) << "discharding data" << endl;
    206201          mem += getSize( mode ); // SynchronisableVariableBidirectional::getSize returns size of variable + reference
    207202          return;
     
    247242      if ( callback )
    248243        NetworkCallbackManager::triggerCallback( this->callback_ );
    249         //this->callback_->call();
    250244    }
    251245
     
    258252}
    259253
    260 //#include "network/synchronisable/SynchronisableVariableSpecialisations.h"
    261254
    262255#endif
Note: See TracChangeset for help on using the changeset viewer.