LayoutAppender.hh
Go to the documentation of this file.
1 /*
2  * LayoutAppender.hh
3  *
4  * Copyright 2000, LifeLine Networks BV (www.lifeline.nl). All rights reserved.
5  * Copyright 2000, Bastiaan Bakker. All rights reserved.
6  *
7  * See the COPYING file for the terms of usage and distribution.
8  */
9 
10 #ifndef _LOG4CPP_LAYOUTAPPENDER_HH
11 #define _LOG4CPP_LAYOUTAPPENDER_HH
12 
13 #include <string>
14 #include <log4cpp/Portability.hh>
16 #include <log4cpp/BasicLayout.hh>
17 
19 
25 public:
26 
28 
29  LayoutAppender(const std::string& name);
30  virtual ~LayoutAppender();
31 
38  virtual bool requiresLayout() const;
39  virtual void setLayout(Layout* layout = NULL);
40 
41 protected:
47  Layout& _getLayout();
48 
49 private:
51 private:
52  // suppress assignment operator
54 };
56 
57 
58 #endif // _LOG4CPP_LAYOUTAPPENDER_HH
59 
#define LOG4CPP_NS_END
Definition: Portability.hh:50
AppenderSkeleton & operator=(const AppenderSkeleton &)
BasicLayout is a simple fixed format Layout implementation.
Definition: BasicLayout.hh:21
BasicLayout DefaultLayoutType
LayoutAppender is a common superclass for all Appenders that require a Layout.
virtual bool requiresLayout() const =0
Check if the appender uses a layout.
virtual void setLayout(Layout *layout)=0
Set the Layout for this appender.
#define LOG4CPP_EXPORT
Definition: Export.hh:21
AppenderSkeleton is a helper class, simplifying implementation of Appenders: it already takes care of...
Extend this abstract class to create your own log layout format.
Definition: Layout.hh:22
#define LOG4CPP_NS_BEGIN
Definition: Portability.hh:49


rc_genicam_api
Author(s): Heiko Hirschmueller
autogenerated on Thu Jun 6 2019 19:10:54