创建一个在C插件架构++ [英] Creating a plugin architecture in c++

查看:146
本文介绍了创建一个在C插件架构++的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要创建C ++中的插件架构,我没有太多关于如何启动一个想法。它应该有一个插件,管理器,它应该允许用户选择所需的插件。我了解,关于多布斯博士的文章,但我没有发现它非常有用的,因为可能我没有太多编程经验。你能给我一些提示,或者code的例子吗?在此先感谢!

I have to create a plugin architecture in c++ and I don't have much of an idea about how to start. It should have a Plugin-manager which should allow the user to select the desired plugin. I read an article about that on Dr. Dobbs but I didn't find it quite useful, since probably I dont have much programming experience. Can you give me some tips, or maybe code examples? Thanks in advance!

推荐答案

我可以建议通过几个关键概念首先想:

I could suggest thinking through a couple of key concepts first:


  • 当你希望加载插件?在程序启动时或动态范围内?

  • 插件加载是基于配置文件或目录的内容,即每程序会话?

  • 什么是插件的形式?使用的是一些prepared API或者动态库只是简单的脚本?

这篇关于创建一个在C插件架构++的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