Loading...
Searching...
No Matches
MqContextC_SendApi_Atom_CC_API

MqContextC - append a native PRIMITIVE TYPE value to the send-data-packageMore...

+ Collaboration diagram for MqContextC_SendApi_Atom_CC_API:

Functions

void ccmqmsgque::MqContextC::SendBFL (const MkBufferListC *val)
  C++: ctx.SendBFL(const MkBufferListC* val) C-API
append a MkBufferListC object to the send-data-package object …
 
void ccmqmsgque::MqContextC::SendBFL (const MkBufferListC &val)
  C++: ctx.SendBFL(const MkBufferListC* val) C-API
append a MkBufferListC object to the send-data-package object …
 
void ccmqmsgque::MqContextC::SendBIN (MK_BNP val)
  C++: doc_mq_cc_SendBIN C-API
append a libmkkernel::MK_BIN object to the send-data-package. …
 
void ccmqmsgque::MqContextC::SendBOL (MK_BOL val)
  C++: doc_mq_cc_SendBOL C-API
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package
 
void ccmqmsgque::MqContextC::SendBUF (const MkBufferC *val)
  C++: ctx.SendBUF(const MkBufferC* val) C-API
append a MkBufferC object to the send-data-package object …
 
void ccmqmsgque::MqContextC::SendBUF (const MkBufferC &val)
  C++: ctx.SendBUF(const MkBufferC* val) C-API
append a MkBufferC object to the send-data-package object …
 
void ccmqmsgque::MqContextC::SendBUS_FLAT (const MkBufferStreamC *val)
  C++: ctx.SendBUS_FLAT(const MkBufferStreamC* val) C-API
append a MkBufferStreamC object to the send-data-package object …
 
void ccmqmsgque::MqContextC::SendBUS_FLAT (const MkBufferStreamC &val)
  C++: ctx.SendBUS_FLAT(const MkBufferStreamC* val) C-API
append a MkBufferStreamC object to the send-data-package object …
 
void ccmqmsgque::MqContextC::SendBinaryR (MK_BNP val)
  C++: ctx.SendBinaryR(MK_BNP val) C-API
append a MkBinaryR object to the send-data-package. …
 
void ccmqmsgque::MqContextC::SendDBL (MK_DBL val)
  C++: doc_mq_cc_SendDBL C-API
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package
 
void ccmqmsgque::MqContextC::SendFLT (MK_FLT val)
  C++: doc_mq_cc_SendFLT C-API
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package
 
void ccmqmsgque::MqContextC::SendHDL (MK_HDL val)
  C++: ctx.SendHDL(MK_HDL val) C-API
send the handle to the send-data-package
 
void ccmqmsgque::MqContextC::SendI16 (MK_I16 val)
  C++: doc_mq_cc_SendI16 C-API
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package
 
void ccmqmsgque::MqContextC::SendI32 (MK_I32 val)
  C++: doc_mq_cc_SendI32 C-API
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package
 
void ccmqmsgque::MqContextC::SendI64 (MK_I64 val)
  C++: doc_mq_cc_SendI64 C-API
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package
 
void ccmqmsgque::MqContextC::SendI8 (MK_I8 val)
  C++: doc_mq_cc_SendI8 C-API
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package
 
void ccmqmsgque::MqContextC::SendLONG (MK_LONG val)
  C++: ctx.SendLONG(MK_LONG val) C-API
send the long native object to the send-data-package
 
void ccmqmsgque::MqContextC::SendLTR (MQ_LTR transLId)
 SendLTR
 
void ccmqmsgque::MqContextC::SendL_FLAT (const MkBufferListC *val)
  C++: ctx.SendL_FLAT(const MkBufferListC* val) C-API
append a MkBufferListC object as flat list of items to the send-data-package object …
 
void ccmqmsgque::MqContextC::SendL_FLAT (const MkBufferListC &val)
  C++: ctx.SendL_FLAT(const MkBufferListC* val) C-API
append a MkBufferListC object as flat list of items to the send-data-package object …
 
void ccmqmsgque::MqContextC::SendSTR (MK_STRN val)
  C++: doc_mq_cc_SendSTR C-API
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package
 
