Definition at line 340 of file DistributedAccess.h. References ILOG_ERROR, and mParts. 00341 { 00342 if (mParts.size() != 1) 00343 { 00344 ILOG_ERROR("[StealPart] Only works with one part"); 00345 return 0; 00346 } 00347 Matrix::Mat* m = mParts[0]->GetStorage(); 00348 if (!m) 00349 { 00350 ILOG_ERROR("[StealPart] Couldn't steal from VirtualMatrix"); 00351 return 0; 00352 } 00353 mParts.clear(); 00354 return m; 00355 }
|