LcSettingC - define the class … More...
Collaboration diagram for LcSettingC_Class_C_API:Topics | |
| LcSettingC_Class_Define_C_API | |
| LcSettingC - low level definition, access and cast … | |
Macros | |
| #define | LcGetCfsFromNat(_nat) |
| helper for liblcconfig::LcSettingC_ObjNew … | |
Typedefs | |
| typedef struct LcSettingS * | liblcconfig::LC_CFS |
class-shortcut for struct LcSettingS *, all shortcut using the XX_YYY syntax (only for public API) … | |
| typedef const struct LcSettingS * | liblcconfig::LC_CFSN |
class-shortcut for const struct LcSettingS *, all const shortcut using the XX_YYYC syntax (only for public API) … | |
| typedef struct LcSettingS | liblcconfig::LC_CFSR |
reference-shortcut for struct LcSettingS, all shortcut using the XX_YYYR syntax (only for public API) … | |
LcSettingC - Export - inline - interact with an external software | |
| static MK_ARTIFICIAL LC_CFS | liblcconfig::LcSettingC_ObjNew (config_setting_t *hdl) |
| return Programming-Language-Micro-Kernel (PLMK) instance from native hdl … | |
| static LC_CFS | liblcconfig::LcSettingC_ObjCreate (config_setting_t *hdl) |
| return Programming-Language-Micro-Kernel (PLMK) instance from native hdl … | |
| static MK_HDL | liblcconfig::LcSettingHandleGet_RT (MK_RT mkrt, LC_CFS const cfs) |
| Handle-Get-Slot - returns a export-hdl to the LcSettingC useable for external storage | |
| static LC_CFS | liblcconfig::LcSettingHandleResolve_RT (MK_RT mkrt, MK_HDL const netHdl) |
Handle-Resolve-Slot - return a LcSettingC from netHdl or MK_NULL if invalid… | |
| #define | LcSettingHandleResolve_e(netHdl) |
| wrapper for LcSettingHandleResolve with error-handline | |
LcSettingC - Misc - function - unspecified functions to perform different tasks | |
| static LC_CFS | liblcconfig::LcSettingGetNull (void) |
Null-Slot - return a LcSettingC typed NULL instance … | |
LcSettingC - Introspection - inline - access to all instances created by class starting with the last one | |
| static LC_CFS | liblcconfig::LcSettingInstances_RT (MK_RT mkrt) |
| get head-instance from linked-list of LcSettingS type … | |
| static LC_CFS | liblcconfig::LcSettingNext (LC_CFS const cfs) |
| get next instance from linked-list of LcSettingS type | |
| static LC_CFS | liblcconfig::LcSettingPrev (LC_CFS const cfs) |
| get previous instance from linked-list of LcSettingS type | |
LcSettingC - Export - overload | |
| #define | LcSettingHandleResolve_NULL(...) |
| #define | LcSettingHandleResolve(...) |
| #define | LcSettingHandleGet_NULL(...) |
| #define | LcSettingHandleGet(...) |
LcSettingC - Introspection - overload | |
| #define | LcSettingInstances_NULL() |
| #define | LcSettingInstances() |
LcSettingC - define the class …
| #define LcGetCfsFromNat | ( | _nat | ) |
helper for liblcconfig::LcSettingC_ObjNew …
Definition at line 183 of file LcSettingC_def_lc.h.
| #define LcSettingHandleGet | ( | ... | ) |
Definition at line 165 of file config_overload_lc.h.
| #define LcSettingHandleGet_NULL | ( | ... | ) |
Definition at line 164 of file config_overload_lc.h.
| #define LcSettingHandleResolve | ( | ... | ) |
Definition at line 161 of file config_overload_lc.h.
| #define LcSettingHandleResolve_e | ( | netHdl | ) |
wrapper for LcSettingHandleResolve with error-handline
| [in] | netHdl | The handle previously returned by MkObjectHandleGet. |
MK_NULL with an error set.0 than MK_NULL is returned and the upper-code decide how to deal with it.MK_NULL if the netHdl is invalid or the underlying object has already been deleted.MK_NULL is returned than an error-message is created and a jump to the label error is done.Definition at line 261 of file LcSettingC_def_lc.h.
| #define LcSettingHandleResolve_NULL | ( | ... | ) |
Definition at line 160 of file config_overload_lc.h.
| #define LcSettingInstances | ( | ) |
Definition at line 176 of file config_overload_lc.h.
| #define LcSettingInstances_NULL | ( | ) |
Definition at line 175 of file config_overload_lc.h.
| typedef struct LcSettingS* liblcconfig::LC_CFS |
class-shortcut for struct LcSettingS *, all shortcut using the XX_YYY syntax (only for public API) …
Definition at line 309 of file LibLcConfig_lc.h.
| typedef const struct LcSettingS* liblcconfig::LC_CFSN |
class-shortcut for const struct LcSettingS *, all const shortcut using the XX_YYYC syntax (only for public API) …
Definition at line 312 of file LibLcConfig_lc.h.
| typedef struct LcSettingS liblcconfig::LC_CFSR |
reference-shortcut for struct LcSettingS, all shortcut using the XX_YYYR syntax (only for public API) …
Definition at line 315 of file LibLcConfig_lc.h.
|
inlinestatic |
return Programming-Language-Micro-Kernel (PLMK) instance from native hdl …
Definition at line 206 of file LcSettingC_def_lc.h.
|
inlinestatic |
return Programming-Language-Micro-Kernel (PLMK) instance from native hdl …
Definition at line 199 of file LcSettingC_def_lc.h.
|
inlinestatic |
Null-Slot - return a LcSettingC typed NULL instance …
Definition at line 286 of file LcSettingC_def_lc.h.
Here is the caller graph for this function:Handle-Get-Slot - returns a export-hdl to the LcSettingC useable for external storage
The export-hdl is a reference to an instance that can be stored in software and converted back into an instance using the LcSettingHandleResolve.
By default, the export-hdl is initialized to "0", which is equivalent to does not exist. This function returns a non-zero and unique export-hdl that is recreated if necessary.
The export-hdl is only valid until the Programming-Language-Micro-Kernel (PLMK) ends.
example: The export-hdl is used in rpc to identify an object across the network.
| [in] | mkrt | the MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) |
| [in] | cfs | Programming-Language-Micro-Kernel (PLMK) instance from config_setting_t |
Definition at line 228 of file LcSettingC_def_lc.h.
Here is the caller graph for this function:
|
inlinestatic |
Handle-Resolve-Slot - return a LcSettingC from netHdl or MK_NULL if invalid…
The LcSettingHandleResolve undo the LcSettingHandleGet and is intended to export a unique identifer into external code not belonging to the Programming-Language-Micro-Kernel (PLMK).
| [in] | mkrt | the MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) |
| [in] | netHdl | handle former exported with LcSettingHandleGet |
MK_NULL if netHdl is invalid Definition at line 245 of file LcSettingC_def_lc.h.
get head-instance from linked-list of LcSettingS type …
The head-instance is the last instance created.
Definition at line 310 of file LcSettingC_def_lc.h.
Here is the caller graph for this function:get next instance from linked-list of LcSettingS type
Definition at line 317 of file LcSettingC_def_lc.h.
Here is the caller graph for this function:get previous instance from linked-list of LcSettingS type
Definition at line 324 of file LcSettingC_def_lc.h.
Here is the caller graph for this function: