Package org.robwork.sdurw_core
Class LogStreamWriter
- java.lang.Object
-
- org.robwork.sdurw_core.LogWriter
-
- org.robwork.sdurw_core.LogStreamWriter
-
public class LogStreamWriter extends LogWriter
Writes log output to a std::ostream
-
-
Constructor Summary
Constructors Constructor Description LogStreamWriter(long cPtr, boolean cMemoryOwn)
LogStreamWriter(SWIGTYPE_p_std__ostream stream)
Constructs LogStreamWriter with a target output stream
The LogStreamWriter 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(LogStreamWriter obj)
-
Methods inherited from class org.robwork.sdurw_core.LogWriter
flush, getCPtr, setTabLevel, streamOperator, streamOperator, streamOperator, write, write, writeln
-
-
-
-
Constructor Detail
-
LogStreamWriter
public LogStreamWriter(long cPtr, boolean cMemoryOwn)
-
LogStreamWriter
public LogStreamWriter(SWIGTYPE_p_std__ostream stream)
Constructs LogStreamWriter with a target output stream
The LogStreamWriter keeps a reference to the stream object. Destroying
the stream object while the LogStreamWriter has a reference to it
results in undefined behavior.
Ownership of the stream is not taken.
- Parameters:
stream
- [in] Stream to write to
-
-
Method Detail
-
getCPtr
public static long getCPtr(LogStreamWriter obj)
-
-