Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
~
Functions
a
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
~
Variables
a
c
d
e
f
g
i
l
m
n
u
v
Typedefs
a
c
d
e
g
i
m
n
o
p
s
u
v
Enumerations
_
e
g
h
i
p
Enumerator
_
a
b
c
d
e
f
g
h
i
l
m
n
p
r
s
t
u
v
w
x
y
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
~
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
~
Variables
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
w
x
y
Typedefs
a
c
d
e
f
h
i
k
l
m
n
o
p
q
r
s
t
v
Enumerations
Enumerator
a
c
d
e
f
i
n
o
r
s
t
w
x
Related Functions
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
w
y
Functions
c
d
e
g
i
l
m
o
p
r
t
Variables
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
p
s
t
u
Enumerations
a
b
c
d
e
f
g
i
p
s
t
u
Enumerator
a
b
c
d
e
f
g
i
l
m
p
r
s
t
u
y
Macros
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
w
•
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
11
LOG4CPP_NS_BEGIN
12
13
class
Log4cppAdapter
:
public
GenICam::ILoggerFactory
14
{
15
public
:
16
Log4cppAdapter
();
17
~Log4cppAdapter
();
18
GenICam::gcstring
GetLoggerFactoryName
();
19
void
ConfigureFromString
(
GenICam::gcstring
configString);
20
void
ConfigureDefault
();
21
22
23
GenICam::ILogger
*
GetLogger
(
GenICam::gcstring
name);
24
bool
Exist
(
GenICam::gcstring
name);
25
void
PushIndent
();
26
void
PopIndent
();
27
private
:
28
GenICam::gcstring
mLoggerFactoryName
;
29
bool
mHasBeenConfigured
;
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
43
LOG4CPP_NS_END
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