PostProcessingAble.hh
1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
/*
* PostProcessingAble.hh
*
* Created on: 27 sept. 2013
* Author: CS
*/
#ifndef POSTPROCESSINGABLE_HH_
#define POSTPROCESSINGABLE_HH_
#include <string>
#include <vector>
#include <memory>
namespace postprocessing {
class PostProcessing;
class PostProcessingAble {
public:
PostProcessingAble();
virtual ~PostProcessingAble();
/**
* Lists output files.
*/
virtual const std::vector<std::string>& getOutputs() const;
/**
* Gives post-processing result out directory.
*/
virtual const std::string& getDestination() const;
/**
* Browses post-processing list to apply each post-processing.
*/
void applyPostProcessing();
/**
* Adds a post-processing to the list.
*/
void addPostProcessing(PostProcessing* pPostProcessing);
protected:
/**
* A list of output files.
*/
std::vector<std::string> _files;
/**
* An optional post-processing output destination, may be empty.
*/
std::string _outputDestination;
private:
/**
* A post-processing list.
*/
std::vector<PostProcessing*> _postProcessingList;
};
} /* namespace postprocessing */
#endif /* POSTPROCESSINGABLE_HH_ */