design_pattern_for_c
V 1.00
|
Implement of lower_layer_director (related to builder design petten) library API, defined in flyweight.h. More...
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "director.h"
#include "lower_layer_builder.h"
#include "dp_debug.h"
Go to the source code of this file.
Functions | |
LowerLayerDirector | lower_layer_director_new (char *builder_lib_name, char *builder_interface_conf) |
director new More... | |
void | lower_layer_director_construct (LowerLayerDirector this, void *initial_parameter, void(*initial_result)(int result)) |
director cconstruct More... | |
void | lower_layer_director_free (LowerLayerDirector this) |
director denstruct More... | |
Implement of lower_layer_director (related to builder design petten) library API, defined in flyweight.h.
Definition in file lower_layer_director.c.
void lower_layer_director_construct | ( | LowerLayerDirector | director, |
void * | initial_parameter, | ||
void(*)(int result) | initial_result | ||
) |
director cconstruct
[in] | director | LowerLayerDirector class instance returned at lower_layer_director_construct |
[in] | initial_parameter | initialize parameter if you have |
[in] | initial_result | initialize callback, result is in here |
Definition at line 34 of file lower_layer_director.c.
void lower_layer_director_free | ( | LowerLayerDirector | director | ) |
director denstruct
[in] | director | LowerLayerDirector class instance returned at lower_layer_director_construct |
Definition at line 38 of file lower_layer_director.c.
LowerLayerDirector lower_layer_director_new | ( | char * | builder_lib_name, |
char * | builder_interface_conf | ||
) |
director new
[in] | builder_lib_name | library name implement builder interface |
[in] | builder_interface_conf | conf file write interface definition |
!=NULL | LowerLayerDirector class instance. |
NULL | error |
Definition at line 15 of file lower_layer_director.c.