INOS
CINOSTaskExDef Class Reference

#include <cinostaskexdef.h>

Public Types

enum  EMsgTypes {
  eMsgCmd , eMsgCall , eMsgEvent , eMsgReply ,
  eMsgUser , eMsgSub , eMsgInternal , eMsgMessage
}
 
enum  ERplId {
  eRplOk =0 , eRplSkipped , eRplInComplete , eRplIgnored ,
  eRplPaused , eRplStopped , eRplCanceled , eRplRejected ,
  eRplFailed , eRplError , eRplFatal , eRplTimeout
}
 

Static Public Attributes

static constexpr char *const s_pReplyIdStrings [CINOSTaskExDef::eRplTimeout+1]
 

Detailed Description

Originally, these definitions were part of CINOSTaskEx. Unfortunately, the enum types were also used by other classes such as CMcResult. Moreover, CMcResult is used by CINOSTaskEx (e.g. by the PutMsg function). Therefore, we got a cyclic dependency: CINOSTaskEx required to know the type of CMcResult and vice versa. To solve this issue, this new class has been implemented.

Member Data Documentation

◆ s_pReplyIdStrings

constexpr char* const CINOSTaskExDef::s_pReplyIdStrings[CINOSTaskExDef::eRplTimeout+1]
staticconstexpr
Initial value:
= {
"OK",
"Skipped",
"Incomplete",
"Ignored",
"Paused",
"Stopped",
"Canceled",
"Rejected",
"Failed",
"Error",
"Fatal",
"Timeout"
}

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