hce-node application  1.4.3
HCE Hierarchical Cluster Engine node application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
HCE::drce::DRCETaskRequestCheckState Class Reference

#include <DRCETaskRequestCheckState.hpp>

Inheritance diagram for HCE::drce::DRCETaskRequestCheckState:
Collaboration diagram for HCE::drce::DRCETaskRequestCheckState:

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>
convertVarToNumeric (Poco::Dynamic::Var &var, T defaultValue)
- Protected Attributes inherited from HCE::drce::DRCETaskRequest
unsigned int taskId
unsigned int parentTaskId
TaskState taskState
RequestType requestType

Detailed Description

Definition at line 26 of file DRCETaskRequestCheckState.hpp.

Member Enumeration Documentation

Enumerator:
ctUninitialized 
ctSimple 
ctExtended 

Definition at line 29 of file DRCETaskRequestCheckState.hpp.

Constructor & Destructor Documentation

HCE::drce::DRCETaskRequestCheckState::DRCETaskRequestCheckState ( const std::string &  json = "")
explicit

Definition at line 20 of file DRCETaskRequestCheckState.cpp.

Here is the call graph for this function:

virtual HCE::drce::DRCETaskRequestCheckState::~DRCETaskRequestCheckState ( void  )
inlinevirtual

Definition at line 37 of file DRCETaskRequestCheckState.hpp.

Member Function Documentation

void HCE::drce::DRCETaskRequestCheckState::clear ( void  )

Definition at line 83 of file DRCETaskRequestCheckState.cpp.

Here is the caller graph for this function:

CheckType HCE::drce::DRCETaskRequestCheckState::getCheckType ( void  ) const
inline

Definition at line 43 of file DRCETaskRequestCheckState.hpp.

Here is the caller graph for this function:

bool HCE::drce::DRCETaskRequestCheckState::serialize ( std::string &  json)
virtual

Reimplemented from HCE::drce::DRCETaskRequest.

Definition at line 27 of file DRCETaskRequestCheckState.cpp.

Here is the caller graph for this function:

void HCE::drce::DRCETaskRequestCheckState::setCheckType ( CheckType  checkType_)
inline

Definition at line 42 of file DRCETaskRequestCheckState.hpp.

Here is the caller graph for this function:

bool HCE::drce::DRCETaskRequestCheckState::unserialize ( const std::string &  json)
virtual

Reimplemented from HCE::drce::DRCETaskRequest.

Definition at line 51 of file DRCETaskRequestCheckState.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const DRCETaskRequestCheckState rhs 
)
friend

Definition at line 99 of file DRCETaskRequestCheckState.cpp.

std::istream& operator>> ( std::istream &  is,
DRCETaskRequestCheckState rhs 
)
friend

Definition at line 88 of file DRCETaskRequestCheckState.cpp.


The documentation for this class was generated from the following files: