From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- .../nel/classNLMISC_1_1CWindowDisplayer.html | 979 +++++++++++++++++++++ 1 file changed, 979 insertions(+) create mode 100644 docs/doxygen/nel/classNLMISC_1_1CWindowDisplayer.html (limited to 'docs/doxygen/nel/classNLMISC_1_1CWindowDisplayer.html') diff --git a/docs/doxygen/nel/classNLMISC_1_1CWindowDisplayer.html b/docs/doxygen/nel/classNLMISC_1_1CWindowDisplayer.html new file mode 100644 index 00000000..89dc884f --- /dev/null +++ b/docs/doxygen/nel/classNLMISC_1_1CWindowDisplayer.html @@ -0,0 +1,979 @@ + + + + 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::CWindowDisplayer Class Reference

this displayer displays on a win32 windows. +More... +

+#include <window_displayer.h> +

+

Inheritance diagram for NLMISC::CWindowDisplayer: +

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

Public Methods

 CWindowDisplayer (const char *displayerName="")
virtual ~CWindowDisplayer ()
void create (std::string titleBar="", bool iconified=false, sint x=-1, sint y=-1, sint w=-1, sint h=-1, sint hs=-1, sint fs=0, const std::string &fn="", bool ww=false)
uint createLabel (const char *value="?")
void setLabel (uint label, const std::string &value)
bool update ()
virtual void setTitleBar (const std::string &titleBar)
virtual void getWindowPos (uint32 &x, uint32 &y, uint32 &w, uint32 &h)

Protected Methods

virtual void doDisplay (const NLMISC::TDisplayInfo &args, const char *message)
virtual void open (std::string windowNameEx, bool iconified, sint x, sint y, sint w, sint h, sint hs, sint fs, const std::string &fn, bool ww)=0
virtual void display_main ()=0

Protected Attributes

bool needSlashR
CSynchronized< std::vector<
+ std::pair< uint32, std::string > > > 
_Buffer
CSynchronized< std::vector<
+ CLabelEntry > > 
_Labels
CSynchronized< std::vector<
+ std::string > > 
_CommandsToExecute
bool _Continue
std::vector< std::string > _History
uint _PosInHistory
bool _Init
sint _HistorySize
sint _ToolBarHeight
sint _InputEditHeight
NLMISC::IThread_Thread

Friends

class CUpdateThread
+

Detailed Description

+this displayer displays on a win32 windows. +

+MT = Main Thread, DT = Display Thread

+Author:
+Vianney Lecroart , Nevrax France
+Date:
+2001
+

+ +

