|
|
@@ -41,8 +41,8 @@ namespace CodeDweller { |
|
|
|
|
|
|
|
ChildStream::ChildStream(std::vector<std::string> const &args,
|
|
|
|
size_t bufSize) :
|
|
|
|
childStreambuf(bufSize),
|
|
|
|
std::iostream(&childStreambuf),
|
|
|
|
childStreambuf(bufSize),
|
|
|
|
cmdArgs(args) {
|
|
|
|
|
|
|
|
init();
|
|
|
@@ -51,8 +51,8 @@ namespace CodeDweller { |
|
|
|
}
|
|
|
|
|
|
|
|
ChildStream::ChildStream(std::string const &childpath, size_t bufSize) :
|
|
|
|
childStreambuf(bufSize),
|
|
|
|
std::iostream(&childStreambuf) {
|
|
|
|
std::iostream(&childStreambuf),
|
|
|
|
childStreambuf(bufSize) {
|
|
|
|
|
|
|
|
cmdArgs.push_back(childpath);
|
|
|
|
init();
|
|
|
@@ -60,8 +60,8 @@ namespace CodeDweller { |
|
|
|
}
|
|
|
|
|
|
|
|
ChildStream::ChildStream(size_t bufSize) :
|
|
|
|
childStreambuf(bufSize),
|
|
|
|
std::iostream(&childStreambuf) {
|
|
|
|
std::iostream(&childStreambuf),
|
|
|
|
childStreambuf(bufSize) {
|
|
|
|
|
|
|
|
init();
|
|
|
|
}
|
|
|
@@ -1341,8 +1341,6 @@ namespace CodeDweller { |
|
|
|
|
|
|
|
CodeDweller::PollTimer pollTimer(nominalPollTime_ms, maximumPollTime_ms);
|
|
|
|
|
|
|
|
auto sleepTime = std::chrono::milliseconds(maximumPollTime_ms);
|
|
|
|
|
|
|
|
while (!stopFlag) {
|
|
|
|
|
|
|
|
char *bufferPtr;
|
|
|
@@ -1440,8 +1438,6 @@ namespace CodeDweller { |
|
|
|
|
|
|
|
CodeDweller::PollTimer pollTimer(nominalPollTime_ms, maximumPollTime_ms);
|
|
|
|
|
|
|
|
auto sleepTime = std::chrono::milliseconds(maximumPollTime_ms);
|
|
|
|
|
|
|
|
while (!stopFlag) {
|
|
|
|
|
|
|
|
char *bufferPtr;
|