Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 19, 2008, 1:36:13 AM (16 years ago)
Author:
landauf
Message:

added option "forceCallback" to updateData(…) in Synchronisable to get a callback when synchronizing a variable for the first time (even if it didn't changed)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy/src/network/Synchronisable.h

    r1940 r1945  
    117117    bool getData(uint8_t*& men, unsigned int id, int mode=0x0);
    118118    uint32_t getSize(unsigned int id, int mode=0x0);
    119     bool updateData(uint8_t*& mem, int mode=0x0);
     119    bool updateData(uint8_t*& mem, int mode=0x0, bool forceCallback=false);
    120120    bool isMyData(uint8_t* mem);
    121121    bool doSelection(unsigned int id);
Note: See TracChangeset for help on using the changeset viewer.