- Timestamp:
- Dec 16, 2008, 6:01:13 PM (17 years ago)
- Location:
- code/branches/presentation
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation
-
code/branches/presentation/src/network/synchronisable/Synchronisable.h
r2459 r2485 61 61 }; 62 62 } 63 63 64 64 namespace priority{ 65 65 enum prio{ … … 100 100 static uint32_t popDeletedObject(){ uint32_t i = deletedObjects_.front(); deletedObjects_.pop(); return i; } 101 101 102 inline uint32_t getObjectID() {return objectID;}103 inline unsigned int getCreatorID() {return creatorID;}104 inline uint32_t getClassID() {return classID;}105 inline unsigned int getPriority() { return objectFrequency_;}102 inline uint32_t getObjectID() const {return objectID;} 103 inline unsigned int getCreatorID() const {return creatorID;} 104 inline uint32_t getClassID() const {return classID;} 105 inline unsigned int getPriority() const { return objectFrequency_;} 106 106 107 107 protected: … … 134 134 static std::queue<uint32_t> deletedObjects_; 135 135 }; 136 136 137 137 template <class T> void Synchronisable::registerVariable(T& variable, uint8_t mode, NetworkCallbackBase *cb, bool bidirectional) 138 138 { … … 158 158 // the variable has not been registered before 159 159 } 160 160 161 161 // ================= Specialisation declarations 162 162 template <> _NetworkExport void Synchronisable::registerVariable( const ColourValue& variable, uint8_t mode, NetworkCallbackBase* cb, bool bidirectional);
Note: See TracChangeset
for help on using the changeset viewer.