theKernel 10.0
Loading...
Searching...
No Matches
MkErrorC_Signal_PY_API

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

+ Collaboration diagram for MkErrorC_Signal_PY_API:

Functions

static OT_ProcRet pymkkernel_MkErrorC_IsABORT (MkErrorC_ARGS)
  Python: bool err.IsABORT() C-API
check on ABORT signal …
 
static OT_ProcRet pymkkernel_MkErrorC_IsEXIT (MkErrorC_ARGS)
  Python: bool err.IsEXIT() C-API
check on APPLICATION-EXIT error …
 
static OT_ProcRet pymkkernel_MkErrorC_IsSOCKET (MkErrorC_ARGS)
  Python: bool err.IsSOCKET() C-API
check on SOCKET-DOWN error …
 
static OT_ProcRet pymkkernel_MkErrorC_IsTIMEOUT (MkErrorC_ARGS)
  Python: bool err.IsTIMEOUT() C-API
check on TIMEOUT error …
 
static OT_ProcRet pymkkernel_MkErrorC_SetABORT (MkErrorC_ARGS)
  Python: err.SetABORT(?detail:string="UNKNOWN"?, ?callfunc:string="MK_NULL"?) C-API
send the ABORT signal to the calling stack…
 
static OT_ProcRet pymkkernel_MkErrorC_SetCONTINUE (MkErrorC_ARGS)
  Python: err.SetCONTINUE() C-API
signal end of processing in an MqMqEventIF callback …
 
static OT_ProcRet pymkkernel_MkErrorC_SetCode (MkErrorC_ARGS)
  Python: err.SetCode(code:MkErrorE) C-API
set the MkErrorS::code value …
 
static OT_ProcRet pymkkernel_MkErrorC_SetEXIT (MkErrorC_ARGS)
  Python: err.SetEXIT(?callfunc:string="MK_NULL"?) C-API
finish the current callback, return to toplevel and MqExit the application …
 
