From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/classNLMISC_1_1CMemDisplayer.html | 507 +++++++++++++++++++++ 1 file changed, 507 insertions(+) create mode 100644 docs/doxygen/nel/classNLMISC_1_1CMemDisplayer.html (limited to 'docs/doxygen/nel/classNLMISC_1_1CMemDisplayer.html') diff --git a/docs/doxygen/nel/classNLMISC_1_1CMemDisplayer.html b/docs/doxygen/nel/classNLMISC_1_1CMemDisplayer.html new file mode 100644 index 00000000..70d6aaf2 --- /dev/null +++ b/docs/doxygen/nel/classNLMISC_1_1CMemDisplayer.html @@ -0,0 +1,507 @@ + + + + nevrax.org : docs + + + + + + + + + + + + + + +
# Home   # nevrax.com   
+ + + + +
Nevrax
+ + + + + + + + + + +
+ + +
+ Nevrax.org
+ + + + + + + +
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
+
+ + +
+ + +
+Docs + +
+  + + + + + +
Documentation 
+ +
+Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  
+

NLMISC::CMemDisplayer Class Reference

<Class description>. +More... +

+#include <mem_displayer.h> +

+

Inheritance diagram for NLMISC::CMemDisplayer: +

+ +NLMISC::IDisplayer + +List of all members. + + + + + + + + + + + + + + + + + + + +

Public Methods

 CMemDisplayer (const char *displayerName="")
 Constructor. More...

void setParam (uint32 maxStrings=50)
 Set Parameter of the displayer if not set at the ctor time. More...

void write (CLog *log=NULL)
 Write N last line into a displayer (InfoLog by default). More...

void write (std::string &str)
const std::deque< std::string > & lockStrings ()
void unlockStrings ()
void clear ()

Protected Methods

virtual void doDisplay (const TDisplayInfo &args, const char *message)
 Put the string into the file. More...


Private Attributes

bool _NeedHeader
uint32 _MaxStrings
bool _CanUseStrings
std::deque< std::string > _Strings
+

Detailed Description

+<Class description>. +

+

+Author:
+Benjamin Legros , Nevrax France
+Date:
+2001
+

+ +

+Definition at line 45 of file mem_displayer.h.


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + + +
NLMISC::CMemDisplayer::CMemDisplayer const char *   displayerName = ""
+
+ + + + + +
+   + + +

+Constructor. +

+ +

+Definition at line 317 of file mem_displayer.cpp. +

+References setParam.

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + +
void NLMISC::CMemDisplayer::clear   [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 62 of file mem_displayer.h. +

+References _Strings.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void NLMISC::CMemDisplayer::doDisplay const TDisplayInfo  args,
const char *   message
[protected, virtual]
+
+ + + + + +
+   + + +

+Put the string into the file. +

+ +

+Implements NLMISC::IDisplayer. +

+Definition at line 329 of file mem_displayer.cpp. +

+References _CanUseStrings, _MaxStrings, _NeedHeader, _Strings, NLMISC::IDisplayer::dateToHumanString, NLMISC::IDisplayer::HeaderString, and NLMISC::IDisplayer::logTypeToString.

+

+ + + + +
+ + + + + + + + + +
const std::deque<std::string>& NLMISC::CMemDisplayer::lockStrings   [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 58 of file mem_displayer.h. +

+References _CanUseStrings, and _Strings.

+

+ + + + +
+ + + + + + + + + + +
void NLMISC::CMemDisplayer::setParam uint32   maxStrings = 50
+
+ + + + + +
+   + + +

+Set Parameter of the displayer if not set at the ctor time. +

+ +

+Definition at line 322 of file mem_displayer.cpp. +

+References _MaxStrings. +

+Referenced by CMemDisplayer.

+

+ + + + +
+ + + + + + + + + +
void NLMISC::CMemDisplayer::unlockStrings   [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 60 of file mem_displayer.h. +

+References _CanUseStrings.

+

+ + + + +
+ + + + + + + + + + +
void NLMISC::CMemDisplayer::write std::string &   str
+
+ + + + + +
+   + + +

+ +

+Definition at line 417 of file mem_displayer.cpp. +

+References _Strings.

+

+ + + + +
+ + + + + + + + + + +
void NLMISC::CMemDisplayer::write CLog  log = NULL
+
+ + + + + +
+   + + +

+Write N last line into a displayer (InfoLog by default). +

+ +

+Definition at line 396 of file mem_displayer.cpp. +

+References _Strings, NLMISC::displayCallStack, and NLMISC::InfoLog.

+


Member Data Documentation

+

+ + + + +
+ + +
bool NLMISC::CMemDisplayer::_CanUseStrings [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 74 of file mem_displayer.h. +

+Referenced by doDisplay, lockStrings, and unlockStrings.

+

+ + + + +
+ + +
uint32 NLMISC::CMemDisplayer::_MaxStrings [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 72 of file mem_displayer.h. +

+Referenced by doDisplay, and setParam.

+

+ + + + +
+ + +
bool NLMISC::CMemDisplayer::_NeedHeader [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 70 of file mem_displayer.h. +

+Referenced by doDisplay.

+

+ + + + +
+ + +
std::deque<std::string> NLMISC::CMemDisplayer::_Strings [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 76 of file mem_displayer.h. +

+Referenced by clear, doDisplay, lockStrings, and write.

+


The documentation for this class was generated from the following files: + + + +
                                                                                                                                                                    +
+ + -- cgit v1.2.1