void ccmqmsgque::MqContextC::SendSTR (const std::string &val)
  C++: doc_mq_cc_SendSTR C-API
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package
 
void ccmqmsgque::MqContextC::SendStringR (const std::string &val)
  C++: ctx.SendStringR(const std::string& val) C-API
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package
 
void ccmqmsgque::MqContextC::SendV (MK_FST printfmt,...)
  C++: ctx.SendV(MK_FST printfmt, ... ) C-API
append a vararg string to the send-data-package object …
 
void ccmqmsgque::MqContextC::SendVL (MK_FST printfmt, va_list var_list)
  C++: ctx.SendVL(MK_FST printfmt, va_list var_list) C-API
append a vararg string as va_list to the send-data-package object …
 

Detailed Description

MqContextC - append a native PRIMITIVE TYPE value to the send-data-package

Parameters
[in]mkrtthe MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only)
[in]ctxthe MqContextS instance to work on
[in]valthe value to appending
Exceptions
MkExceptionC→ The default-exception from the Programming-Language-Micro-Kernel (PLMK)
Parameters
[in]mkrtthe MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only)
[in]ctxthe MqContextS instance to work on
[in]valthe value to appending
Exceptions
MkExceptionC→ The default-exception from the Programming-Language-Micro-Kernel (PLMK)

Function Documentation

◆ SendBFL() [1/2]

void ccmqmsgque::MqContextC::SendBFL ( const MkBufferListC & val)
inline

C++: ctx.SendBFL(const MkBufferListC* val) C-API
append a MkBufferListC object to the send-data-package object …

Definition at line 1641 of file MqContextC_inline_cc.hh.

1641 {
1642 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
1643 MkRtSetup_X(ctx);
1644 const MK_BFLN val_hdl = MkBufferListC::getBFLN(val,MK_NULL_NO);
1645 enum MkErrorE errVal = MqSendBFL(ctx, val_hdl);
1646 MkErrorC_Check(ctx, errVal);
1647 }
MK_BFLN getBFLN(bool nullB=MK_NULL_NO) const
const struct MkBufferListS * MK_BFLN
#define MK_NULL_NO
#define MK_UNUSED
#define MkRtSetup_X(x)
MQ_CTX getCTX(bool nullB=MK_NULL_NO) const
return the LibMsgqueObject from current MqContextC instance
#define MqSendBFL(...)

◆ SendBFL() [2/2]

void ccmqmsgque::MqContextC::SendBFL ( const MkBufferListC * val)
inline

C++: ctx.SendBFL(const MkBufferListC* val) C-API
append a MkBufferListC object to the send-data-package object …

Definition at line 1632 of file MqContextC_inline_cc.hh.

1632 {
1633 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
1634 MkRtSetup_X(ctx);
1636 enum MkErrorE errVal = MqSendBFL(ctx, val_hdl);
1637 MkErrorC_Check(ctx, errVal);
1638 }

◆ SendBIN()

void ccmqmsgque::MqContextC::SendBIN ( MK_BNP val)
inline

C++: doc_mq_cc_SendBIN C-API
append a libmkkernel::MK_BIN object to the send-data-package. …

Definition at line 1650 of file MqContextC_inline_cc.hh.

1650 {
1651 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
1652 MkRtSetup_X(ctx);
1653 const MkBinaryR val_ref = MkBinaryCreate(val.first,val.second);
1654 enum MkErrorE errVal = MqSendBIN(ctx, val_ref);
1655 MkErrorC_Check(ctx, errVal);
1656 }
MkBinaryR MkBinaryCreate(MK_SIZE size, MK_BINN data)
#define MqSendBIN(...)

◆ SendBinaryR()

void ccmqmsgque::MqContextC::SendBinaryR ( MK_BNP val)
inline

C++: ctx.SendBinaryR(MK_BNP val) C-API
append a MkBinaryR object to the send-data-package. …

Definition at line 1703 of file MqContextC_inline_cc.hh.

1703 {
1704 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
1705 MkRtSetup_X(ctx);
1706 const MkBinaryR val_ref = MkBinaryCreate(val.first,val.second);
1707 enum MkErrorE errVal = MqSendBinaryR(ctx, val_ref);
1708 MkErrorC_Check(ctx, errVal);
1709 }
#define MqSendBinaryR(...)

