Class KnowledgeBase.
Definition at line 36 of file kbase.h.
|
| | KnowledgeBase () |
| |
| virtual | ~KnowledgeBase () |
| |
| bool | createFrom (ModuleLoader *_mloader, AppLoader *_apploader, ResourceLoader *_resloader) |
| |
| bool | addApplication (Application *application, char **szAppName_=nullptr, bool modifyName=false) |
| |
| bool | addModule (Module *module) |
| |
| bool | addResource (GenericResource *resource) |
| |
| bool | removeApplication (Application *application) |
| |
| bool | removeModule (Module *module) |
| |
| bool | removeResource (GenericResource *resource) |
| |
| bool | reasolveDependency (const char *szName, bool bAutoDependancy=false, bool bSilent=false) |
| |
| bool | reasolveDependency (Application *app, bool bAutoDependancy=false, bool bSilent=false) |
| |
| bool | checkConsistency () |
| |
| Node * | getNode (std::string appName) |
| |
| const ModulePContainer & | getSelModules () |
| |
| const CnnContainer & | getSelConnection () |
| |
| const ResourcePContainer & | getSelResources () |
| |
| const ApplicaitonPContainer & | getSelApplications () |
| |
| const ApplicaitonPContainer & | getApplications (Application *parent=nullptr) |
| |
| const ModulePContainer & | getModules (Application *parent=nullptr) |
| |
| const ResourcePContainer & | getResources (Application *parent=nullptr) |
| |
| const CnnContainer & | getConnections (Application *parent=nullptr) |
| |
| const ArbContainer & | getArbitrators (Application *parent=nullptr) |
| |
| const InputContainer & | getInputCandidates (OutputData *output) |
| |
| const OutputContainer & | getOutputCandidates (InputData *input) |
| |
| Module * | getModule (const char *szName) |
| |
| Application * | getApplication () |
| |
| Application * | getApplication (const char *szName) |
| |
| GenericResource * | getResource (const char *szName) |
| |
| Module * | addIModuleToApplication (Application *application, ModuleInterface &mod, bool isNew=false) |
| |
| bool | removeIModuleFromApplication (Application *application, const char *szTag) |
| |
| Connection & | addConnectionToApplication (Application *application, Connection &cnn) |
| |
| bool | removeConnectionFromApplication (Application *application, Connection &cnn) |
| |
| bool | updateConnectionOfApplication (Application *application, Connection &prev, Connection &con) |
| |
| Application * | addIApplicationToApplication (Application *application, ApplicationInterface &app, bool isNew=false) |
| |
| bool | removeIApplicationFromApplication (Application *application, const char *szTag) |
| |
| Arbitrator & | addArbitratorToApplication (Application *application, Arbitrator &arb) |
| |
| bool | removeArbitratorFromApplication (Application *application, Arbitrator &arb) |
| |
| bool | setModulePrefix (Module *module, const char *szPrefix, bool updateBasePrefix=true) |
| |
| bool | setApplicationPrefix (Application *app, const char *szPrefix, bool updateBasePref=true) |
| |
| bool | saveApplication (AppSaver *appSaver, Application *application) |
| |
| const std::string | getUniqueAppID (Application *parent, const char *szAppName) |
| |
| bool | exportAppGraph (const char *szFileName) |
| |
| bool | exportKbGraph (const char *szFileName) |
| |