theLink 10.0
Loading...
Searching...
No Matches
csmqmsgque.MqFactoryCT< T > Class Template Reference

Implements the factory-template. More...

+ Inheritance diagram for csmqmsgque.MqFactoryCT< T >:
+ Collaboration diagram for csmqmsgque.MqFactoryCT< T >:

Public Member Functions

new T New ()
 
new MqFactoryCT< T > Initial ()
 
- Public Member Functions inherited from csmqmsgque.MqFactoryC
new MqFactoryC Next ()
  C#: MqFactoryC fct.Next() C-API
get next instance from linked-list of MqFactoryS type
 
new MqFactoryC Prev ()
  C#: MqFactoryC fct.Prev() C-API
get previous instance from linked-list of MqFactoryS type
 
string GetOriginalIdent ()
  C#: string fct.GetOriginalIdent() C-API
helper function to return MqFactoryS.originalIdent
 
MqFactoryC Default ()
  C#: MqFactoryC fct.Default() C-API
set the default-attribute to the factory
 
MqFactoryC Initial ()
  C#: MqFactoryC fct.Initial() C-API
set the initial-attribut to fct
 
MqContextC New ()
  C#: MqContextC fct.New() C-API
create a new MqContextC from a MqFactoryC
 
MqFactoryC Dup2 (string ident)
  C#: [constructor] MqFactoryC fct.Dup2(string ident) C-API
create a duplicate of the singleton object MqFactoryC using a new factory-identifer
 
 MqFactoryC (Type constructor, string ident=null)
 CONSTRUCTOR.
 
- Public Member Functions inherited from csmkkernel::MkObjectC
delegate void MkObjectDeleteSCB (string typeName, int typeHdl, int objHdl)
 
void ErrorCheck (MkErrorE err)
 
bool Check ()
 
string ToNameOfClass ()
 
void HandleDelete ()
 
bool HandleExists ()
 
Int32 HandleGet ()
 
Int32 HandleGetOfType ()
 
Int32 HandleGetOr0 ()
 
MkObjectC Next ()
 
MkObjectC Prev ()
 
void DbgDump (string message="var",[CallerMemberName]string callfunc=null)
 
void DbgL (string message, int debug=0,[CallerMemberName]string callfunc=null, int lvl=0)
 
void DbgLogC ([CallerMemberName]string callfunc=null)
 
void DbgO ([CallerMemberName]string callfunc=null)
 
void DbgSTACK (int skip=0, int num=-1,[CallerMemberName]string callfunc=null)
 
void LogC (string message, int debug=0,[CallerMemberName]string callfunc=null)
 
void LogHEX (string callfunc, byte[] data)
 
void Log (MkObjectC fmtobj=null, int debug=0,[CallerMemberName]string callfunc=null, int lvl=0)
 
void LogLong (MkObjectC fmtobj=null, int debug=0,[CallerMemberName]string callfunc=null, int lvl=0)
 
void LogShort (MkObjectC fmtobj=null, int debug=0,[CallerMemberName]string callfunc=null, int lvl=0)
 
void LogType (MkObjectC fmtobj=null, int debug=0,[CallerMemberName]string callfunc=null, int lvl=0)
 
MkErrorC ErrorCatch (Exception exception=null,[CallerMemberName]string callfunc=null)
 
MkErrorC ToError ()
 
bool IsNull ()
 
string ToName ()
 
string ToNameOfType ()
 
override string ToString ()
 
int RefGet ()
 
void SysKill (int pid, int signal)
 
int SysGetPid ()
 
void Dispose ()
 
void Delete ()
 

Static Public Member Functions

static MqFactoryCT< T > Add (string ident=null)
  C#: [constructor,static] MqFactoryC MqFactoryC.Add(Type constructor, string ident = null) C-API
Add a new MqFactoryC identified by factory-identifier and defined by factory-constructor
 
- Static Public Member Functions inherited from csmqmsgque.MqFactoryC
static MqFactoryC MqFactoryC_ObjNew (IntPtr hdl)
 
new static MqFactoryC HandleResolve (Int32 netHdl)
  C#: [static] MqFactoryC MqFactoryC.HandleResolve(Int32 netHdl) C-API
Handle-Resolve-Slot - return a MqFactoryC from netHdl or null if invalid…
 
new static MqFactoryC Instances ()
  C#: [static] MqFactoryC MqFactoryC.Instances() C-API
get head-instance from linked-list of MqFactoryS type …
 
new static MqFactoryC GetNull ()
  C#: [static] MqFactoryC MqFactoryC.GetNull() C-API
Null-Slot - return a MqFactoryC typed NULL instance …
 
static MqFactoryC Get (string ident="")
  C#: [static] MqFactoryC MqFactoryC.Get(string ident = "") C-API
return the MqFactoryC
 
static MqFactoryC GetCalled (string ident="")
  C#: [static] MqFactoryC MqFactoryC.GetCalled(string ident = "") C-API
returns the MqFactoryC identified by ident
 
static MqFactoryC GetCalled (MkBufferListC largs)
  C#: [static] MqFactoryC MqFactoryC.GetCalled(MkBufferListC largs) C-API
returns the MqFactoryC identified as first argument in the largs MkBufferListC
 