◆ SendBOL()

void ccmqmsgque::MqContextC::SendBOL ( MK_BOL val)
inline

C++: doc_mq_cc_SendBOL C-API
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package

Definition at line 1659 of file MqContextC_inline_cc.hh.

1659 {
1660 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
1661 MkRtSetup_X(ctx);
1662 enum MkErrorE errVal = MqSendBOL(ctx, (MK_BOL)(val?1:0));
1663 MkErrorC_Check(ctx, errVal);
1664 }
unsigned char MK_BOL
#define MqSendBOL(...)

◆ SendBUF() [1/2]

void ccmqmsgque::MqContextC::SendBUF ( const MkBufferC & val)
inline

C++: ctx.SendBUF(const MkBufferC* val) C-API
append a MkBufferC object to the send-data-package object …

Definition at line 1676 of file MqContextC_inline_cc.hh.

1676 {
1677 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
1678 MkRtSetup_X(ctx);
1679 const MK_BUFN val_hdl = MkBufferC::getBUFN(val,MK_NULL_NO);
1680 enum MkErrorE errVal = MqSendBUF(ctx, val_hdl);
1681 MkErrorC_Check(ctx, errVal);
1682 }
MK_BUFN getBUFN(bool nullB=MK_NULL_NO) const
const struct MkBufferS * MK_BUFN
#define MqSendBUF(...)

◆ SendBUF() [2/2]

void ccmqmsgque::MqContextC::SendBUF ( const MkBufferC * val)
inline

C++: ctx.SendBUF(const MkBufferC* val) C-API
append a MkBufferC object to the send-data-package object …

Definition at line 1667 of file MqContextC_inline_cc.hh.

1667 {
1668 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
1669 MkRtSetup_X(ctx);
1670 MK_BUFN val_hdl = MkBufferC::getBUFN(val,MK_NULL_NO);
1671 enum MkErrorE errVal = MqSendBUF(ctx, val_hdl);
1672 MkErrorC_Check(ctx, errVal);
1673 }
+ Here is the caller graph for this function:

◆ SendBUS_FLAT() [1/2]

void ccmqmsgque::MqContextC::SendBUS_FLAT ( const MkBufferStreamC & val)
inline

C++: ctx.SendBUS_FLAT(const MkBufferStreamC* val) C-API
append a MkBufferStreamC object to the send-data-package object …

Definition at line 1694 of file MqContextC_inline_cc.hh.

1694 {
1695 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
1696 MkRtSetup_X(ctx);
1697 const MK_BUSN val_hdl = MkBufferStreamC::getBUSN(val,MK_NULL_NO);
1698 enum MkErrorE errVal = MqSendBUS_FLAT(ctx, val_hdl);
1699 MkErrorC_Check(ctx, errVal);
1700 }
MK_BUSN getBUSN(bool nullB=MK_NULL_NO) const
const struct MkBufferStreamS * MK_BUSN
#define MqSendBUS_FLAT(...)

◆ SendBUS_FLAT() [2/2]

void ccmqmsgque::MqContextC::SendBUS_FLAT ( const MkBufferStreamC * val)
inline

C++: ctx.SendBUS_FLAT(const MkBufferStreamC* val) C-API
append a MkBufferStreamC object to the send-data-package object …

Definition at line 1685 of file MqContextC_inline_cc.hh.

1685 {
1686 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
1687 MkRtSetup_X(ctx);
1689 enum MkErrorE errVal = MqSendBUS_FLAT(ctx, val_hdl);
1690 MkErrorC_Check(ctx, errVal);
1691 }

◆ SendDBL()

void ccmqmsgque::MqContextC::SendDBL ( MK_DBL val)
inline

C++: doc_mq_cc_SendDBL C-API
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package

Definition at line 1712 of file MqContextC_inline_cc.hh.

1712 {
1713 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
1714 MkRtSetup_X(ctx);
1715 enum MkErrorE errVal = MqSendDBL(ctx, val);
1716 MkErrorC_Check(ctx, errVal);
1717 }
#define MqSendDBL(...)

