16 #ifndef SURGSIM_FRAMEWORK_LOGOUTPUT_H 17 #define SURGSIM_FRAMEWORK_LOGOUTPUT_H 19 #include <boost/thread/mutex.hpp> 41 virtual bool writeMessage(
const std::string& message) = 0;
48 virtual bool writeMessage(
const std::string& message) {
return true;}
59 explicit FileOutput(
const std::string& filename);
66 std::string m_filename;
67 std::ofstream m_stream;
88 std::ostream& m_stream;
95 #endif // SURGSIM_FRAMEWORK_LOGOUTPUT_H Wraps glewInit() to separate the glew opengl definitions from the osg opengl definitions only imgui n...
Definition: AddRandomSphereBehavior.cpp:36
Virtual Base class to define an interface for outputting logging information.
Definition: LogOutput.h:28
Definition: LogOutput.h:45
Class to output logging information to a give file.
Definition: LogOutput.h:53
Class to output logging information to a stream that can be passed into the constructor of the class...
Definition: LogOutput.h:73
virtual bool writeMessage(const std::string &message)
Definition: LogOutput.h:48
virtual bool writeMessage(const std::string &message)=0