static string DefaultIdent ()
  C#: [static] string MqFactoryC.DefaultIdent() C-API
return the factory-identifier of the default MqFactoryC
 
static string InitialIdent ()
  C#: [static] string MqFactoryC.InitialIdent() C-API
return the factory-identifier of the initial MqFactoryC
 
static void LogAll ([CallerMemberName]string callfunc=null)
  C#: [static] MqFactoryC.LogAll([CallerMemberName]string callfunc = null) C-API
log all "factories" to stderr
 
static MqFactoryC Add (Type constructor, string ident=null)
  C#: [constructor,static] MqFactoryC MqFactoryC.Add(Type constructor, string ident = null) C-API
Add a new MqFactoryC identified by factory-identifier and defined by factory-constructor
 
- Static Public Member Functions inherited from csmkkernel::MkObjectC
static MkObjectC MkObjectC_ObjNew (IntPtr hdl)
 
static IntPtr getOBJ (string cls, MkObjectC obj)
 
static IntPtr getOBJ_null_allow (MkObjectC obj)
 
static MkObjectC HandleResolve (Int32 netHdl)
 
static void HandleDeleteByNetHdl (Int32 netHdl)
 
static MkObjectC Instances ()
 
static MkObjectC GetNull ()
 
static void DbgM (string message, int debug=0,[CallerMemberName]string callfunc=null, int lvl=0)
 
static int SysHashI32 (string key, int length=-1)
 
static string SysHashSTR (string key, int length=-1)
 
static void DeleteCallbackCleanup (string ident)
 
static void DeleteCallbackSetup (string ident, MkObjectDeleteSCB callback=null, string filter=null)
 
static int getPId ()
 
static int getTId ()
 
static string getStackTrace (int level=2)
 
static string getCallerProc (int level=2)
 
static int getCallerLine (int level=2)
 
static string getCallerFile (int level=2)
 

Additional Inherited Members

- Protected Member Functions inherited from csmkkernel::MkObjectC
 MkObjectC (IntPtr obj)
 
 MkObjectC ()
 
virtual void Dispose (bool disposing)
 
- Static Protected Member Functions inherited from csmqmsgque.MqFactoryC
static IntPtr CTOR (Type constructor, string ident=null)
  C#: [constructor,static] MqFactoryC MqFactoryC.Add(Type constructor, string ident = null) C-API
Add a new MqFactoryC identified by factory-identifier and defined by factory-constructor
 
- Static Protected Member Functions inherited from csmkkernel::MkObjectC
static object atomObjNew (Type type, ConstructorInfo ctor, IntPtr obj)
 
static object atomObjCreate (Type type, ConstructorInfo ctor, IntPtr obj)
 
static IntPtr atomSelfCreate (ConstructorInfo ctor, IntPtr obj, IntPtr env)
 
static object atomSelfNull (ConstructorInfo ctor)
 
static void atomSelfUnlink (IntPtr self, IntPtr env)
 
static ConstructorInfo getCtor (Type type)
 
static string Name (IntPtr mkrt, IntPtr obj)
 
- Protected Attributes inherited from csmkkernel::MkObjectC
IntPtr pmkrt
 
- Package Functions inherited from csmqmsgque.MqFactoryC
- Static Package Functions inherited from csmqmsgque.MqFactoryC
- Properties inherited from csmkkernel::MkObjectC
IntPtr hdl
 
IntPtr hdl_null_allow
 
IntPtr mkrt
 

Detailed Description

Implements the factory-template.

Type Constraints
T :MqContextC 

Definition at line 403 of file MqFactoryC.cs.

Member Function Documentation

◆ Add()

static MqFactoryCT< T > csmqmsgque.MqFactoryCT< T >.Add ( string ident = null)
inlinestatic

C#: [constructor,static] MqFactoryC MqFactoryC.Add(Type constructor, string ident = null) C-API
Add a new MqFactoryC identified by factory-identifier and defined by factory-constructor

Definition at line 417 of file MqFactoryC.cs.

417 {
418#if META_STRONG_REF
419 return MqFactoryCT<T>.MqFactoryCT_ObjNew(CTOR(typeof(T),ident));
420#else
421 var fct = CTOR(typeof(T),ident);
422 var ret = MqFactoryCT<T>.MqFactoryCT_ObjNew(fct);
423 Mk.CsMakePersistent(fct);
424 return ret;
425#endif
426 }
static unsafe void CsMakePersistent(IntPtr hdl)
#define MqFactoryCT
class as MkTypeDefS-class-type for MqFactoryC in the Target-Programming-Language (TPL) …
static IntPtr CTOR(Type constructor, string ident=null)
C#: [constructor,static] MqFactoryC MqFactoryC.Add(Type constructor, string ident = null) → C-API ...

◆ Initial()

new MqFactoryCT< T > csmqmsgque.MqFactoryCT< T >.Initial ( )
inline

Definition at line 432 of file MqFactoryC.cs.

432 {
433 return (MqFactoryCT<T>) base.Initial();
434 }

◆ New()

new T csmqmsgque.MqFactoryCT< T >.New ( )
inline

Definition at line 428 of file MqFactoryC.cs.

428 {
429 return (T) base.New();
430 }

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