OGLplus (0.52.0) a C++ wrapper for OpenGL

oglplus::ARB_debug_output::LogSink Class Reference

Installs a custom callback processing the debug output. More...

#include </home/chochlik/devel/oglplus/include/oglplus/ext/ARB_debug_output.hpp>

Public Member Functions

 LogSink (Callback callback)
 Installs the callback and remembers the previous.
 
 LogSink (const LogSink &)=delete
 LogSinks are not copyable.
 
 ~LogSink (void)
 Restores the previous callback and its context.
 

Detailed Description

Installs a custom callback processing the debug output.

Instances of this class install a new Callback function processing the debug output messages in the constructor and restoring the previous callback when destroyed.

Examples:
standalone/002_triangle_compatibility.cpp.

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

Copyright © 2010-2014 Matúš Chochlík, University of Žilina, Žilina, Slovakia.
<matus.chochlik -at- fri.uniza.sk>
<chochlik -at -gmail.com>
Documentation generated on Mon Sep 22 2014 by Doxygen (version 1.8.6).