ASTP 1.1.0 Merge Development in Master #441
|
@ -171,6 +171,10 @@ bool ServiceInterfaceBuffer::crAdditionEnabled() const {
|
|||
return addCrToPreamble;
|
||||
}
|
||||
|
||||
void ServiceInterfaceBuffer::setAsciiColorPrefix(std::string colorPrefix) {
|
||||
this->colorPrefix = colorPrefix;
|
||||
}
|
||||
|
||||
#ifdef UT699
|
||||
#include "../osal/rtems/Interrupt.h"
|
||||
|
||||
|
|
|
@ -48,6 +48,7 @@ private:
|
|||
|
||||
#if FSFW_COLORED_OUTPUT == 1
|
||||
std::string colorPrefix;
|
||||
void setAsciiColorPrefix(std::string colorPrefix);
|
||||
#endif
|
||||
|
||||
// For EOF detection
|
||||
|
|
|
@ -19,5 +19,9 @@ bool ServiceInterfaceStream::crAdditionEnabled() const {
|
|||
return streambuf.crAdditionEnabled();
|
||||
}
|
||||
|
||||
bool ServiceInterfaceStream::setAsciiColorPrefix(std::string asciiColorCode) {
|
||||
streambuf.setAsciiColorPrefix(asciiColorCode);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -46,6 +46,8 @@ public:
|
|||
*/
|
||||
bool crAdditionEnabled() const;
|
||||
|
||||
bool setAsciiColorPrefix(std::string asciiColorCode);
|
||||
|
||||
protected:
|
||||
ServiceInterfaceBuffer streambuf;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user