design_pattern_for_c  V 1.00
lower_layer_builder.h File Reference


This is API name definition for lower layer plugin library lower_layer_builder will load plugin defined this API. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define LL_BUILDER_SUCCESS   (0)
 result code : success More...
 
#define LL_BUILDER_FAILED   (-1)
 result code : error More...
 
#define LL_BUILDER_NEWNAME   "lower_layer_builder_instance_new"
 name definition of plugin interface "new" More...
 
#define LL_BUILDER_FREENAME   "lower_layer_builder_instance_free"
 name definition of plugin interface "free" More...
 

Functions

void * lower_layer_builder_instance_new (void)
 new builder interface More...
 
void lower_layer_builder_instance_free (void *interfaceClass)
 free builder interface More...
 

Detailed Description


This is API name definition for lower layer plugin library lower_layer_builder will load plugin defined this API.

(this API will load by libbuilder.so as dynamic library)

Definition in file lower_layer_builder.h.

Macro Definition Documentation

◆ LL_BUILDER_FAILED

#define LL_BUILDER_FAILED   (-1)

result code : error

Definition at line 11 of file lower_layer_builder.h.

◆ LL_BUILDER_FREENAME

#define LL_BUILDER_FREENAME   "lower_layer_builder_instance_free"

name definition of plugin interface "free"

Definition at line 32 of file lower_layer_builder.h.

◆ LL_BUILDER_NEWNAME

#define LL_BUILDER_NEWNAME   "lower_layer_builder_instance_new"

name definition of plugin interface "new"

Definition at line 22 of file lower_layer_builder.h.

◆ LL_BUILDER_SUCCESS

#define LL_BUILDER_SUCCESS   (0)

result code : success

Definition at line 9 of file lower_layer_builder.h.

Function Documentation

◆ lower_layer_builder_instance_free()

void lower_layer_builder_instance_free ( void *  interfaceClass)

free builder interface

Parameters
[in]interfaceClasslower plugin interface class instance

◆ lower_layer_builder_instance_new()

void* lower_layer_builder_instance_new ( void  )

new builder interface

Return values
!=NULLthis lower plugin interface class instance if lower library has it.
NULLnot implement interface