hce-node application
1.4.3
HCE Hierarchical Cluster Engine node application
|
#include <DRCETaskRequestCheckState.hpp>
Public Types | |
enum | CheckType { ctUninitialized = 0, ctSimple = 1, ctExtended = 2 } |
Public Types inherited from HCE::drce::DRCETaskRequest | |
enum | TaskState { FINISHED = 0, IN_PROGRESS = 1, SET_AS_NEW = 2, NOT_FOUND = 3, TERMINATED = 4, CRASHED = 5, NOT_SET_AS_NEW = 6, UNDEFINED = 7, QUEUED_TO_RUN = 8, DELETED = 9, BUSY = 10, TERMINATED_BY_TTL = 11 } |
enum | RequestType { rtSetTaskExecute = 0, rtCheckTaskState = 1, rtTerminateTask = 2, rtGetTaskData = 3, rtDeleteTaskData = 4, rtTaskStateNotification = 100, rtResourceMonitorNotification = 101 } |
Public Types inherited from HCE::IJsonSerializable | |
enum | { NO_ERROR = 0 } |
Public Member Functions | |
DRCETaskRequestCheckState (const std::string &json="") | |
virtual | ~DRCETaskRequestCheckState (void) |
bool | serialize (std::string &json) |
bool | unserialize (const std::string &json) |
void | setCheckType (CheckType checkType_) |
CheckType | getCheckType (void) const |
void | clear (void) |
Public Member Functions inherited from HCE::drce::DRCETaskRequest | |
DRCETaskRequest (DRCETaskRequest::RequestType requestType_=DRCETaskRequest::RequestType::rtSetTaskExecute) | |
virtual | ~DRCETaskRequest (void) |
void | setTaskId (unsigned int taskId_) |
unsigned int | getTaskId (void) const |
void | setParentTaskId (unsigned int parentTaskId_) |
unsigned int | getParentTaskId (void) const |
void | setTaskState (TaskState taskState_) |
TaskState | getTaskState (void) const |
void | setRequestType (RequestType requestType_) |
RequestType | getRequestType (void) const |
Public Member Functions inherited from HCE::IJsonSerializable | |
IJsonSerializable (void) | |
virtual | ~IJsonSerializable (void) |
void | setErrorMsg (const std::string &errorMsg_) |
std::string | getErrorMsg (void) const |
void | setErrorCode (unsigned int errorCode_) |
unsigned int | getErrorCode (void) const |
void | setIsError (bool isError_) |
bool | isError (void) const |
void | resetError (void) |
Friends | |
std::istream & | operator>> (std::istream &is, DRCETaskRequestCheckState &rhs) |
std::ostream & | operator<< (std::ostream &os, const DRCETaskRequestCheckState &rhs) |
Additional Inherited Members | |
Protected Member Functions inherited from HCE::IJsonSerializable | |
template<class T = unsigned long long> | |
T | convertVarToNumeric (Poco::Dynamic::Var &var, T defaultValue) |
Protected Attributes inherited from HCE::drce::DRCETaskRequest | |
unsigned int | taskId |
unsigned int | parentTaskId |
TaskState | taskState |
RequestType | requestType |
Definition at line 26 of file DRCETaskRequestCheckState.hpp.
Definition at line 29 of file DRCETaskRequestCheckState.hpp.
|
explicit |
Definition at line 20 of file DRCETaskRequestCheckState.cpp.
|
inlinevirtual |
Definition at line 37 of file DRCETaskRequestCheckState.hpp.
void HCE::drce::DRCETaskRequestCheckState::clear | ( | void | ) |
Definition at line 83 of file DRCETaskRequestCheckState.cpp.
|
inline |
Definition at line 43 of file DRCETaskRequestCheckState.hpp.
|
virtual |
Reimplemented from HCE::drce::DRCETaskRequest.
Definition at line 27 of file DRCETaskRequestCheckState.cpp.
|
inline |
Definition at line 42 of file DRCETaskRequestCheckState.hpp.
|
virtual |
Reimplemented from HCE::drce::DRCETaskRequest.
Definition at line 51 of file DRCETaskRequestCheckState.cpp.
|
friend |
Definition at line 99 of file DRCETaskRequestCheckState.cpp.
|
friend |
Definition at line 88 of file DRCETaskRequestCheckState.cpp.