theKernel 10.0
Loading...
Searching...
No Matches
MkErrorC_Signal_ATL_API

MkErrorC - various functions to set and check a 'signal' on a MkErrorSMore...

+ Collaboration diagram for MkErrorC_Signal_ATL_API:

Functions

static OT_ProcRet atlmkkernel_MkErrorC_IsABORT (MkErrorC_ARGS)
  Atl: bool [MkErrorC::IsABORT $err] C-API
check on ABORT signal …
 
static OT_ProcRet atlmkkernel_MkErrorC_IsEXIT (MkErrorC_ARGS)
  Atl: bool [MkErrorC::IsEXIT $err] C-API
check on APPLICATION-EXIT error …
 
static OT_ProcRet atlmkkernel_MkErrorC_IsSOCKET (MkErrorC_ARGS)
  Atl: bool [MkErrorC::IsSOCKET $err] C-API
check on SOCKET-DOWN error …
 
static OT_ProcRet atlmkkernel_MkErrorC_IsTIMEOUT (MkErrorC_ARGS)
  Atl: bool [MkErrorC::IsTIMEOUT $err] C-API
check on TIMEOUT error …
 
static OT_ProcRet atlmkkernel_MkErrorC_SetABORT (MkErrorC_ARGS)
  Atl: MkErrorC::SetABORT $err ?detail:string="UNKNOWN"? ?callfunc:string="MK_NULL"? C-API
send the ABORT signal to the calling stack…
 
static OT_ProcRet atlmkkernel_MkErrorC_SetCONTINUE (MkErrorC_ARGS)
  Atl: MkErrorC::SetCONTINUE $err C-API
signal end of processing in an MqMqEventIF callback …
 
static OT_ProcRet atlmkkernel_MkErrorC_SetCode (MkErrorC_ARGS)
  Atl: MkErrorC::SetCode $err code:MkErrorE C-API
set the MkErrorS::code value …
 
static OT_ProcRet atlmkkernel_MkErrorC_SetEXIT (MkErrorC_ARGS)
  Atl: MkErrorC::SetEXIT $err ?callfunc:string="MK_NULL"? C-API
finish the current callback, return to toplevel and MqExit the application …
 
static OT_ProcRet atlmkkernel_MkErrorC_SetSOCKET (MkErrorC_ARGS)
  Atl: MkErrorC::SetSOCKET $err ?detail:string="UNKNOWN"? ?callfunc:string="MK_NULL"? C-API
create SOCKET-DOWN error …
 

Detailed Description

MkErrorC - various functions to set and check a 'signal' on a MkErrorS

Function Documentation

◆ atlmkkernel_MkErrorC_IsABORT()

static OT_ProcRet atlmkkernel_MkErrorC_IsABORT ( MkErrorC_ARGS )
static

Atl: bool [MkErrorC::IsABORT $err] C-API
check on ABORT signal …

Definition at line 618 of file MkErrorC_atl.c.

618 {
623 goto end;
624 error:
626 end:
628}
#define OT_retObj_SET_BOL(nat)
#define OT_SETUP_NOARG(d)
#define OT_retObj_SET_Error
#define OT_retObj_RETURN
#define OT_CHECK_NOARGS
#define IsABORT_doc
#define OT_SETUP_hdl
bool MkErrorIsABORT(MK_ERRN const err)
check on ABORT signal …

◆ atlmkkernel_MkErrorC_IsEXIT()

static OT_ProcRet atlmkkernel_MkErrorC_IsEXIT ( MkErrorC_ARGS )
static

Atl: bool [MkErrorC::IsEXIT $err] C-API
check on APPLICATION-EXIT error …

Definition at line 631 of file MkErrorC_atl.c.

631 {
636 goto end;
637 error:
639 end:
641}
#define IsEXIT_doc
bool MkErrorIsEXIT(MK_ERR const err)
check on APPLICATION-EXIT error …

◆ atlmkkernel_MkErrorC_IsSOCKET()

static OT_ProcRet atlmkkernel_MkErrorC_IsSOCKET ( MkErrorC_ARGS )
static

Atl: bool [MkErrorC::IsSOCKET $err] C-API
check on SOCKET-DOWN error …

Definition at line 644 of file MkErrorC_atl.c.

644 {
649 goto end;
650 error:
652 end:
654}
#define IsSOCKET_doc
bool MkErrorIsSOCKET(MK_ERRN const err)
check on SOCKET-DOWN error …

◆ atlmkkernel_MkErrorC_IsTIMEOUT()

static OT_ProcRet atlmkkernel_MkErrorC_IsTIMEOUT ( MkErrorC_ARGS )
static

