🛰️航天仿真算法库 SpaceAST 0.4.0
载入中...
搜索中...
未找到
PluginInterface.hpp 文件参考
#include "AstGlobal.h"
#include "AstUtil/StringView.hpp"
#include <string>
#include <vector>

浏览该文件的源代码.

类

class  ast::PluginInstance
 
struct  ast::PluginEntry
 

命名空间

namespace  ast
 

宏定义

#define AST_PLUGIN_EXPORT   A_DECL_EXPORT
 
#define AST_PLUGIN_IID_NAME   ast_plugin_iid
 
#define AST_PLUGIN_KEYS_NAME   ast_plugin_keys
 
#define AST_PLUGIN_INSTANCE_NAME   ast_plugin_instance
 
#define AST_PLUGIN_IID_NAMESTR   A_STRINGIZE(AST_PLUGIN_IID_NAME)
 
#define AST_PLUGIN_KEYS_NAMESTR   A_STRINGIZE(AST_PLUGIN_KEYS_NAME)
 
#define AST_PLUGIN_INSTANCE_NAMESTR   A_STRINGIZE(AST_PLUGIN_INSTANCE_NAME)
 
#define AST_PLUGIN_INSTANCE(Type)
 
#define AST_PLUGIN_IID(IFace)
 
#define AST_PLUGIN_KEYS(...)
 
#define AST_DECLARE_INTERFACE(IFace, IID)
 

类型定义

typedef PluginInstance *(* ast::FPluginInstance) ()
 

函数

template<class IFace >
constexpr const char * ast::aInterfaceId ()
 
template<class IFace >
IFace * ast::aPluginCast (PluginInstance *instance)
 

详细描述

通用插件接口定义

定义插件根对象、接口 ID 声明机制、元数据导出宏与实例入口约定

作者
axel
日期
2026-10-14

SpaceAST项目(https://github.com/space-ast/ast) 本软件基于 Apache 2.0 开源许可证分发。 您可在遵守许可证条款的前提下使用、修改和分发本软件。 许可证全文请见:

http://www.apache.org/licenses/LICENSE-2.0

重要须知: 软件按"现有状态"提供,无任何明示或暗示的担保条件。 除非法律要求或书面同意,作者与贡献者不承担任何责任。 使用本软件所产生的风险,需由您自行承担。