iMSTK
Interactive Medical Simulation Toolkit
Public Member Functions | List of all members
imstk::CacheOutput Class Reference

#include <imstkLoggerSynchronous.h>

Inheritance diagram for imstk::CacheOutput:
Inheritance graph
[legend]
Collaboration diagram for imstk::CacheOutput:
Collaboration graph
[legend]

Public Member Functions

bool writeMessage (const std::string &message) override
 
bool hasMessages () const
 
std::string popLastMessage ()
 

Detailed Description

Class to output logging information to a stream that can be passed into the constructor of the class

Definition at line 117 of file imstkLoggerSynchronous.h.

Member Function Documentation

◆ writeMessage()

bool imstk::CacheOutput::writeMessage ( const std::string &  message)
overridevirtual

Writes a message to the stream.

Parameters
messageMessage to be written to the stream
Returns
True on success

Implements imstk::LogOutput.

Definition at line 49 of file imstkLoggerSynchronous.cpp.

Here is the call graph for this function:

The documentation for this class was generated from the following files: