Changeset 2355 for code/branches/network64/src/network/synchronisable
- Timestamp:
- Dec 8, 2008, 8:36:27 PM (16 years ago)
- Location:
- code/branches/network64/src/network/synchronisable
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network64/src/network/synchronisable/Synchronisable.cc
r2316 r2355 53 53 namespace orxonox 54 54 { 55 56 55 57 56 std::map<uint32_t, Synchronisable *> Synchronisable::objectMap_; -
code/branches/network64/src/network/synchronisable/Synchronisable.h
r2309 r2355 53 53 namespace orxonox 54 54 { 55 static const uint32_t OBJECTID_UNKNOWN = static_cast<uint32_t>(-1);56 55 57 56 namespace objectDirection{ … … 92 91 93 92 inline uint32_t getObjectID(){return objectID;} 93 inline unsigned int getCreatorID(){return creatorID;} 94 94 inline uint32_t getClassID(){return classID;} 95 inline unsigned int getPriority(){ return objectFrequency_;} 96 95 97 protected: 96 98 Synchronisable(BaseObject* creator); … … 99 101 template <class T> void unregisterVariable(T& var); 100 102 void setObjectMode(uint8_t mode); 101 void setObject Frequency(unsigned int freq){ objectFrequency_ = freq; }103 void setObjectPriority(unsigned int freq){ objectFrequency_ = freq; } 102 104 103 105
Note: See TracChangeset
for help on using the changeset viewer.