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/a02771.html | 265 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 265 insertions(+) create mode 100644 docs/doxygen/nel/a02771.html (limited to 'docs/doxygen/nel/a02771.html') diff --git a/docs/doxygen/nel/a02771.html b/docs/doxygen/nel/a02771.html new file mode 100644 index 00000000..1e62db6e --- /dev/null +++ b/docs/doxygen/nel/a02771.html @@ -0,0 +1,265 @@ + + +NeL: NLNET::CServerTask class Reference + + + +
+

NLNET::CServerTask Class Reference

#include <buf_server.h> +

+

Inheritance diagram for NLNET::CServerTask: +

+ +NLNET::CListenTask +NLNET::CServerReceiveTask + +

Detailed Description

+Common part of CListenTask and CServerReceiveTask +

+ +

+Definition at line 48 of file buf_server.h. + + + + + + + + + + + + + + + + + + + + + +

Public Member Functions

void requireExit ()
 Tells the task to exit.

virtual ~CServerTask ()
 Destructor.


Data Fields

uint32 NbLoop

Protected Member Functions

 CServerTask ()
 Constructor.

bool exitRequired () const
 Returns true if the requireExit() has been called.


Private Attributes

volatile bool _ExitRequired
+


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + +
NLNET::CServerTask::~CServerTask  )  [virtual]
+
+ + + + + +
+   + + +

+Destructor. +

+ +

+Definition at line 154 of file buf_server.cpp. +

+

00155 {
+00156 #ifdef NL_OS_UNIX
+00157         close( _WakeUpPipeHandle[PipeRead] );
+00158         close( _WakeUpPipeHandle[PipeWrite] );
+00159 #endif
+00160 }
+
+

+ + + + +
+ + + + + + + + + +
NLNET::CServerTask::CServerTask  )  [protected]
+
+ + + + + +
+   + + +

+Constructor. +

+ +

+Definition at line 127 of file buf_server.cpp. +

+

00127                          : NbLoop (0), _ExitRequired(false)
+00128 {
+00129 #ifdef NL_OS_UNIX
+00130         pipe( _WakeUpPipeHandle );
+00131 #endif
+00132 }
+
+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + +
bool NLNET::CServerTask::exitRequired  )  const [inline, protected]
+
+ + + + + +
+   + + +

+Returns true if the requireExit() has been called. +

+ +

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

+References _ExitRequired. +

+Referenced by NLNET::CServerReceiveTask::run(), and NLNET::CListenTask::run(). +

+

00071 { return _ExitRequired; }
+
+

+ + + + +
+ + + + + + + + + +
void NLNET::CServerTask::requireExit  )  [inline]
+
+ + + + + +
+   + + +

+Tells the task to exit. +

+ +

+Definition at line 56 of file buf_server.h. +

+References _ExitRequired. +

+Referenced by NLNET::CBufServer::~CBufServer(). +

+

00056 { _ExitRequired = true; }
+
+


Field Documentation

+

+ + + + +
+ + +
volatile bool NLNET::CServerTask::_ExitRequired [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 80 of file buf_server.h. +

+Referenced by exitRequired(), and requireExit().

+

+ + + + +
+ + +
uint32 NLNET::CServerTask::NbLoop +
+
+ + + + + +
+   + + +

+ +

+Definition at line 63 of file buf_server.h. +

+Referenced by NLNET::CBufServer::displayThreadStat().

+


The documentation for this class was generated from the following files: +
Generated on Tue Mar 16 14:03:44 2004 for NeL by + +doxygen +1.3.6
+ + -- cgit v1.2.1