◆ SendFLT()

void ccmqmsgque::MqContextC::SendFLT ( MK_FLT val)
inline

C++: doc_mq_cc_SendFLT C-API
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package

Definition at line 1720 of file MqContextC_inline_cc.hh.

1720 {
1721 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
1722 MkRtSetup_X(ctx);
1723 enum MkErrorE errVal = MqSendFLT(ctx, val);
1724 MkErrorC_Check(ctx, errVal);
1725 }
#define MqSendFLT(...)

◆ SendHDL()

void ccmqmsgque::MqContextC::SendHDL ( MK_HDL val)
inline

C++: ctx.SendHDL(MK_HDL val) C-API
send the handle to the send-data-package

Definition at line 1728 of file MqContextC_inline_cc.hh.

1728 {
1729 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
1730 MkRtSetup_X(ctx);
1731 enum MkErrorE errVal = MqSendHDL(ctx, val);
1732 MkErrorC_Check(ctx, errVal);
1733 }
#define MqSendHDL(...)

◆ SendI16()

void ccmqmsgque::MqContextC::SendI16 ( MK_I16 val)
inline

C++: doc_mq_cc_SendI16 C-API
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package

Definition at line 1736 of file MqContextC_inline_cc.hh.

1736 {
1737 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
1738 MkRtSetup_X(ctx);
1739 enum MkErrorE errVal = MqSendI16(ctx, val);
1740 MkErrorC_Check(ctx, errVal);
1741 }
#define MqSendI16(...)

◆ SendI32()

void ccmqmsgque::MqContextC::SendI32 ( MK_I32 val)
inline

C++: doc_mq_cc_SendI32 C-API
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package

Definition at line 1744 of file MqContextC_inline_cc.hh.

1744 {
1745 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
1746 MkRtSetup_X(ctx);
1747 enum MkErrorE errVal = MqSendI32(ctx, val);
1748 MkErrorC_Check(ctx, errVal);
1749 }
#define MqSendI32(...)

◆ SendI64()

void ccmqmsgque::MqContextC::SendI64 ( MK_I64 val)
inline

C++: doc_mq_cc_SendI64 C-API
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package

Definition at line 1752 of file MqContextC_inline_cc.hh.

1752 {
1753 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
1754 MkRtSetup_X(ctx);
1755 enum MkErrorE errVal = MqSendI64(ctx, val);
1756 MkErrorC_Check(ctx, errVal);
1757 }
#define MqSendI64(...)

◆ SendI8()

void ccmqmsgque::MqContextC::SendI8 ( MK_I8 val)
inline

C++: doc_mq_cc_SendI8 C-API
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package

Definition at line 1760 of file MqContextC_inline_cc.hh.

1760 {
1761 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
1762 MkRtSetup_X(ctx);
1763 enum MkErrorE errVal = MqSendI8(ctx, (MK_I8)(val));
1764 MkErrorC_Check(ctx, errVal);
1765 }
signed char MK_I8
#define MqSendI8(...)

◆ SendL_FLAT() [1/2]

void ccmqmsgque::MqContextC::SendL_FLAT ( const MkBufferListC & val)
inline

C++: ctx.SendL_FLAT(const MkBufferListC* val) C-API
append a MkBufferListC object as flat list of items to the send-data-package object …

Definition at line 1793 of file MqContextC_inline_cc.hh.

1793 {
1794 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
1795 MkRtSetup_X(ctx);
1796 const MK_BFLN val_hdl = MkBufferListC::getBFLN(val,MK_NULL_NO);
1797 enum MkErrorE errVal = MqSendL_FLAT(ctx, val_hdl);
1798 MkErrorC_Check(ctx, errVal);
1799 }
#define MqSendL_FLAT(...)

◆ SendL_FLAT() [2/2]

void ccmqmsgque::MqContextC::SendL_FLAT ( const MkBufferListC * val)
inline

C++: ctx.SendL_FLAT(const MkBufferListC* val) C-API
append a MkBufferListC object as flat list of items to the send-data-package object …

Definition at line 1784 of file MqContextC_inline_cc.hh.

