7 #ifndef __FWATOMSPATCH_INFOS_LOGGER_HPP__ 8 #define __FWATOMSPATCH_INFOS_LOGGER_HPP__ 14 #include <boost/shared_ptr.hpp> 16 #include "fwAtomsPatch/config.hpp" 31 typedef std::ostringstream StreamType;
32 typedef ::boost::shared_ptr< StreamType > StreamPtrType;
35 FWATOMSPATCH_API ~
Logger();
38 FWATOMSPATCH_API
void error(
const std::string& message);
41 FWATOMSPATCH_API
void badCast(
const std::string& message);
44 FWATOMSPATCH_API
void outOfRange(
const std::string& message);
47 FWATOMSPATCH_API
void info(
const std::string& message);
50 FWATOMSPATCH_API
void addAttribute(
const std::string& message);
53 FWATOMSPATCH_API
void eraseAttribute(
const std::string& message);
56 FWATOMSPATCH_API
void replaceAttribute(
const std::string& message);
63 FWATOMSPATCH_API
static StreamPtrType getStream();
71 FWATOMSPATCH_API
static Logger s_logger;
74 FWATOMSPATCH_API
static StreamPtrType s_stream;
Logs events occurring during object patching.
Contains base functionalities used to transform objects from a version to another.