Tags

summary:
– singleton, global variable/struct/buffer
– factory, function to return a void ptr to a variable/struct/buffer
– observer, callback
– strategy, function pointer
– decorator, thin wrapper functions resembling a link list
– facade, wrapper function over messy code
– composite, link list
– proxy, wrapper functions on all apis
– command, event drive with the event come with the handler
– prototype, copy a variable/struct/buffer
– adapter, populate a variable/struct/buffer with various data given, transform translate
– state, case statement
– chain responsibility, if-else-if-else

Advertisements