14#ifndef MULTIPLEXSTREAMBUF_H
15#define MULTIPLEXSTREAMBUF_H
43 void add_output(BufferType buffer_type, OutputType output_type,
44 std::ostream *out =
nullptr,
46 bool owns_obj =
false);
51 virtual int overflow(
int c);
55 void write_chars(
const char *start,
int length,
bool flush);
61 void write_string(
const std::string &str);
63 BufferType _buffer_type;
64 OutputType _output_type;
74 std::string _line_buffer;
Used by MultiplexStream to implement an ostream that sends what is written to it to any number of add...
A fake mutex implementation for single-threaded applications that don't need any synchronization cont...
This is our own Panda specialization on the default STL vector.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.