31 #define CPN_DEFAULT_INIT_SYMBOL cpninit
32 #define CPN_DEFAULT_INIT_SYMBOL_STR "cpninit"
39 typedef shared_ptr<NodeFactory> (*CPNInitPrototype)(void);
53 void LoadSharedLib(
const std::string &libname);
54 void LoadSharedLib(
const std::vector<std::string> &list);
60 void LoadNodeList(
const std::string &filename);
61 void LoadNodeList(
const std::vector<std::string> &list);
68 void SearchDirectory(
const std::string &dirname);
69 void SearchDirectory(
const std::vector<std::string> &dirnames);
76 NodeFactory *GetFactory(
const std::string &nodename);
82 void RegisterFactory(shared_ptr<NodeFactory> factory);
85 void InternalLoadLib(
const std::string &lib);
86 void InternalLoad(
const std::string &sym);
88 typedef std::map<std::string, lt__handle*>
LibMap;
90 typedef std::map<std::string, shared_ptr<NodeFactory> >
FactoryMap;
std::map< std::string, shared_ptr< NodeFactory > > FactoryMap
std::map< std::string, std::string > NodeLibMap
std::map< std::string, lt__handle * > LibMap
The node factory provides a method for the kernel to create arbitrary user defined Nodes...