Log4cppAdapter.hh
Go to the documentation of this file.
1 
2 #ifndef LOG4CPP_LOG4CPP_ADAPTER_HPP
3 #define LOG4CPP_LOG4CPP_ADAPTER_HPP
4 
5 
6 #include <log4cpp/Portability.hh>
7 #include <Log/ILoggerFactory.h>
8 #include <Log/ILogger.h>
9 
10 
12 
14 {
15 public:
19  void ConfigureFromString(GenICam::gcstring configString);
20  void ConfigureDefault();
21 
22 
24  bool Exist(GenICam::gcstring name);
25  void PushIndent();
26  void PopIndent();
27 private:
30 
31 
32 };
33 
34 
35 // Wrapper Function
36 
37 extern "C" LOG4CPP_EXPORT const void* GetILoggerFactory()
38 {
39  GenICam::ILoggerFactory* wrapperPtr = new LOG4CPP_NS::Log4cppAdapter();
40  return static_cast<void*>(wrapperPtr);
41 }
42 
44 
45 
46 #endif
#define LOG4CPP_NS_END
Definition: Portability.hh:50
void ConfigureFromString(GenICam::gcstring configString)
void ConfigureDefault()
LOG4CPP_EXPORT const void * GetILoggerFactory()
bool Exist(GenICam::gcstring name)
#define LOG4CPP_EXPORT
Definition: Export.hh:21
GenICam::gcstring mLoggerFactoryName
A string class which is a clone of std::string.
Definition: GCString.h:52
GenICam::gcstring GetLoggerFactoryName()
GenICam::ILogger * GetLogger(GenICam::gcstring name)
#define LOG4CPP_NS_BEGIN
Definition: Portability.hh:49


rc_genicam_api
Author(s): Heiko Hirschmueller
autogenerated on Wed Mar 17 2021 02:48:40