+Definition at line 46 of file window_displayer.h.


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + + +
NLMISC::CWindowDisplayer::CWindowDisplayer const char *   displayerName = "" [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 50 of file window_displayer.h. +

+References _Buffer, _CommandsToExecute, _Continue, _Init, _InputEditHeight, _Labels, _Thread, _ToolBarHeight, CWindowDisplayer, and NLMISC::IDisplayer::IDisplayer. +

+Referenced by CWindowDisplayer.

+

+ + + + +
+ + + + + + + + + +
NLMISC::CWindowDisplayer::~CWindowDisplayer   [virtual]
+
+ + + + + +
+   + + +

+ +

+Definition at line 67 of file window_displayer.cpp. +

+References _Continue, _Thread, nlassert, and NLMISC::IThread::wait.

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void NLMISC::CWindowDisplayer::create std::string   titleBar = "",
bool   iconified = false,
sint   x = -1,
sint   y = -1,
sint   w = -1,
sint   h = -1,
sint   hs = -1,
sint   fs = 0,
const std::string &   fn = "",
bool   ww = false
+
+ + + + + +
+   + + +

+ +

+Definition at line 118 of file window_displayer.cpp. +

+References _Thread, CUpdateThread, nlassert, NLMISC::IThread::start, w, x, and y. +

+Referenced by NLNET::IService::main.

+

+ + + + +
+ + + + + + + + + + +
uint NLMISC::CWindowDisplayer::createLabel const char *   value = "?"
+
+ + + + + +
+   + + +

+ +

+Definition at line 94 of file window_displayer.cpp. +

+References _Labels, and value. +

+Referenced by NLNET::IService::main.

+

+ + + + +
+ + + + + + + + + +
virtual void NLMISC::CWindowDisplayer::display_main   [protected, pure virtual]
+
+ + + + + +
+   + + +

+

+

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

+ +

+Definition at line 126 of file window_displayer.cpp. +

+References _Buffer, NLMISC::TDisplayInfo::CallstackAndLog, NLMISC::TDisplayInfo::Filename, NLMISC::TDisplayInfo::Line, NLMISC::TDisplayInfo::LogType, NLMISC::IDisplayer::logTypeToString, and NLMISC::TDisplayInfo::ThreadId.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
virtual void NLMISC::CWindowDisplayer::getWindowPos uint32  x,
uint32  y,
uint32  w,
uint32  h
[inline, virtual]
+
+ + + + + +
+   + + +

+ +

+Definition at line 73 of file window_displayer.h. +

+References w, x, and y.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
virtual void NLMISC::CWindowDisplayer::open std::string   windowNameEx,
bool   iconified,
sint   x,
sint   y,
sint   w,
sint   h,
sint   hs,
sint   fs,
const std::string &   fn,
bool   ww
[protected, pure virtual]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void NLMISC::CWindowDisplayer::setLabel uint   label,
const std::string &   value
+
+ + + + + +
+   + + +

+ +

+Definition at line 105 of file window_displayer.cpp. +

+References _Labels, nlassert, and value. +

+Referenced by NLNET::IService::main.

+

+ + + + +
+ + + + + + + + + + +
virtual void NLMISC::CWindowDisplayer::setTitleBar const std::string &   titleBar [inline, virtual]
+
+ + + + + +
+   + + +

+ +

+Definition at line 71 of file window_displayer.h. +

+Referenced by NLNET::IService::main.

+

+ + + + +
+ + + + + + + + + +
bool NLMISC::CWindowDisplayer::update  
+
+ + + + + +
+   + + +

+ +

+Definition at line 76 of file window_displayer.cpp. +

+References _CommandsToExecute, _Continue, and NLMISC::InfoLog. +

+Referenced by NLNET::IService::main.

+


Friends And Related Function Documentation

+

+ + + + +
+ + +
friend class CUpdateThread [friend] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 116 of file window_displayer.h. +

+Referenced by create.

+


Member Data Documentation

+

+ + + + +
+ + +
CSynchronized<std::vector<std::pair<uint32, std::string> > > NLMISC::CWindowDisplayer::_Buffer [protected] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 93 of file window_displayer.h. +

+Referenced by CWindowDisplayer, and doDisplay.

+

+ + + + +
+ + +
CSynchronized<std::vector<std::string> > NLMISC::CWindowDisplayer::_CommandsToExecute [protected] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 95 of file window_displayer.h. +

+Referenced by CWindowDisplayer, and update.

+

+ + + + +
+ + +
bool NLMISC::CWindowDisplayer::_Continue [protected] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 104 of file window_displayer.h. +

+Referenced by CWindowDisplayer, update, and ~CWindowDisplayer.

+

+ + + + +
+ + +
std::vector<std::string> NLMISC::CWindowDisplayer::_History [protected] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 106 of file window_displayer.h.

+

+ + + + +
+ + +
sint NLMISC::CWindowDisplayer::_HistorySize [protected] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 109 of file window_displayer.h.

+

+ + + + +
+ + +
bool NLMISC::CWindowDisplayer::_Init [protected] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 108 of file window_displayer.h. +

+Referenced by CWindowDisplayer.

+

+ + + + +
+ + +
sint NLMISC::CWindowDisplayer::_InputEditHeight [protected] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 111 of file window_displayer.h. +

+Referenced by CWindowDisplayer.

+

+ + + + +
+ + +
CSynchronized<std::vector<CLabelEntry> > NLMISC::CWindowDisplayer::_Labels [protected] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 94 of file window_displayer.h. +

+Referenced by createLabel, CWindowDisplayer, and setLabel.

+

+ + + + +
+ + +
uint NLMISC::CWindowDisplayer::_PosInHistory [protected] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 107 of file window_displayer.h.

+

+ + + + +
+ + +
NLMISC::IThread* NLMISC::CWindowDisplayer::_Thread [protected] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 114 of file window_displayer.h. +

+Referenced by create, CWindowDisplayer, and ~CWindowDisplayer.

+

+ + + + +
+ + +
sint NLMISC::CWindowDisplayer::_ToolBarHeight [protected] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 110 of file window_displayer.h. +

+Referenced by CWindowDisplayer.

+

+ + + + +
+ + +
bool NLMISC::CWindowDisplayer::needSlashR [protected] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 81 of file window_displayer.h.

+


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