GCC Code Coverage Report
Directory: cvmfs/ Exec Total Coverage
File: cvmfs/ingestion/task_hash.h Lines: 3 3 100.0 %
Date: 2019-02-03 02:48:13 Branches: 1 2 50.0 %

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
354
class TaskHash : public TubeConsumer<BlockItem> {
12
 public:
13
177
  TaskHash(Tube<BlockItem> *tube_in, TubeGroup<BlockItem> *tubes_out)
14
177
    : 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_