28 lines
1.1 KiB
C++
28 lines
1.1 KiB
C++
#ifndef XN_INTERFACE_GEN_SERVER_H
|
|
#define XN_INTERFACE_GEN_SERVER_H
|
|
|
|
#include "XNInterfaceGenServer_global.h"
|
|
#include "PublicDefine.h"
|
|
|
|
// 全局变量声明
|
|
extern std::string g_tableName;
|
|
extern std::string g_configName;
|
|
extern char *g_errorMsg;
|
|
extern int g_errorMsgSize;
|
|
extern AllInterfaceData g_interfaceData;
|
|
|
|
// 步骤函数声明
|
|
extern "C" XNIGS_EXPORT bool
|
|
XNInterfaceGen_Step1_InitParams(const char *tableName, const int tableNameSize,
|
|
const char *configName, const int configNameSize,
|
|
const char *errorMsg, const int errorMsgSize);
|
|
extern "C" XNIGS_EXPORT bool XNInterfaceGen_Step2_GetInterfaceData();
|
|
extern "C" XNIGS_EXPORT bool XNInterfaceGen_Step3_CreateConfigDir();
|
|
extern "C" XNIGS_EXPORT bool XNInterfaceGen_Step4_GenerateIDL();
|
|
extern "C" XNIGS_EXPORT bool XNInterfaceGen_Step5_GenerateFastDDS();
|
|
extern "C" XNIGS_EXPORT bool XNInterfaceGen_Step6_GenerateDDSInterface();
|
|
extern "C" XNIGS_EXPORT bool XNInterfaceGen_Step7_GenerateCMakeLists();
|
|
extern "C" XNIGS_EXPORT bool XNInterfaceGen_Step8_BuildAndInstall();
|
|
|
|
#endif // XN_INTERFACE_GEN_SERVER_H
|