Changeset 8246 for trunk/psModules/src/camera/pmFPAfileIO.c
- Timestamp:
- Aug 8, 2006, 4:37:08 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPAfileIO.c (modified) (13 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPAfileIO.c
r7726 r8246 37 37 38 38 if (file->state & PM_FPA_STATE_INACTIVE) { 39 psTrace("p mFPAfile", 6, "skip open for %s, files is inactive", file->name);39 psTrace("psModules.camera", 6, "skip open for %s, files is inactive", file->name); 40 40 return true; 41 41 } … … 214 214 215 215 if (file->state & PM_FPA_STATE_INACTIVE) { 216 psTrace("p mFPAfile", 6, "skip read for %s, files is inactive", file->name);216 psTrace("psModules.camera", 6, "skip read for %s, files is inactive", file->name); 217 217 return true; 218 218 } 219 219 220 220 if (file->mode != PM_FPA_MODE_READ) { 221 psTrace("p mFPAfile", 6, "skip read for %s, mode is not READ", file->name);221 psTrace("psModules.camera", 6, "skip read for %s, mode is not READ", file->name); 222 222 return true; 223 223 } … … 236 236 // do we need to read this file? 237 237 if (level != file->dataLevel) { 238 psTrace("p mFPAfile", 6, "skip reading of %s at this level %s: dataLevel is %s",238 psTrace("psModules.camera", 6, "skip reading of %s at this level %s: dataLevel is %s", 239 239 file->name, pmFPALevelToName(level), pmFPALevelToName(file->dataLevel)); 240 240 return true; … … 281 281 282 282 if (file->state & PM_FPA_STATE_INACTIVE) { 283 psTrace("p mFPAfile", 6, "skip free for %s, files is inactive", file->name);283 psTrace("psModules.camera", 6, "skip free for %s, files is inactive", file->name); 284 284 return true; 285 285 } … … 290 290 // do we need to read this file? 291 291 if (level != file->freeLevel) { 292 psTrace("p mFPAfile", 6, "skip free of %s at this level %s: freeLevel is %s",292 psTrace("psModules.camera", 6, "skip free of %s at this level %s: freeLevel is %s", 293 293 file->name, pmFPALevelToName(level), pmFPALevelToName(file->freeLevel)); 294 294 return true; … … 335 335 336 336 if (file->state & PM_FPA_STATE_INACTIVE) { 337 psTrace("p mFPAfile", 6, "skip write for %s, files is inactive", file->name);337 psTrace("psModules.camera", 6, "skip write for %s, files is inactive", file->name); 338 338 return true; 339 339 } 340 340 341 341 if (file->mode != PM_FPA_MODE_WRITE) { 342 psTrace("p mFPAfile", 6, "skip write for %s, mode is not WRITE", file->name);342 psTrace("psModules.camera", 6, "skip write for %s, mode is not WRITE", file->name); 343 343 return true; 344 344 } 345 345 346 346 if (!file->save) { 347 psTrace("p mFPAfile", 6, "skip write for %s, save is FALSE", file->name);347 psTrace("psModules.camera", 6, "skip write for %s, save is FALSE", file->name); 348 348 return true; 349 349 } … … 354 354 // do we need to write this file? 355 355 if (level != file->dataLevel) { 356 psTrace("p mFPAfile", 6, "skip writing of %s at this level %s: dataLevel is %s",356 psTrace("psModules.camera", 6, "skip writing of %s at this level %s: dataLevel is %s", 357 357 file->name, pmFPALevelToName(level), pmFPALevelToName(file->dataLevel)); 358 358 return true; … … 411 411 // these are not error conditions; these are state tests 412 412 if (file->state & PM_FPA_STATE_INACTIVE) { 413 psTrace("p mFPAfile", 6, "skip create for inactive file %s", file->name);413 psTrace("psModules.camera", 6, "skip create for inactive file %s", file->name); 414 414 return true; 415 415 } 416 416 if (file->mode != PM_FPA_MODE_WRITE) { 417 psTrace("p mFPAfile", 6, "skip create for non-write file %s", file->name);417 psTrace("psModules.camera", 6, "skip create for non-write file %s", file->name); 418 418 return true; 419 419 } … … 424 424 // don't create the file if the src (FPA) is not defined 425 425 if (file->src == NULL) { 426 psTrace("p mFPAfile", 6, "skip create for FPA without src FPA for %s", file->name);426 psTrace("psModules.camera", 6, "skip create for FPA without src FPA for %s", file->name); 427 427 return true; 428 428 } … … 430 430 // do we need to write this file? 431 431 if (level != file->fileLevel) { 432 psTrace("p mFPAfile", 6, "skip creation of %s at this level %s: fileLevel is %s",432 psTrace("psModules.camera", 6, "skip creation of %s at this level %s: fileLevel is %s", 433 433 file->name, pmFPALevelToName(level), pmFPALevelToName(file->fileLevel)); 434 434 return true; … … 465 465 466 466 if (file->state & PM_FPA_STATE_INACTIVE) { 467 psTrace("p mFPAfile", 6, "skip close for %s, files is inactive", file->name);467 psTrace("psModules.camera", 6, "skip close for %s, files is inactive", file->name); 468 468 return true; 469 469 } … … 475 475 pmFPALevel level = pmFPAviewLevel (view); 476 476 if (file->fileLevel != level) { 477 psTrace("p mFPAfile", 6, "skip closing of %s at this level %s: dataLevel is %s",477 psTrace("psModules.camera", 6, "skip closing of %s at this level %s: dataLevel is %s", 478 478 file->name, pmFPALevelToName(level), pmFPALevelToName(file->dataLevel)); 479 479 return true; … … 533 533 pmFPAfile *file = psMetadataLookupPtr (&status, files, name); 534 534 if (!status) { 535 psTrace("p mFPAfile", 6, "%s is not a defined IO file", name);535 psTrace("psModules.camera", 6, "%s is not a defined IO file", name); 536 536 return false; 537 537 }
Note:
See TracChangeset
for help on using the changeset viewer.
