怎样创建ALModule的API

 时间:2024-10-18 10:15:02

1、模块生成器创建一个会被代理程序读懂的类:加载一个模块,查看模块函数API等等。

怎样创建ALModule的API

2、#define BIND_METHOD( x ) 在模块的API里添加方法x。API(绑定函数)可以被本地或远程调用。

怎样创建ALModule的API

3、void functionName ( con衡痕贤伎st std::string& pName, const std::string&锾攒揉敫amp; pClass, const std::string& pFunctionDescription ); 用来定义绑定方法的名称。

怎样创建ALModule的API

4、void addParam (const std::string& pName, const std::string& pDesc); 用来说明方法的参数

怎样创建ALModule的API

5、virtual AL::ALValue get怡觎现喾MethodHelp ( const std::string& pMethodName ); 获取methodName的说明

怎样创建ALModule的API

6、AL::ALValue moduleHelp(); 获取模块的说明

怎样创建ALModule的API
  • 天气忽冷忽热的养生注意事项
  • 薇菜清炖鸡汤
  • 怎样有效去除青春痘
  • 如何教孩子学会剥和切菠萝
  • 交流JWSL-3系列经济型温湿度变送器使用说明书
  • 热门搜索
    适合发朋友圈正能量短句 如何入党 京润珍珠怎么样 柬埔寨在哪里 泾渭分明发生在哪里 青岛旅游团 旅游文化节 腊梅种子怎么种 贝舒乐纸尿裤怎么样 孩子生日想发个朋友圈