#include <Lo2kThread.h>
Inherited by MicoleAgentThread, and MicoleBus [private]
.
Definition at line 43 of file Lo2kThread.h.
Public Member Functions | |
Thread () | |
Default constructor. | |
virtual | ~Thread () |
Default destructor. | |
threadid | start () |
start the thread | |
virtual void | run ()=0 |
run method you need to implement these function if you inherit lo2k.net::Thread this function must be a loop | |
Static Public Member Functions | |
static threadid | getthreadid () |
return thread identifier | |
static void | sleep (long milliseconds=1) |
sleep the thread |
lo2k::Thread::Thread | ( | ) | [inline] |
virtual lo2k::Thread::~Thread | ( | ) | [inline, virtual] |
static threadid lo2k::Thread::getthreadid | ( | ) | [inline, static] |
virtual void lo2k::Thread::run | ( | ) | [pure virtual] |
run method you need to implement these function if you inherit lo2k.net::Thread this function must be a loop
Implemented in DServerAgent, MicoleAgentThread, MicoleBus, MouseSenderAgent, NetworkAgent, ServerAgent, and TimerAgent.
static void lo2k::Thread::sleep | ( | long | milliseconds = 1 |
) | [inline, static] |
threadid lo2k::Thread::start | ( | ) | [inline] |