theKernel 10.0
Loading...
Searching...
No Matches
MkBufferStreamC_TOR_CC_API

MkBufferStreamC - various functions to create and destroy a MkBufferStreamCMore...

+ Collaboration diagram for MkBufferStreamC_TOR_CC_API:

Functions

MkBufferStreamCccmkkernel::MkBufferStreamC::Merge ()
  C++: [constructor] MkBufferStreamC* bus.Merge() C-API
Merge-Constructor - create a new MkBufferStreamC as a merge from an existing object …
 
MkBufferStreamCccmkkernel::MkBufferStreamC::Dup () const
  C++: [constructor] MkBufferStreamC* src.Dup() C-API
Dup-Constructor - create a new MkBufferStreamC instance as copy from an existing MkBufferStreamC instance …
 
static MkBufferStreamCccmkkernel::MkBufferStreamC::Create (MK_NUM size=0)
  C++: [constructor,static] MkBufferStreamC* MkBufferStreamC::Create(MK_NUM size = 0) C-API
create and initialize an MkBufferStreamC instance …
 
 ccmkkernel::MkBufferStreamC::MkBufferStreamC (MK_NUM size=0)
  C++: [constructor,static] MkBufferStreamC* MkBufferStreamC::Create(MK_NUM size = 0) C-API
create and initialize an MkBufferStreamC instance …
 
static MkBufferStreamCccmkkernel::MkBufferStreamC::Create1024 (MK_NUM size=0)
  C++: [constructor,static] MkBufferStreamC* MkBufferStreamC::Create1024(MK_NUM size = 0) C-API
call the BufferStreamCreate with default type MkBufferStream1024S (1024 byte) …
 
static MkBufferStreamCccmkkernel::MkBufferStreamC::Create16384 (MK_NUM size=0)
  C++: [constructor,static] MkBufferStreamC* MkBufferStreamC::Create16384(MK_NUM size = 0) C-API
call the BufferStreamCreate with default type MkBufferStream16384S (16384 byte) …
 
static MkBufferStreamCccmkkernel::MkBufferStreamC::Create256 (MK_NUM size=0)
  C++: [constructor,static] MkBufferStreamC* MkBufferStreamC::Create256(MK_NUM size = 0) C-API
call the BufferStreamCreate with default type MkBufferStream256S (256 byte) …
 
static MkBufferStreamCccmkkernel::MkBufferStreamC::Create64 (MK_NUM size=0)
  C++: [constructor,static] MkBufferStreamC* MkBufferStreamC::Create64(MK_NUM size = 0) C-API
call the BufferStreamCreate with default type MkBufferStream64S (64 byte) …
 
static MkBufferStreamCccmkkernel::MkBufferStreamC::CreateTLS (MK_STRN tlsName, MK_BOOL resetB=true)
  C++: [static] MkBufferStreamC* MkBufferStreamC::CreateTLS(MK_STRN tlsName, MK_BOOL resetB = true) C-API
same as BufferStreamCreate but require no cleanup …
 
static MkBufferStreamCccmkkernel::MkBufferStreamC::CreateTLS (const std::string &tlsName, MK_BOOL resetB=true)
  C++: [static] MkBufferStreamC* MkBufferStreamC::CreateTLS(MK_STRN tlsName, MK_BOOL resetB = true) C-API
same as BufferStreamCreate but require no cleanup …
 

Detailed Description

MkBufferStreamC - various functions to create and destroy a MkBufferStreamC

Function Documentation

◆ Create()

MkBufferStreamC * ccmkkernel::MkBufferStreamC::Create ( MK_NUM size = 0)
inlinestatic

C++: [constructor,static] MkBufferStreamC* MkBufferStreamC::Create(MK_NUM size = 0) C-API
create and initialize an MkBufferStreamC instance …

Definition at line 396 of file MkBufferStreamC_inline_cc.hh.