1784 {
1785 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
1786 MkRtSetup_X(ctx);
1788 enum MkErrorE errVal = MqSendL_FLAT(ctx, val_hdl);
1789 MkErrorC_Check(ctx, errVal);
1790 }

◆ SendLONG()

void ccmqmsgque::MqContextC::SendLONG ( MK_LONG val)
inline

C++: ctx.SendLONG(MK_LONG val) C-API
send the long native object to the send-data-package

Definition at line 1768 of file MqContextC_inline_cc.hh.

1768 {
1769 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
1770 MkRtSetup_X(ctx);
1771 enum MkErrorE errVal = MqSendLONG(ctx, val);
1772 MkErrorC_Check(ctx, errVal);
1773 }
#define MqSendLONG(...)

◆ SendLTR()

void ccmqmsgque::MqContextC::SendLTR ( MQ_LTR transLId)
inline

SendLTR

Definition at line 1776 of file MqContextC_inline_cc.hh.

1776 {
1777 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
1778 MkRtSetup_X(ctx);
1779 enum MkErrorE errVal = MqSendLTR(ctx, transLId);
1780 MkErrorC_Check(ctx, errVal);
1781 }
#define MqSendLTR(...)

◆ SendSTR() [1/2]

void ccmqmsgque::MqContextC::SendSTR ( const std::string & val)
inline

C++: doc_mq_cc_SendSTR C-API
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package

Definition at line 1810 of file MqContextC_inline_cc.hh.

1810 {
1811 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
1812 MkRtSetup_X(ctx);
1813 const MK_STRN val_hdl = val.c_str();
1814 enum MkErrorE errVal = MqSendSTR(ctx, val_hdl);
1815 MkErrorC_Check(ctx, errVal);
1816 }
const MK_STRB * MK_STRN
#define MqSendSTR(...)

◆ SendSTR() [2/2]

void ccmqmsgque::MqContextC::SendSTR ( MK_STRN val)
inline

C++: doc_mq_cc_SendSTR C-API
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package

Definition at line 1802 of file MqContextC_inline_cc.hh.

1802 {
1803 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
1804 MkRtSetup_X(ctx);
1805 enum MkErrorE errVal = MqSendSTR(ctx, val);
1806 MkErrorC_Check(ctx, errVal);
1807 }

◆ SendStringR()

void ccmqmsgque::MqContextC::SendStringR ( const std::string & val)
inline

C++: ctx.SendStringR(const std::string& val) C-API
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package

Definition at line 1819 of file MqContextC_inline_cc.hh.

1819 {
1820 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
1821 MkRtSetup_X(ctx);
1822 const MkStringR val_ref = MkStringCreate((MK_NUM)val.size(),val.c_str());
1823 enum MkErrorE errVal = MqSendStringR(ctx, val_ref);
1824 MkErrorC_Check(ctx, errVal);
1825 }
MkStringR MkStringCreate(MK_NUM len, MK_STRN str)
int32_t MK_NUM
#define MqSendStringR(...)

◆ SendV()

void ccmqmsgque::MqContextC::SendV ( MK_FST printfmt,
... )
inline

C++: ctx.SendV(MK_FST printfmt, ... ) C-API
append a vararg string to the send-data-package object …

Definition at line 1828 of file MqContextC_inline_cc.hh.

1828 {
1829 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
1830 MkRtSetup_X(ctx);
1831 va_list ap;
1832 va_start (ap, printfmt);
1833 enum MkErrorE errVal = MqSendVL(ctx, printfmt, ap);
1834 va_end (ap);
1835 MkErrorC_Check(ctx, errVal);
1836 }
#define MqSendVL(...)

◆ SendVL()

void ccmqmsgque::MqContextC::SendVL ( MK_FST printfmt,
va_list var_list )
inline

C++: ctx.SendVL(MK_FST printfmt, va_list var_list) C-API
append a vararg string as va_list to the send-data-package object …

Definition at line 1839 of file MqContextC_inline_cc.hh.

1839 {
1840 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
1841 MkRtSetup_X(ctx);
1842 enum MkErrorE errVal = MqSendVL(ctx, printfmt, var_list);
1843 MkErrorC_Check(ctx, errVal);
1844 }