Package org.robwork.sdurw_common
Class LogBufferedMsg
- java.lang.Object
-
- org.robwork.sdurw_core.LogWriter
-
- org.robwork.sdurw_common.LogBufferedMsg
-
public class LogBufferedMsg extends LogWriter
Buffers messages before writing them to the output stream.
The size of the buffer is not fixed and will grow until flush is called.
To have a fixed size buffer use LogBufferedChar instead.
-
-
Constructor Summary
Constructors Constructor Description LogBufferedMsg(long cPtr, boolean cMemoryOwn)
LogBufferedMsg(SWIGTYPE_p_std__ostream stream)
Constructs LogBufferedMsg with a target ostream
The LogBufferedMsg keeps a reference to the stream object.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
static long
getCPtr(LogBufferedMsg obj)
-
Methods inherited from class org.robwork.sdurw_core.LogWriter
flush, getCPtr, setTabLevel, streamOperator, streamOperator, streamOperator, write, write, writeln
-
-
-
-
Constructor Detail
-
LogBufferedMsg
public LogBufferedMsg(long cPtr, boolean cMemoryOwn)
-
LogBufferedMsg
public LogBufferedMsg(SWIGTYPE_p_std__ostream stream)
Constructs LogBufferedMsg with a target ostream
The LogBufferedMsg keeps a reference to the stream object. Destroying
the stream object while the LogBufferedMsg has a reference to it
results in undefined behavior.
- Parameters:
stream
- [in] Stream to write to
-
-
Method Detail
-
getCPtr
public static long getCPtr(LogBufferedMsg obj)
-
-