22 lines
650 B
C
22 lines
650 B
C
|
#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;
|
||
|
};
|