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_1IRunnable.html | 199 +++++++++++++++++++++++++ 1 file changed, 199 insertions(+) create mode 100644 docs/doxygen/nel/classNLMISC_1_1IRunnable.html (limited to 'docs/doxygen/nel/classNLMISC_1_1IRunnable.html') diff --git a/docs/doxygen/nel/classNLMISC_1_1IRunnable.html b/docs/doxygen/nel/classNLMISC_1_1IRunnable.html new file mode 100644 index 00000000..040dbdba --- /dev/null +++ b/docs/doxygen/nel/classNLMISC_1_1IRunnable.html @@ -0,0 +1,199 @@ + + + + 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::IRunnable Class Reference

Thread callback interface. +More... +

+#include <thread.h> +

+

Inheritance diagram for NLMISC::IRunnable: +

+ +NL3D::CAsyncFileManager3D::CIGLoad +NL3D::CAsyncFileManager3D::CIGLoadUser +NL3D::CAsyncFileManager3D::CMeshLoad +NL3D::CAsyncFileManager3D::CTextureLoad +NL3D::CCalcLightableShapeRunnable +NL3D::CCalcRunnable +NL3D::CZoneLoadingTask +NLAIAGENT::CAgentManagerTimer::CRunTimer +NLMISC::CAsyncFileManager::CFileLoad +NLMISC::CAsyncFileManager::CMultipleFileLoad +NLMISC::CAsyncFileManager::CSignal +NLMISC::CTaskManager +NLMISC::CUpdateThread +NLNET::CClientReceiveTask +NLNET::CListenTask +NLNET::CServerReceiveTask +NLSOUND::CAsyncFileManagerSound::CLoadWavFile + +List of all members. + + + +

Public Methods

virtual void run ()=0
virtual ~IRunnable ()
+

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.


Constructor & Destructor Documentation

+

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

+ +

+Definition at line 70 of file thread.h.

+


Member Function Documentation

+

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

+ +

+Implemented in NLAIAGENT::CAgentManagerTimer::CRunTimer.

+


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