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/a03880.html | 353 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 353 insertions(+) create mode 100644 docs/doxygen/nel/a03880.html (limited to 'docs/doxygen/nel/a03880.html') diff --git a/docs/doxygen/nel/a03880.html b/docs/doxygen/nel/a03880.html new file mode 100644 index 00000000..51a4ebcb --- /dev/null +++ b/docs/doxygen/nel/a03880.html @@ -0,0 +1,353 @@ + + +NeL: NLMISC::IThread class Reference + + + +
+

NLMISC::IThread Class Reference

#include <thread.h> +

+


Detailed Description

+Thread base interface, must be implemented for all OS
Author:
Vianney Lecroart

+Nevrax France

+
Date:
2000
+ +

+ +

+Definition at line 86 of file thread.h. + + + + + + + + + + + + + + + + + + + + + + + + +

Public Member Functions

virtual uint64 getCPUMask ()=0
virtual IRunnablegetRunnable ()=0
 Return a pointer to the runnable object.

virtual std::string getUserName ()=0
virtual bool setCPUMask (uint64 cpuMask)=0
virtual void start ()=0
virtual void terminate ()=0
virtual void wait ()=0
virtual ~IThread ()

Static Public Member Functions

IThreadcreate (IRunnable *runnable)
IThreadgetCurrentThread ()
+


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + +
virtual NLMISC::IThread::~IThread  )  [inline, virtual]
+
+ + + + + +
+   + + +

+ +

+Definition at line 103 of file thread.h. +

+

00103 { }
+
+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + +
IThread* NLMISC::IThread::create IRunnable runnable  )  [static]
+
+ + + + + +
+   + + +

+Create a new thread. Implemented in the derived class.

+

+ + + + +
+ + + + + + + + + +
virtual uint64 NLMISC::IThread::getCPUMask  )  [pure virtual]
+
+ + + + + +
+   + + +

+Get the CPU mask of this thread. Thread must have been started before. The mask should be a subset of the CPU mask returned by IProcess::getCPUMask() thread process. Not implemented under Linux. +

+Referenced by NL3D::CZoneLighter::light().

+

+ + + + +
+ + + + + + + + + +
IThread* NLMISC::IThread::getCurrentThread  )  [static]
+
+ + + + + +
+   + + +

+Return a pointer on the current thread. Implemented in the derived class. Not implemented under Linux.

+

+ + + + +
+ + + + + + + + + +
virtual IRunnable* NLMISC::IThread::getRunnable  )  [pure virtual]
+
+ + + + + +
+   + + +

+Return a pointer to the runnable object. +

+ +

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

+

+ + + + +
+ + + + + + + + + +
virtual std::string NLMISC::IThread::getUserName  )  [pure virtual]
+
+ + + + + +
+   + + +

+Get the thread user name. Notimplemented under linux, under windows return the name of the logon user.

+

+ + + + +
+ + + + + + + + + + +
virtual bool NLMISC::IThread::setCPUMask uint64  cpuMask  )  [pure virtual]
+
+ + + + + +
+   + + +

+Set the CPU mask of this thread. Thread must have been started before. The mask must be a subset of the CPU mask returned by IProcess::getCPUMask() thread process. Not implemented under Linux. +

+Referenced by NL3D::CZoneLighter::light().

+

+ + + + +
+ + + + + + + + + +
virtual void NLMISC::IThread::start  )  [pure virtual]
+
+ + + + + +
+   + + +

+ +

+Referenced by NLNET::CBufClient::connect(), NLMISC::CWindowDisplayer::create(), NLMISC::CTaskManager::CTaskManager(), NLNET::CBufServer::init(), NL3D::CZoneLighter::light(), and NL3D::CZoneLighter::lightShapes().

+

+ + + + +
+ + + + + + + + + +
virtual void NLMISC::IThread::terminate  )  [pure virtual]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
virtual void NLMISC::IThread::wait  )  [pure virtual]
+
+ + + + + +
+   + + +

+ +

+Referenced by NLNET::CBufClient::~CBufClient(), NLNET::CBufServer::~CBufServer(), and NLMISC::CWindowDisplayer::~CWindowDisplayer().

+


The documentation for this class was generated from the following file: +
Generated on Tue Mar 16 13:48:19 2004 for NeL by + +doxygen +1.3.6
+ + -- cgit v1.2.1