| 13 | #include "polyx.h" |
| 14 | |
| 15 | SingleEndProcessor::SingleEndProcessor(Options* opt){ |
| 16 | mOptions = opt; |
| 17 | mReaderFinished = false; |
| 18 | mFinishedThreads = 0; |
| 19 | mFilter = new Filter(opt); |
| 20 | mUmiProcessor = new UmiProcessor(opt); |
| 21 | mLeftWriter = NULL; |
| 22 | mFailedWriter = NULL; |
| 23 | |
| 24 | mDuplicate = NULL; |
| 25 | if(mOptions->duplicate.enabled) { |
| 26 | mDuplicate = new Duplicate(mOptions); |
| 27 | } |
| 28 | |
| 29 | mPackReadCounter = 0; |
| 30 | mPackProcessedCounter = 0; |
| 31 | |
| 32 | mReadPool = new ReadPool(mOptions); |
| 33 | } |
| 34 | |
| 35 | SingleEndProcessor::~SingleEndProcessor() { |
| 36 | delete mFilter; |
nothing calls this directly
no outgoing calls
no test coverage detected