{"id":19036157,"url":"https://github.com/tx7do/test_plugin_system","last_synced_at":"2026-05-05T20:30:19.631Z","repository":{"id":112433744,"uuid":"503572703","full_name":"tx7do/test_plugin_system","owner":"tx7do","description":null,"archived":false,"fork":false,"pushed_at":"2022-06-15T13:46:42.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-02T05:32:13.879Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tx7do.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-15T01:20:48.000Z","updated_at":"2022-06-15T06:00:40.000Z","dependencies_parsed_at":"2023-05-15T02:45:25.091Z","dependency_job_id":null,"html_url":"https://github.com/tx7do/test_plugin_system","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tx7do%2Ftest_plugin_system","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tx7do%2Ftest_plugin_system/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tx7do%2Ftest_plugin_system/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tx7do%2Ftest_plugin_system/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tx7do","download_url":"https://codeload.github.com/tx7do/test_plugin_system/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240093142,"owners_count":19746774,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T21:53:37.463Z","updated_at":"2026-05-05T20:30:19.600Z","avatar_url":"https://github.com/tx7do.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 测试插件系统\r\n\r\n插件系统主要就是加载动态库，然后调用动态库的接口，进行插件的加载和使用。\r\n\r\n历史悠久的COM就是一种插件系统。\r\n\r\n## 安装依赖库\r\n\r\n安装Boost\r\n\r\n```bash\r\nsudo apt-get install libboost-all-dev\r\n```\r\n\r\n安装POCO\r\n\r\n```bash\r\nsudo apt-get install libpoco-dev\r\n```\r\n\r\n## 基于Boost.DLL的插件系统\r\n\r\nBoost和STL差不多是一个模板库，它提供了Boost.DLL的接口，可以让我们在C++中方便的实现插件系统。\r\n\r\n## 基于POCO.ClassLoader的插件系统\r\n\r\nPOCO是一个仿造Java和.net的类库，它提供了一个类库加载器，可以加载类库，并且可以获取类库的信息。\r\n\r\n## 从Ogre中提取的插件系统\r\n\r\nOgre是我刚开是工作的时候读过的开源项目中的其中一个，对我影响很深。它是基于插件系统的，所以很灵活。\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftx7do%2Ftest_plugin_system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftx7do%2Ftest_plugin_system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftx7do%2Ftest_plugin_system/lists"}