All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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
Log4cppAdapter::ConfigureDefault
void ConfigureDefault()
GENICAM_NAMESPACE::ILoggerFactory
Definition: ILoggerFactory.h:10
Portability.hh
Log4cppAdapter::PopIndent
void PopIndent()
Log4cppAdapter::GetLoggerFactoryName
GenICam::gcstring GetLoggerFactoryName()
Log4cppAdapter::ConfigureFromString
void ConfigureFromString(GenICam::gcstring configString)
GENICAM_NAMESPACE::gcstring
A string class which is a clone of std::string.
Definition: GCString.h:52
GENICAM_NAMESPACE::ILogger
Definition: ILogger.h:11
Log4cppAdapter::GetLogger
GenICam::ILogger * GetLogger(GenICam::gcstring name)
Log4cppAdapter::~Log4cppAdapter
~Log4cppAdapter()
Log4cppAdapter
Definition: Log4cppAdapter.hh:13
LOG4CPP_NS_BEGIN
#define LOG4CPP_NS_BEGIN
Definition: Portability.hh:49
LOG4CPP_NS_END
#define LOG4CPP_NS_END
Definition: Portability.hh:50
LOG4CPP_EXPORT
#define LOG4CPP_EXPORT
Definition: Export.hh:21
Log4cppAdapter::Log4cppAdapter
Log4cppAdapter()
Log4cppAdapter::PushIndent
void PushIndent()
GetILoggerFactory
const LOG4CPP_EXPORT void * GetILoggerFactory()
Definition: Log4cppAdapter.hh:37
Log4cppAdapter::Exist
bool Exist(GenICam::gcstring name)
ILoggerFactory.h
Log4cppAdapter::mHasBeenConfigured
bool mHasBeenConfigured
Definition: Log4cppAdapter.hh:29
Log4cppAdapter::mLoggerFactoryName
GenICam::gcstring mLoggerFactoryName
Definition: Log4cppAdapter.hh:28
ILogger.h


rc_genicam_api
Author(s): Heiko Hirschmueller
autogenerated on Wed Dec 4 2024 03:10:11