hce-node application
1.4.3
HCE Hierarchical Cluster Engine node application
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
DRCECleanupTask.cpp
Go to the documentation of this file.
1
/*
2
* DRCECleanupTask.cpp
3
*
4
* Created on: Jul 8, 2014
5
* Author: alexander
6
*/
7
8
#include "
DRCECleanupTask.hpp
"
9
#include "
DRCECommonTask.hpp
"
10
#include "
DRCEFileExtractor.hpp
"
11
#include "
DRCEResultData.hpp
"
12
13
namespace
HCE
14
{
15
namespace
drce
16
{
17
//-----------------------------------------------------------------------------
18
DRCECleanupTask::DRCECleanupTask
(
unsigned
int
taskId_,
const
DRCENodeOptions
& nodeOptions_,
19
CustomMessage
& message_,
DRCEAsyncTasksQueue
& asyncTasksQueue_,
bool
needCleanup_)
20
: inherited(std::to_string(taskId_)),
taskId
(taskId_), nodeOptions(nodeOptions_), message(message_),
21
asyncTasksQueue(asyncTasksQueue_), needCleanup(needCleanup_)
22
{
23
}
24
//-----------------------------------------------------------------------------
25
void
DRCECleanupTask::runTask
(
void
)
26
{
27
DRCECommonTask::waitUpdateAllTasks
(taskId, nodeOptions, message, asyncTasksQueue,
this
);
28
29
DRCEInputJsonMessage
inputJsonMessage =
DRCECommonTask::getRequestData
(taskId, nodeOptions, message);
30
31
DRCECommonTask::waitEndAllTask
(inputJsonMessage, asyncTasksQueue,
this
);
32
33
DRCECommonTask::cleanup
(inputJsonMessage, nodeOptions, message, needCleanup);
34
}
35
//-----------------------------------------------------------------------------
36
//-----------------------------------------------------------------------------
37
}
// end namespace drce
38
}
// end namespace HCE
sources
utils
DRCE
src
DRCECleanupTask.cpp
Generated on Tue Jun 30 2015 19:42:11 for hce-node application by
1.8.1.2