![]() |
Dataflow Runtime API
3.0.3.0
|
CThread is thread class interface. More...
#include <Imt.Base.OS.Win32/Thread.h>
Public Member Functions | |
| Thread () | |
| Default constructor. More... | |
| virtual | ~Thread () |
| Destructor. More... | |
| void | startThread () |
| Start the thread. More... | |
| void | waitForExit () |
| Wait for thread to exit. More... | |
| bool | isRunning () |
| Get thread running status. More... | |
| HANDLE | getThreadHandle () |
| Get thread running status. More... | |
Static Public Member Functions | |
| static DWORD WINAPI | threadFunc (LPVOID param) |
| Static thread function which calls subclass' overridden MainThreadFunc. More... | |
Protected Member Functions | |
| virtual DWORD | mainThreadFunc () |
| Main thread to execute. More... | |
CThread is thread class interface.
|
explicit |
Default constructor.
|
virtual |
Destructor.
| HANDLE imt::base::os::win32::Thread::getThreadHandle | ( | ) |
Get thread running status.
| bool imt::base::os::win32::Thread::isRunning | ( | ) |
Get thread running status.
|
protectedvirtual |
Main thread to execute.
Reimplemented in imt::base::bsp::simulator::tcpClient::TcpClient, imt::base::bsp::simulator::tcpClient::SocketSender, imt::base::bsp::simulator::tcpClient::SocketListener, and imt::base::bsp::simulator::tcpClient::ClientSocket.
| void imt::base::os::win32::Thread::startThread | ( | ) |
Start the thread.
|
static |
Static thread function which calls subclass' overridden MainThreadFunc.
| param | Pointer to the thread object. |
| void imt::base::os::win32::Thread::waitForExit | ( | ) |
Wait for thread to exit.