cppfbp icon indicating copy to clipboard operation
cppfbp copied to clipboard

a guide on creating components

Open dataf3l opened this issue 6 years ago • 2 comments

how can I create new components?

dataf3l avatar Aug 15 '19 12:08 dataf3l

There are quite a few sample components on the GitHub cppfbp repo - here is one: https://github.com/jpaulm/cppfbp/blob/master/CppFBPComponents/Components/ThCopy.cpp .

There is also a file describing the component and network syntax on my personal web site - http://www.jpaulmorrison.com/fbp/CppFBP.shtml - I will copy it onto the Github repo shortly...

Thanks again!

jpaulm avatar Aug 16 '19 17:08 jpaulm

these names are hard to read:

lua_register(L, "dfsrecv", thl_recv); lua_register(L, "dfsdrop", thl_drop); lua_register(L, "dfscrep", thl_crep); lua_register(L, "dfssend", thl_send); lua_register(L, "dfselct", thl_elct); lua_register(L, "dfsclos", thl_clos); lua_register(L, "dfsderef", thl_deref);

dataf3l avatar Aug 19 '19 03:08 dataf3l