buf renamed to streambuf
This commit is contained in:
parent
9361568b45
commit
764608005b
@ -97,7 +97,8 @@ ReturnValue_t MessageQueue::sendMessageFromMessageQueue(MessageQueueId_t sendTo,
|
||||
bool ignoreFault) {
|
||||
message->setSender(sentFrom);
|
||||
|
||||
BaseType_t result = xQueueSendToBack(reinterpret_cast<void*>(sendTo),reinterpret_cast<const void*>(message->getBuffer()), 0);
|
||||
BaseType_t result = xQueueSendToBack(reinterpret_cast<QueueHandle_t>(sendTo),
|
||||
reinterpret_cast<const void*>(message->getBuffer()), 0);
|
||||
if (result != pdPASS) {
|
||||
if (!ignoreFault) {
|
||||
InternalErrorReporterIF* internalErrorReporter = objectManager->get<InternalErrorReporterIF>(
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user