Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 8, 2008, 8:36:27 PM (16 years ago)
Author:
scheusso
Message:

merged network branch to network64 branch
not everything working yet (trafficcontrol)

Location:
code/branches/network64/src/network/synchronisable
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network64/src/network/synchronisable/Synchronisable.cc

    r2316 r2355  
    5353namespace orxonox
    5454{
    55 
    5655
    5756  std::map<uint32_t, Synchronisable *> Synchronisable::objectMap_;
  • code/branches/network64/src/network/synchronisable/Synchronisable.h

    r2309 r2355  
    5353namespace orxonox
    5454{
    55   static const uint32_t OBJECTID_UNKNOWN = static_cast<uint32_t>(-1);
    5655
    5756  namespace objectDirection{
     
    9291
    9392    inline uint32_t getObjectID(){return objectID;}
     93    inline unsigned int getCreatorID(){return creatorID;}
    9494    inline uint32_t getClassID(){return classID;}
     95    inline unsigned int getPriority(){ return objectFrequency_;}
     96
    9597  protected:
    9698    Synchronisable(BaseObject* creator);
     
    99101    template <class T> void unregisterVariable(T& var);
    100102    void setObjectMode(uint8_t mode);
    101     void setObjectFrequency(unsigned int freq){ objectFrequency_ = freq; }
     103    void setObjectPriority(unsigned int freq){ objectFrequency_ = freq; }
    102104
    103105
Note: See TracChangeset for help on using the changeset viewer.