396 {
398 MK_BUS __retVal__L = MkBufferStreamCreate(NULL, size);
399 if (__retVal__L == NULL) {
400 throw MkInitError("MkBufferStreamC::Create");
401 }
402 return MkBufferStreamC::MkBufferStreamC_ObjCreate(MK_RT_CALL __retVal__L);
403 }
struct MkBufferStreamS * MK_BUS
class-shortcut for struct MkBufferStreamS *, all shortcut using the XX_YYY syntax (only for public AP...
#define MkBufferStreamCreate(...)
#define MK_RT_CALL
#define MkRtSetup_NULL

◆ Create1024()

MkBufferStreamC * ccmkkernel::MkBufferStreamC::Create1024 ( MK_NUM size = 0)
inlinestatic

C++: [constructor,static] MkBufferStreamC* MkBufferStreamC::Create1024(MK_NUM size = 0) C-API
call the BufferStreamCreate with default type MkBufferStream1024S (1024 byte) …

Definition at line 406 of file MkBufferStreamC_inline_cc.hh.

406 {
408 MK_BUS __retVal__L = MkBufferStreamCreate1024(size);
409 if (__retVal__L == NULL) {
410 throw MkInitError("MkBufferStreamC::Create1024");
411 }
412 return MkBufferStreamC::MkBufferStreamC_ObjCreate(MK_RT_CALL __retVal__L);
413 }
#define MkBufferStreamCreate1024(...)

◆ Create16384()

MkBufferStreamC * ccmkkernel::MkBufferStreamC::Create16384 ( MK_NUM size = 0)
inlinestatic

C++: [constructor,static] MkBufferStreamC* MkBufferStreamC::Create16384(MK_NUM size = 0) C-API
call the BufferStreamCreate with default type MkBufferStream16384S (16384 byte) …

Definition at line 416 of file MkBufferStreamC_inline_cc.hh.

416 {
418 MK_BUS __retVal__L = MkBufferStreamCreate16384(size);
419 if (__retVal__L == NULL) {
420 throw MkInitError("MkBufferStreamC::Create16384");
421 }
422 return MkBufferStreamC::MkBufferStreamC_ObjCreate(MK_RT_CALL __retVal__L);
423 }
#define MkBufferStreamCreate16384(...)

◆ Create256()

MkBufferStreamC * ccmkkernel::MkBufferStreamC::Create256 ( MK_NUM size = 0)
inlinestatic

C++: [constructor,static] MkBufferStreamC* MkBufferStreamC::Create256(MK_NUM size = 0) C-API
call the BufferStreamCreate with default type MkBufferStream256S (256 byte) …

Definition at line 426 of file MkBufferStreamC_inline_cc.hh.

426 {
428 MK_BUS __retVal__L = MkBufferStreamCreate256(size);
429 if (__retVal__L == NULL) {
430 throw MkInitError("MkBufferStreamC::Create256");
431 }
432 return MkBufferStreamC::MkBufferStreamC_ObjCreate(MK_RT_CALL __retVal__L);
433 }
#define MkBufferStreamCreate256(...)

◆ Create64()

MkBufferStreamC * ccmkkernel::MkBufferStreamC::Create64 ( MK_NUM size = 0)
inlinestatic

C++: [constructor,static] MkBufferStreamC* MkBufferStreamC::Create64(MK_NUM size = 0) C-API
call the BufferStreamCreate with default type MkBufferStream64S (64 byte) …

Definition at line 436 of file MkBufferStreamC_inline_cc.hh.

436 {
438 MK_BUS __retVal__L = MkBufferStreamCreate64(size);
439 if (__retVal__L == NULL) {
440 throw MkInitError("MkBufferStreamC::Create64");
441 }
442 return MkBufferStreamC::MkBufferStreamC_ObjCreate(MK_RT_CALL __retVal__L);
443 }
#define MkBufferStreamCreate64(...)

◆ CreateTLS() [1/2]

MkBufferStreamC * ccmkkernel::MkBufferStreamC::CreateTLS ( const std::string & tlsName,
MK_BOOL resetB = true )
inlinestatic

C++: [static] MkBufferStreamC* MkBufferStreamC::CreateTLS(MK_STRN tlsName, MK_BOOL resetB = true) C-API
same as BufferStreamCreate but require no cleanup …

Definition at line 455 of file MkBufferStreamC_inline_cc.hh.

455 {
457 const MK_STRN tlsName_hdl = tlsName.c_str();
458 MK_BUS __retVal__L = MkBufferStreamCreateTLS(tlsName_hdl, resetB);
460 }
static MkBufferStreamC * MkBufferStreamC_ObjNew(MK_RT_ARGS MK_BUS hdl)
return MkBufferStreamC from LibMsgqueObject
#define MkBufferStreamCreateTLS(...)
const MK_STRB * MK_STRN
constant string pointer data-type

◆ CreateTLS() [2/2]

MkBufferStreamC * ccmkkernel::MkBufferStreamC::CreateTLS ( MK_STRN tlsName,
MK_BOOL resetB = true )
inlinestatic

C++: [static] MkBufferStreamC* MkBufferStreamC::CreateTLS(MK_STRN tlsName, MK_BOOL resetB = true) C-API
same as BufferStreamCreate but require no cleanup …

Definition at line 448 of file MkBufferStreamC_inline_cc.hh.

448 {
450 MK_BUS __retVal__L = MkBufferStreamCreateTLS(tlsName, resetB);
452 }

◆ Dup()

MkBufferStreamC * ccmkkernel::MkBufferStreamC::Dup ( ) const
inline

C++: [constructor] MkBufferStreamC* src.Dup() C-API
Dup-Constructor - create a new MkBufferStreamC instance as copy from an existing MkBufferStreamC instance …

Definition at line 374 of file MkBufferStreamC_inline_cc.hh.

374 {
375 MK_UNUSED auto src = getBUSN();
376 MK_BUS __retVal__L = MkBufferStreamDup(src);
377 if (__retVal__L == NULL) {
378 throw MkInitError("MkBufferStreamC::Dup");
379 }
380 return MkBufferStreamC::MkBufferStreamC_ObjCreate(MK_RT_CALL __retVal__L);
381 }
MK_BUSN getBUSN() const
(const) return the LibMsgqueObject from current MkBufferStreamC instance
#define MkBufferStreamDup(...)
#define MK_UNUSED
mark unnused variables and functions

◆ Merge()

MkBufferStreamC * ccmkkernel::MkBufferStreamC::Merge ( )
inline

C++: [constructor] MkBufferStreamC* bus.Merge() C-API
Merge-Constructor - create a new MkBufferStreamC as a merge from an existing object …

Definition at line 362 of file MkBufferStreamC_inline_cc.hh.

362 {
363 MK_UNUSED auto bus = getBUS();
364 MK_BUS __retVal__L = MkBufferStreamMerge(bus);
365 if (__retVal__L == NULL) {
366 throw MkInitError("MkBufferStreamC::Merge");
367 }
368 return MkBufferStreamC::MkBufferStreamC_ObjCreate(MK_RT_CALL __retVal__L);
369 }
MK_BUS getBUS() const
return the LibMsgqueObject from current MkBufferStreamC instance
#define MkBufferStreamMerge(...)

◆ MkBufferStreamC()

ccmkkernel::MkBufferStreamC::MkBufferStreamC ( MK_NUM size = 0)
inline

C++: [constructor,static] MkBufferStreamC* MkBufferStreamC::Create(MK_NUM size = 0) C-API
create and initialize an MkBufferStreamC instance …

Definition at line 372 of file MkBufferStreamC_cc.hh.

372: MkObjectC(CTOR(size)) {};