#ifndef XN_INTERFACE_GEN_SERVER_H #define XN_INTERFACE_GEN_SERVER_H #include "XNInterfaceGenServer_global.h" #include "PublicDefine.h" // 全局变量声明 extern int g_configrationID; extern std::string g_configName; extern AllInterfaceData g_interfaceData; // 步骤函数声明 extern "C" XNIGS_EXPORT int XNInterfaceGen_Step1_InitParams(int configrationID, const char *errorMsg, const int errorMsgSize); extern "C" XNIGS_EXPORT int XNInterfaceGen_Step2_GetInterfaceData(const char *errorMsg, const int errorMsgSize); extern "C" XNIGS_EXPORT int XNInterfaceGen_Step3_CreateConfigDir(const char *errorMsg, const int errorMsgSize); extern "C" XNIGS_EXPORT int XNInterfaceGen_Step4_GenerateIDL(const char *errorMsg, const int errorMsgSize); extern "C" XNIGS_EXPORT int XNInterfaceGen_Step5_GenerateFastDDS(const char *errorMsg, const int errorMsgSize); extern "C" XNIGS_EXPORT int XNInterfaceGen_Step6_GenerateDDSInterface(const char *errorMsg, const int errorMsgSize); extern "C" XNIGS_EXPORT int XNInterfaceGen_Step7_GenerateCMakeLists(const char *errorMsg, const int errorMsgSize); extern "C" XNIGS_EXPORT int XNInterfaceGen_Step8_BuildAndInstall(const char *errorMsg, const int errorMsgSize); extern "C" XNIGS_EXPORT int XNInterfaceGen_Step9_SudoLdconfig(const char *errorMsg, const int errorMsgSize); #endif // XN_INTERFACE_GEN_SERVER_H