12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- #ifndef ASJ_PE_STANDINGJUMP_WARPPER
- #define ASJ_PE_STANDINGJUMP_WARPPER
- #include "asj_pe_base.h"
- #include "PEStatus.h"
- #include "dl_api.h"
- #ifdef __cplusplus
- extern "C"
- {
- #endif
- /**
- * 创建实例,单例模式.
- * @return 实例指针
- */
- void* standingjump_create();
- /**
- * 对实例进行数据清零并赋值结构体中的参数
- * @param standingjump 输入参数:实例指针
- * @param standingjump_s 输入参数:页面设定的参数
- * @return 参考PEStatus.h中的StatusCode
- */
- int standingjump_examInit(void* standingjump, StandingJump_ST standingjump_s);
- /**
- * 输入推理数据进行考试状态检测
- * @param situp 输入参数:实例指针
- * @param mResult 输入参数:页面设定的参数
- * @param result 输出参数:结果结构体(包含计数结果和PEStatus.h中的StandingJumpExamCode按位或运算后的返回值)
- * @return 参考PEStatus.h中的StatusCode
- */
- int standingjump_processExam(void* standingjump, sampleRunJoint_RESULT_S *mResult, StandingJumpResult_ST *result);
- /**
- * enum转换char*
- * @param code 输入参数:枚举变量
- * @return 枚举变量对应的字符串
- */
- const char *StandingJumpExamCode2String(enum StandingJumpExamCode code);
- #ifdef __cplusplus
- }
- #endif
- #endif
|