XNSim/XNInterfaceGenServer/DDSInterfaceGen.h

22 lines
650 B
C
Raw Permalink Normal View History

#pragma once
#include "PublicDefine.h"
class DDSInterfaceGen
{
public:
DDSInterfaceGen(const std::string &idlPath);
bool generateDDSInterface(const AllInterfaceData &interfaceData);
private:
bool generateDDSInterfaceHpp(const std::string &nameSpace, const std::string &structName,
const std::string &interfaceFolderPath,
const std::vector<InterfaceData> &interfaceData);
bool generateDDSInterfaceCxx(const std::string &nameSpace, const std::string &structName,
const std::string &interfaceFolderPath,
const std::vector<InterfaceData> &interfaceData);
private:
std::string IDLPath;
std::string IDLName;
};