1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

cleanup style

This commit is contained in:
Manuel Pitz 2020-11-03 18:56:07 +01:00
parent 6a525f7f89
commit fb2d3a0d9e

View file

@ -27,18 +27,20 @@ namespace villas {
namespace node {
class Dumper {
protected:
int socketFd;
std::string socketName;
bool supressRepeatedWarning;
uint64_t warningCounter;
public:
Dumper(std::string socketNameIn);
~Dumper();
int openSocket(std::string socketNameIn);
void closeSocket();
void writeData(uint len, double* yData, double* xData = nullptr);
};
protected:
int socketFd;
std::string socketName;
bool supressRepeatedWarning;
uint64_t warningCounter;
public:
Dumper(std::string socketNameIn);
~Dumper();
int openSocket(std::string socketNameIn);
void closeSocket();
void writeData(uint len, double* yData, double* xData = nullptr);
};
} /* namespace node */
} /* namespace villas */
} /* namespace villas */