Class NMPILog
java.lang.Object
uk.ac.manchester.spinnaker.nmpi.model.NMPILog
public class NMPILog extends Object
A Neuromorphic Platform Interface log core.
-
Constructor Summary
Constructors Constructor Description NMPILog(StringBuilder buffer)
-
Method Summary
Modifier and Type Method Description void
appendContent(String content)
Append the string to the log.String
getContent()
Gets the current log contents.void
setContent(String content)
Set the content.
-
Constructor Details
-
NMPILog
- Parameters:
buffer
- The buffer holding the log contents.
-
-
Method Details
-
getContent
Gets the current log contents.- Returns:
- The log contents, or
null
if the log is not yet initialised.
-
setContent
Set the content.- Parameters:
content
- The content to set
-
appendContent
Append the string to the log.- Parameters:
content
- The string to append.
-