gphoto2pp
A C++ Wrapper for libgphoto2
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
helper_debugging.hpp File Reference
#include "observer.hpp"
Include dependency graph for helper_debugging.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  gphoto2pp::helper::debugging::detail::PortLoggingEventsManager

Namespaces

namespace  gphoto2pp
namespace  gphoto2pp::helper
namespace  gphoto2pp::helper::debugging
namespace  gphoto2pp::helper::debugging::detail

Enumerations

enum  gphoto2pp::helper::debugging::LogLevelWrapper

Functions

void gphoto2pp::helper::debugging::startPortLogging (const LogLevelWrapper &level)
void gphoto2pp::helper::debugging::stopPortLogging ()
observer::Registration gphoto2pp::helper::debugging::subscribeToPortLogEvents (const LogLevelWrapper &event, std::function< void(LogLevelWrapper const &level, std::string const &domain, std::string const &str, void *data)> func)

Detailed Description

Author
Copyright (c) 2013 maldworth https://github.com/maldworth
Note
This file is part of gphoto2pp
gphoto2pp is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
gphoto2pp is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with gphoto2pp. If not, see http://www.gnu.org/licenses