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::DRCETaskRequestTerminate Class Reference

#include <DRCETaskRequestTerminate.hpp>

Inheritance diagram for HCE::drce::DRCETaskRequestTerminate:
Collaboration diagram for HCE::drce::DRCETaskRequestTerminate:

Public Types

enum  AlgorithmType
enum  CleanupFlag
- 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

 DRCETaskRequestTerminate (const std::string &json="")
virtual ~DRCETaskRequestTerminate (void)
bool serialize (std::string &json)
bool unserialize (const std::string &json)
void setAlgorithmType (AlgorithmType algorithmType_)
AlgorithmType getAlgorithmType (void) const
void setDelayValue (unsigned int delayValue_)
unsigned int getDelayValue (void) const
void setRepeatValue (unsigned int repeatValue_)
unsigned int getRepeatValue (void) const
void setSignalValue (unsigned int signalValue_)
unsigned int getSignalValue (void) const
void setCleanupFlag (CleanupFlag cleanup_)
CleanupFlag getCleanupFlag (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, DRCETaskRequestTerminate &rhs)
std::ostream & operator<< (std::ostream &os, const DRCETaskRequestTerminate &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 24 of file DRCETaskRequestTerminate.hpp.

Member Enumeration Documentation

Constructor & Destructor Documentation

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

Definition at line 18 of file DRCETaskRequestTerminate.cpp.

Here is the call graph for this function:

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

Definition at line 41 of file DRCETaskRequestTerminate.hpp.

Member Function Documentation

void HCE::drce::DRCETaskRequestTerminate::clear ( void  )

Definition at line 26 of file DRCETaskRequestTerminate.cpp.

Here is the caller graph for this function:

AlgorithmType HCE::drce::DRCETaskRequestTerminate::getAlgorithmType ( void  ) const
inline

Definition at line 47 of file DRCETaskRequestTerminate.hpp.

Here is the caller graph for this function:

CleanupFlag HCE::drce::DRCETaskRequestTerminate::getCleanupFlag ( void  ) const
inline

Definition at line 59 of file DRCETaskRequestTerminate.hpp.

unsigned int HCE::drce::DRCETaskRequestTerminate::getDelayValue ( void  ) const
inline

Definition at line 50 of file DRCETaskRequestTerminate.hpp.

Here is the caller graph for this function:

unsigned int HCE::drce::DRCETaskRequestTerminate::getRepeatValue ( void  ) const
inline

Definition at line 53 of file DRCETaskRequestTerminate.hpp.

Here is the caller graph for this function:

unsigned int HCE::drce::DRCETaskRequestTerminate::getSignalValue ( void  ) const
inline

Definition at line 56 of file DRCETaskRequestTerminate.hpp.

Here is the caller graph for this function:

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

Reimplemented from HCE::drce::DRCETaskRequest.

Definition at line 35 of file DRCETaskRequestTerminate.cpp.

Here is the caller graph for this function:

void HCE::drce::DRCETaskRequestTerminate::setAlgorithmType ( AlgorithmType  algorithmType_)
inline

Definition at line 46 of file DRCETaskRequestTerminate.hpp.

Here is the caller graph for this function:

void HCE::drce::DRCETaskRequestTerminate::setCleanupFlag ( CleanupFlag  cleanup_)
inline

Definition at line 58 of file DRCETaskRequestTerminate.hpp.

Here is the caller graph for this function:

void HCE::drce::DRCETaskRequestTerminate::setDelayValue ( unsigned int  delayValue_)
inline

Definition at line 49 of file DRCETaskRequestTerminate.hpp.

Here is the caller graph for this function:

void HCE::drce::DRCETaskRequestTerminate::setRepeatValue ( unsigned int  repeatValue_)
inline

Definition at line 52 of file DRCETaskRequestTerminate.hpp.

Here is the caller graph for this function:

void HCE::drce::DRCETaskRequestTerminate::setSignalValue ( unsigned int  signalValue_)
inline

Definition at line 55 of file DRCETaskRequestTerminate.hpp.

Here is the caller graph for this function:

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

Reimplemented from HCE::drce::DRCETaskRequest.

Definition at line 63 of file DRCETaskRequestTerminate.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 DRCETaskRequestTerminate rhs 
)
friend

Definition at line 118 of file DRCETaskRequestTerminate.cpp.

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

Definition at line 107 of file DRCETaskRequestTerminate.cpp.


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