| Line |
Branch |
Exec |
Source |
| 1 |
|
|
/** |
| 2 |
|
|
* This file is part of the CernVM File System. |
| 3 |
|
|
*/ |
| 4 |
|
|
|
| 5 |
|
|
#ifndef CVMFS_INGESTION_TASK_HASH_H_ |
| 6 |
|
|
#define CVMFS_INGESTION_TASK_HASH_H_ |
| 7 |
|
|
|
| 8 |
|
|
#include "ingestion/item.h" |
| 9 |
|
|
#include "ingestion/task.h" |
| 10 |
|
|
|
| 11 |
|
|
class TaskHash : public TubeConsumer<BlockItem> { |
| 12 |
|
|
public: |
| 13 |
|
19780 |
TaskHash(Tube<BlockItem> *tube_in, TubeGroup<BlockItem> *tubes_out) |
| 14 |
|
19780 |
: TubeConsumer<BlockItem>(tube_in), tubes_out_(tubes_out) { } |
| 15 |
|
|
|
| 16 |
|
|
protected: |
| 17 |
|
|
virtual void Process(BlockItem *input_block); |
| 18 |
|
|
|
| 19 |
|
|
private: |
| 20 |
|
|
TubeGroup<BlockItem> *tubes_out_; |
| 21 |
|
|
}; |
| 22 |
|
|
|
| 23 |
|
|
#endif // CVMFS_INGESTION_TASK_HASH_H_ |
| 24 |
|
|
|