Class OutputHandler

Inheritance Relationships

Derived Types

Class Documentation

class OutputHandler

Generic class to handle output from a piece of code.

In order to handle output from the library in different ways, an implementation of this class needs to be provided. This instance can be set with the useOutputHandler function.

Subclassed by ompl::msg::OutputHandlerFile, ompl::msg::OutputHandlerSTD

Public Functions

OutputHandler() = default
virtual ~OutputHandler() = default
virtual void log(const std::string &text, LogLevel level, const char *filename, int line) = 0

log a message to the output handler with the given text and logging level from a specific file and line number