static OT_ProcRet pymkkernel_MkErrorC_SetSOCKET (MkErrorC_ARGS)
  Python: err.SetSOCKET(?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

◆ pymkkernel_MkErrorC_IsABORT()

static OT_ProcRet pymkkernel_MkErrorC_IsABORT ( MkErrorC_ARGS )
static

Python: bool err.IsABORT() C-API
check on ABORT signal …

Definition at line 665 of file MkErrorC_py.c.

665 {
670 goto end;
671 error:
673 end:
675}
#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
Definition MkErrorC_py.c:23
bool MkErrorIsABORT(MK_ERRN const err)
check on ABORT signal …

◆ pymkkernel_MkErrorC_IsEXIT()

static OT_ProcRet pymkkernel_MkErrorC_IsEXIT ( MkErrorC_ARGS )
static

Python: bool err.IsEXIT() C-API
check on APPLICATION-EXIT error …

Definition at line 678 of file MkErrorC_py.c.

678 {
683 goto end;
684 error:
686 end:
688}
#define IsEXIT_doc
bool MkErrorIsEXIT(MK_ERR const err)
check on APPLICATION-EXIT error …

◆ pymkkernel_MkErrorC_IsSOCKET()

static OT_ProcRet pymkkernel_MkErrorC_IsSOCKET ( MkErrorC_ARGS )
static

Python: bool err.IsSOCKET() C-API
check on SOCKET-DOWN error …

Definition at line 691 of file MkErrorC_py.c.

691 {
696 goto end;
697 error:
699 end:
701}
#define IsSOCKET_doc
bool MkErrorIsSOCKET(MK_ERRN const err)
check on SOCKET-DOWN error …

◆ pymkkernel_MkErrorC_IsTIMEOUT()

static OT_ProcRet pymkkernel_MkErrorC_IsTIMEOUT ( MkErrorC_ARGS )
static

Python: bool err.IsTIMEOUT() C-API
check on TIMEOUT error …

Definition at line 704 of file MkErrorC_py.c.

704 {
709 goto end;
710 error:
712 end:
714}
#define IsTIMEOUT_doc
bool MkErrorIsTIMEOUT(MK_ERRN const err)
check on TIMEOUT error …

◆ pymkkernel_MkErrorC_SetABORT()

static OT_ProcRet pymkkernel_MkErrorC_SetABORT ( MkErrorC_ARGS )
static

Python: err.SetABORT(?detail:string="UNKNOWN"?, ?callfunc:string="MK_NULL"?) C-API
send the ABORT signal to the calling stack…

Definition at line 717 of file MkErrorC_py.c.

717 {
720 MK_STRN detail = "UNKNOWN";
722 MK_STRN callfunc = NULL;
725 if (MkSysStringIsNULL(callfunc)) {callfunc = OT_GET_CALL_PROC;}
726 MkErrorC_Check(hdl,MkErrorSetABORT (hdl, detail, callfunc));
728 goto end;
729 error:
731 end:
734}
#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 …

◆ pymkkernel_MkErrorC_SetCode()

static OT_ProcRet pymkkernel_MkErrorC_SetCode ( MkErrorC_ARGS )
static

Python: err.SetCode(code:MkErrorE) C-API
set the MkErrorS::code value …

Definition at line 751 of file MkErrorC_py.c.

751 {
754 enum MkErrorE code = 0;
757 MkErrorSetCode (hdl, code);
759 goto end;
760 error:
762 end:
764}
#define OT_SETUP_ONEARG(d)
#define OT_CHECK_REQUIRED(val)
#define SetCode_doc
#define MkErrorSetCode(...)
MkErrorE
collection for the different error-codes …
#define OT_CHECK_ENUM(ename, val)

◆ pymkkernel_MkErrorC_SetCONTINUE()

static OT_ProcRet pymkkernel_MkErrorC_SetCONTINUE ( MkErrorC_ARGS )
static

Python: err.SetCONTINUE() C-API
signal end of processing in an MqMqEventIF callback …

Definition at line 737 of file MkErrorC_py.c.

737 {
741 MkErrorSetCONTINUE (hdl);
743 goto end;
744 error:
746 end:
748}
#define SetCONTINUE_doc
#define MkErrorSetCONTINUE(...)

◆ pymkkernel_MkErrorC_SetEXIT()

static OT_ProcRet pymkkernel_MkErrorC_SetEXIT ( MkErrorC_ARGS )
static

Python: err.SetEXIT(?callfunc:string="MK_NULL"?) C-API
finish the current callback, return to toplevel and MqExit the application …

Definition at line 767 of file MkErrorC_py.c.

767 {
770 MK_STRN callfunc = NULL;
773 if (MkSysStringIsNULL(callfunc)) {callfunc = OT_GET_CALL_PROC;}
774 MkErrorC_Check(hdl,MkErrorSetEXIT (hdl, callfunc));
776 goto end;
777 error:
779 end:
782}
#define SetEXIT_doc
#define MkErrorSetEXIT(...)

◆ pymkkernel_MkErrorC_SetSOCKET()

static OT_ProcRet pymkkernel_MkErrorC_SetSOCKET ( MkErrorC_ARGS )
static

Python: err.SetSOCKET(?detail:string="UNKNOWN"?, ?callfunc:string="MK_NULL"?) C-API
create SOCKET-DOWN error …

Definition at line 785 of file MkErrorC_py.c.

785 {
788 MK_STRN detail = "UNKNOWN";
790 MK_STRN callfunc = NULL;
793 if (MkSysStringIsNULL(callfunc)) {callfunc = OT_GET_CALL_PROC;}
794 MkErrorC_Check(hdl,MkErrorSetSOCKET (hdl, detail, callfunc));
796 goto end;
797 error:
799 end:
802}
#define SetSOCKET_doc
#define MkErrorSetSOCKET(...)