MMSFlashThread Class Reference

#include <mmsflashthread.h>

Inheritance diagram for MMSFlashThread:

List of all members.


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

MMSFlashflash
 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

Detailed Description

Definition at line 46 of file mmsflashthread.h.


Constructor & Destructor Documentation

MMSFlashThread::MMSFlashThread ( MMSFlash flash,
MMSFLASHTHREAD_MODE  mode,
string  identity = "MMSFlashThread" 
)

Definition at line 37 of file mmsflashthread.cpp.


Member Function Documentation

void MMSFlashThread::threadMain (  )  [private, virtual]

main routine

Implements MMSThread.

Definition at line 44 of file mmsflashthread.cpp.

bool MMSFlashThread::start ( void   )  [virtual]

start the thread

Reimplemented from MMSThread.

Definition at line 54 of file mmsflashthread.cpp.

bool MMSFlashThread::isStarted ( void   ) 

is the thread started

Definition at line 59 of file mmsflashthread.cpp.

void MMSFlashThread::invokeStop ( void   ) 

thread should stop

Definition at line 63 of file mmsflashthread.cpp.

void MMSFlashThread::waitUntilStopped ( void   ) 

waiting until end of the thread

Definition at line 67 of file mmsflashthread.cpp.


Member Data Documentation

access to the flash object

Definition at line 49 of file mmsflashthread.h.

mode of the thread

Definition at line 52 of file mmsflashthread.h.

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]

stop flag

Definition at line 58 of file mmsflashthread.h.


The documentation for this class was generated from the following files: