buf renamed to streambuf
This commit is contained in:
@ -2,14 +2,14 @@
|
||||
|
||||
ServiceInterfaceStream::ServiceInterfaceStream(std::string setMessage,
|
||||
bool errStream, bool addCrToPreamble, uint16_t port) :
|
||||
std::ostream(&buf),
|
||||
buf(setMessage, errStream, addCrToPreamble, port) {
|
||||
std::ostream(&streambuf),
|
||||
streambuf(setMessage, errStream, addCrToPreamble, port) {
|
||||
}
|
||||
|
||||
void ServiceInterfaceStream::setActive( bool myActive) {
|
||||
this->buf.isActive = myActive;
|
||||
this->streambuf.isActive = myActive;
|
||||
}
|
||||
|
||||
std::string ServiceInterfaceStream::getPreamble() {
|
||||
return buf.getPreamble();
|
||||
return streambuf.getPreamble();
|
||||
}
|
||||
|
@ -21,7 +21,7 @@ extern std::ostream error;
|
||||
class ServiceInterfaceStream :
|
||||
public std::ostream {
|
||||
protected:
|
||||
ServiceInterfaceBuffer buf;
|
||||
ServiceInterfaceBuffer streambuf;
|
||||
public:
|
||||
/**
|
||||
* This constructor is used by specifying the preamble message.
|
||||
|
Reference in New Issue
Block a user