design_pattern_for_c  V 1.00
prototype_factory.h
Go to the documentation of this file.
1 
5 #ifndef PROTOTYPE_FACTORY_H
6 #define PROTOTYPE_FACTORY_H
7 #include "prototype.h"
8 
12 
13 /*@name prototype_factory_instance API definition*/
14 /* @{ */
23 /* @} */
24 #endif
void prototype_factory_instance_free_data(PrototypeFactoryInstance this, void *data)
free data
void prototype_factory_instance_free(PrototypeFactoryInstance this)
free
struct prototype_factory_instance_t * PrototypeFactoryInstance
void * prototype_factory_instance_clone_data(PrototypeFactoryInstance this)
clone data
prototype_factory_instance, PrototypeFactory class instance definition
PrototypeFactoryInstance prototype_factory_instance_new(void *base, size_t base_length, prototype_factory_method_t *factory_method)
new
This is API for Prototype design pattern.
prototype_factory_method_t factory_method
PrototypeFactory methods interface definition, to set prototype_register.
Definition: prototype.h:28