Atl: bool [MkErrorC::IsTIMEOUT $err] C-API
check on TIMEOUT error …

Definition at line 657 of file MkErrorC_atl.c.

657 {
662 goto end;
663 error:
665 end:
667}
#define IsTIMEOUT_doc
bool MkErrorIsTIMEOUT(MK_ERRN const err)
check on TIMEOUT error …

◆ atlmkkernel_MkErrorC_SetABORT()

static OT_ProcRet atlmkkernel_MkErrorC_SetABORT ( MkErrorC_ARGS )
static

Atl: MkErrorC::SetABORT $err ?detail:string="UNKNOWN"? ?callfunc:string="MK_NULL"? C-API
send the ABORT signal to the calling stack…

Definition at line 670 of file MkErrorC_atl.c.

670 {
673 MK_STRN detail = "UNKNOWN";
675 MK_STRN callfunc = NULL;
678 if (MkSysStringIsNULL(callfunc)) {callfunc = OT_GET_CALL_PROC;}
679 MkErrorC_Check(hdl,MkErrorSetABORT (hdl, detail, callfunc));
681 goto end;
682 error:
684 end:
687}
#define OT_SETUP_VARARGS(min, max, d)
#define OT_FRAME_CLEANUP
#define OT_retObj_SET_None
#define OT_GET_CALL_PROC
#define OT_CHECK_OPTIONAL(val)
#define MkErrorC_Check(mng, PROC)
#define OT_CHECK_STRN(val)
#define SetABORT_doc
#define MkErrorSetABORT(...)
const MK_STRB * MK_STRN
constant string pointer data-type
static bool MkSysStringIsNULL(MK_STRN str)
test if string is NULL or EMPTY …

◆ atlmkkernel_MkErrorC_SetCode()

static OT_ProcRet atlmkkernel_MkErrorC_SetCode ( MkErrorC_ARGS )
static

Atl: MkErrorC::SetCode $err code:MkErrorE C-API
set the MkErrorS::code value …

Definition at line 704 of file MkErrorC_atl.c.

704 {
707 enum MkErrorE code = 0;
710 MkErrorSetCode (hdl, code);
712 goto end;
713 error:
715 end:
717}
#define OT_SETUP_ONEARG(d)
#define OT_CHECK_REQUIRED(val)
#define OT_CHECK_ENUM(ename, val)
#define SetCode_doc
#define MkErrorSetCode(...)
MkErrorE
collection for the different error-codes …

◆ atlmkkernel_MkErrorC_SetCONTINUE()

static OT_ProcRet atlmkkernel_MkErrorC_SetCONTINUE ( MkErrorC_ARGS )
static

Atl: MkErrorC::SetCONTINUE $err C-API
signal end of processing in an MqMqEventIF callback …

Definition at line 690 of file MkErrorC_atl.c.

690 {
694 MkErrorSetCONTINUE (hdl);
696 goto end;
697 error:
699 end:
701}
#define SetCONTINUE_doc
#define MkErrorSetCONTINUE(...)

◆ atlmkkernel_MkErrorC_SetEXIT()

static OT_ProcRet atlmkkernel_MkErrorC_SetEXIT ( MkErrorC_ARGS )
static

Atl: MkErrorC::SetEXIT $err ?callfunc:string="MK_NULL"? C-API
finish the current callback, return to toplevel and MqExit the application …

Definition at line 720 of file MkErrorC_atl.c.

720 {
723 MK_STRN callfunc = NULL;
726 if (MkSysStringIsNULL(callfunc)) {callfunc = OT_GET_CALL_PROC;}
727 MkErrorC_Check(hdl,MkErrorSetEXIT (hdl, callfunc));
729 goto end;
730 error:
732 end:
735}
#define SetEXIT_doc
#define MkErrorSetEXIT(...)

◆ atlmkkernel_MkErrorC_SetSOCKET()

static OT_ProcRet atlmkkernel_MkErrorC_SetSOCKET ( MkErrorC_ARGS )
static

Atl: MkErrorC::SetSOCKET $err ?detail:string="UNKNOWN"? ?callfunc:string="MK_NULL"? C-API
create SOCKET-DOWN error …

Definition at line 738 of file MkErrorC_atl.c.

738 {
741 MK_STRN detail = "UNKNOWN";
743 MK_STRN callfunc = NULL;
746 if (MkSysStringIsNULL(callfunc)) {callfunc = OT_GET_CALL_PROC;}
747 MkErrorC_Check(hdl,MkErrorSetSOCKET (hdl, detail, callfunc));
749 goto end;
750 error:
752 end:
755}
#define SetSOCKET_doc
#define MkErrorSetSOCKET(...)