Changeset 2962
- Timestamp:
- 04/27/06 20:18:33 (3 years ago)
- Files:
-
- hydranode/hncore/cgcomm/sub_modules.cpp (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
hydranode/hncore/cgcomm/sub_modules.cpp
r2957 r2962 131 131 uint32_t timer = Utils::getVal<uint32_t>(i); 132 132 133 logDebug("Received request for object " + name);134 133 Object *obj = Object::findObject(id); 135 134 if (!obj) { … … 213 212 } 214 213 Object::Operation op(opName, args); 215 logDebug(216 "Performing operation " + opName217 + " on " + obj->getName()218 );219 214 obj->doOper(op); 220 215 } … … 235 230 236 231 void Modules::sendNotFound(uint32_t id) { 237 logDebug(boost::format("Object id %d was not found.") % id);238 239 232 std::ostringstream tmp; 240 233 Utils::putVal<uint8_t>(tmp, OC_NOTFOUND); … … 244 237 245 238 void Modules::objUpdated(Object *obj, ObjectEvent evt) { 246 logDebug("object was updated.");247 239 if (evt == OBJ_MODIFIED) { 248 240 m_dirty.insert(obj); … … 254 246 sendPacket(tmp.str()); 255 247 m_dirty.erase(obj); 256 logDebug("Sending OBJ_ADDED to gui.");257 248 } else if (evt == OBJ_REMOVED && obj->getParent()) { 258 249 std::ostringstream tmp; … … 261 252 Utils::putVal<uint32_t>(tmp, obj->getId()); 262 253 sendPacket(tmp.str()); 263 logDebug("Sending OBJ_REMOVED to gui.");264 254 m_dirty.erase(obj); 265 255 }
