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

NLMISC::IRunnable Class Reference

#include <thread.h> +

+

Inheritance diagram for NLMISC::IRunnable: +

+ +CTimeoutAssertionThread +NL3D::CAsyncFileManager3D::CIGLoad +NL3D::CAsyncFileManager3D::CIGLoadUser +NL3D::CCalcLightableShapeRunnable +NL3D::CLightRunnable +NL3D::CRenderZBuffer +NLAIAGENT::CAgentManagerTimer::CRunTimer +NLMISC::CAsyncFileManager::CFileLoad +NLMISC::CAsyncFileManager::CMultipleFileLoad +NLMISC::CAsyncFileManager::CSignal +NLMISC::CTaskManager +NLMISC::CUpdateThread +NLMISC::IRunnablePos +NLNET::CClientReceiveTask +NLNET::CListenTask +NLNET::CServerReceiveTask +NLSOUND::CAsyncFileManagerSound::CLoadWavFile + +

Detailed Description

+Thread callback interface. When a thread is created, it will call run() in its attached IRunnable interface.

+

#include "nel/misc/thread.h" + + class HelloLoopThread : public IRunnable + { + void run () + { + while(true) printf("Hello World\n"); + } + + }; + + IThread *thread = IThread::create (new HelloLoopThread); + thread->start (); + + * +

+

Author:
Vianney Lecroart

+Nevrax France

+
Date:
2000
+ +

+ +

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

Public Member Functions

virtual void getName (std::string &result) const
virtual void run ()=0
virtual ~IRunnable ()
+


Constructor & Destructor Documentation

+

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

+ +

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

+

00071         {
+00072         }
+
+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + +
virtual void NLMISC::IRunnable::getName std::string &  result  )  const [inline, virtual]
+
+ + + + + +
+   + + +

+ +

+Reimplemented in NL3D::CAsyncFileManager3D::CMeshLoad, NL3D::CAsyncFileManager3D::CIGLoad, NL3D::CAsyncFileManager3D::CIGLoadUser, NL3D::CAsyncFileManager3D::CTextureLoad, NL3D::CZoneLoadingTask, NLPACS::CGlobalRetriever::CLrLoader, NLMISC::CAsyncFileManager::CFileLoad, NLMISC::CAsyncFileManager::CMultipleFileLoad, and NLMISC::CAsyncFileManager::CSignal. +

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

+Referenced by NLMISC::CTaskManager::run(). +

+

00075         {
+00076                 result = "NoName";
+00077         }
+
+

+ + + + +
+ + + + + + + + + +
virtual void NLMISC::IRunnable::run  )  [pure virtual]
+
+ + + + + +
+   + + +

+ +

+Implemented in NL3D::CAsyncFileManager3D::CMeshLoad, NL3D::CAsyncFileManager3D::CIGLoad, NL3D::CAsyncFileManager3D::CIGLoadUser, NL3D::CAsyncFileManager3D::CTextureLoad, NL3D::CLightRunnable, NL3D::CRenderZBuffer, NL3D::CCalcLightableShapeRunnable, NL3D::CZoneLoadingTask, NLMISC::CUpdateThread, NLPACS::CGlobalRetriever::CLrLoader, NLSOUND::CAsyncFileManagerSound::CLoadWavFile, NLAIAGENT::CAgentManagerTimer::CRunTimer, NLMISC::CAsyncFileManager::CFileLoad, NLMISC::CAsyncFileManager::CMultipleFileLoad, NLMISC::CAsyncFileManager::CSignal, NLMISC::CTaskManager, CTimeoutAssertionThread, NLNET::CClientReceiveTask, NLNET::CListenTask, and NLNET::CServerReceiveTask. +

+Referenced by NLMISC::CTaskManager::run().

+


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