hce-node application  1.4.3
HCE Hierarchical Cluster Engine node application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
DRCEFileExtractor.hpp
Go to the documentation of this file.
1 
14 #ifndef DRCE_FILE_EXTRACTOR_HPP
15 #define DRCE_FILE_EXTRACTOR_HPP
16 
17 #include "CustomMessage.hpp"
18 #include "DRCEResultData.hpp"
19 #include "DRCETaskRequest.hpp"
20 #include "DRCEInputJsonMessage.hpp"
21 
22 namespace HCE
23 {
24 namespace drce
25 {
26 //-----------------------------------------------------------------------------
28 {
29 public:
30  DataFileExtractor(CustomMessage& message_) : message(message_) {}
32 
33  DRCEResultDataItem extract(const std::string& dataFileName) throw (Poco::Exception);
34 private:
35  CustomMessage& message;
36 };
37 //-----------------------------------------------------------------------------
38 //-----------------------------------------------------------------------------
40 {
41 public:
42  RequestFileExtractor(CustomMessage& message_) : message(message_) {}
44 
45  DRCEInputJsonMessage extract(const std::string& requestFileName) throw (Poco::Exception);
46 private:
47  CustomMessage& message;
48 };
49 //-----------------------------------------------------------------------------
50 //-----------------------------------------------------------------------------
51 } // end namespace drce
52 } // end namespace HCE
53 
54 #endif // DRCE_FILE_EXTRACTOR_HPP