FunQuit

向父Funtion发送关闭通知。

参数列表

参数 类型 含义
nRetCode eint (64位整型) 子Function返回错误码
piRetData std::string* 子Function向父Function发送返回字符串指针

返回值

执行错误码,ERR_NONE代表成功

备注

调用此FunQuit后框架会关闭消息队列、HighLevelAI及LowLevelAI权限。之后Destroy函数会被调用执行销毁。

收到ProcCloseCmd回调的Function模块必须尽快调用FunQuit函数通知框架销毁此Function。