An abstract base for a source file processor.
In concrete classes, you need to define a ``process(fName)`` method
receiving a source as returned by the dd (i.e., usually a file name).
You can override the method ``_createAuxiliaries(dataDesc)`` to
compute things like source catalogues, etc. Thus, you should not need to
override the constructor.
These objects are usually constructed thorough ``api.procmain`` as
discussed in :dachsdoc:`processing.html`.
|
__init__(self,
opts,
dd)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
printVerboseReport(self,
processed,
ignored) |
source code
|
|
|
iterJobs(self,
nParallel)
executes process() in parallel for all sources and iterates over the
results. |
source code
|
|
|
|
|
processAll(self)
calls the process method of processor for all sources of the data
descriptor dd. |
source code
|
|
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|