#include <mmsflashthread.h>
Public Member Functions | |
MMSFlashThread (MMSFlash *flash, MMSFLASHTHREAD_MODE mode, string identity="MMSFlashThread") | |
bool | start () |
start the thread | |
bool | isStarted (void) |
is the thread started | |
void | invokeStop (void) |
thread should stop | |
void | waitUntilStopped (void) |
waiting until end of the thread | |
Private Member Functions | |
void | threadMain () |
main routine | |
Private Attributes | |
MMSFlash * | flash |
access to the flash object | |
MMSFLASHTHREAD_MODE | mode |
mode of the thread | |
bool | started |
start flag, means that the thread was started after start(), but it can be finished | |
bool | stop |
stop flag |
Definition at line 46 of file mmsflashthread.h.
MMSFlashThread::MMSFlashThread | ( | MMSFlash * | flash, | |
MMSFLASHTHREAD_MODE | mode, | |||
string | identity = "MMSFlashThread" | |||
) |
Definition at line 37 of file mmsflashthread.cpp.
void MMSFlashThread::threadMain | ( | ) | [private, virtual] |
bool MMSFlashThread::start | ( | void | ) | [virtual] |
bool MMSFlashThread::isStarted | ( | void | ) |
void MMSFlashThread::invokeStop | ( | void | ) |
void MMSFlashThread::waitUntilStopped | ( | void | ) |
MMSFlash* MMSFlashThread::flash [private] |
MMSFLASHTHREAD_MODE MMSFlashThread::mode [private] |
bool MMSFlashThread::started [private] |
start flag, means that the thread was started after start(), but it can be finished
Definition at line 55 of file mmsflashthread.h.
bool MMSFlashThread::stop [private] |