Writing to multiple output streams at a time can cause threading issues - specifically, a problem was found with sending multiple messages simultaneously during preprocess. This class prevents that by requiring a lock on write.
|
| | DtThreadsafeOutputStream (DtOutputStreamBuffer *b, int &globalThresholdRef, int threshold=1, DtPrinter *dflt_printer=0, const std::string &prefix="") |
| |
| virtual void | write (const std::string &str) |
| |
| | DtTranslatableOutputStream (DtOutputStreamBuffer *b, int &globalThresholdRef, int threshold=1, DtPrinter *default_printer=0, const std::string &prefix="") |
| |
| virtual | ~DtTranslatableOutputStream () |
| |
| virtual void | operator() (const char *s,...) |
| |
| DtOutputStreamBuffer * | buffer () |
| |
| | DtChannelSpecificOutputStream (DtOutputStreamBuffer *b, int &globalThresholdRef, int threshold=1, DtPrinter *default_printer=0, const std::string &prefix="") |
| |
| virtual | ~DtChannelSpecificOutputStream () |
| |
| virtual void | setPrefix (const DtString &str) |
| |
| DtOutputStreamBuffer * | getBuffer () |
| |
|
static
DtChannelSpecificOutputStream * | creator (DtOutputStreamBuffer *b, int &globalThresholdRef, int threshold=1, DtPrinter *dflt_printer=0, const std::string &prefix="") |
| |
static
DtChannelSpecificOutputStream * | creator (DtOutputStreamBuffer *b, int &globalThresholdRef, int threshold=1, DtPrinter *default_printer=0, const std::string &prefix="") |
| |
static
DtChannelSpecificOutputStream * | creator (DtOutputStreamBuffer *b, int &globalThresholdRef, int threshold=1, DtPrinter *default_printer=0, const std::string &prefix="") |
| |