#include <mmsswitcherthread.h>

Public Member Functions | |
| MMSSwitcherThread (MMSSwitcher *sw, MMSLabelWidget *date_s, MMSLabelWidget *time_s, MMSLabelWidget *date_p, MMSLabelWidget *time_p) | |
| Constructor of main thread. | |
| MMSSwitcherThread (MMSSwitcher *sw) | |
| Constructor for plugin specific access to switcher. | |
| void | invokeShowPreview () |
| void | previewShown () |
Private Member Functions | |
| void | threadMain () |
| Virtual main method for the thread. | |
Private Attributes | |
| int | mode |
| mode of the thread, 0: main thread, 1: show preview thread | |
| MMSMutex | lock |
| string | curr_date |
| string | curr_time |
| MMSSwitcher * | sw |
| MMSLabel * | date_s |
| MMSLabel * | time_s |
| MMSLabel * | date_p |
| MMSLabel * | time_p |
| unsigned int | sleepcnt |
| int | invoke_plugin |
| unsigned int | plugin_invoked |
| MMSSwitcherThread * | my_spt |
| bool | preview_shown |
Definition at line 41 of file mmsswitcherthread.h.
| MMSSwitcherThread::MMSSwitcherThread | ( | MMSSwitcher * | sw, | |
| MMSLabelWidget * | date_s, | |||
| MMSLabelWidget * | time_s, | |||
| MMSLabelWidget * | date_p, | |||
| MMSLabelWidget * | time_p | |||
| ) |
| MMSSwitcherThread::MMSSwitcherThread | ( | MMSSwitcher * | sw | ) |
Constructor for plugin specific access to switcher.
This instance is used for the show preview method of the plugins.
Definition at line 62 of file mmsswitcherthread.cpp.
| void MMSSwitcherThread::threadMain | ( | ) | [private, virtual] |
Virtual main method for the thread.
This virtual method is empty and have to be setup with code by a derived class. The MMSThread class is only the base class and cannot be constructed.
Implements MMSThread.
Definition at line 88 of file mmsswitcherthread.cpp.
| void MMSSwitcherThread::invokeShowPreview | ( | ) |
Definition at line 67 of file mmsswitcherthread.cpp.
| void MMSSwitcherThread::previewShown | ( | ) |
Definition at line 84 of file mmsswitcherthread.cpp.
int MMSSwitcherThread::mode [private] |
mode of the thread, 0: main thread, 1: show preview thread
Definition at line 43 of file mmsswitcherthread.h.
MMSMutex MMSSwitcherThread::lock [private] |
Definition at line 45 of file mmsswitcherthread.h.
string MMSSwitcherThread::curr_date [private] |
Definition at line 47 of file mmsswitcherthread.h.
string MMSSwitcherThread::curr_time [private] |
Definition at line 48 of file mmsswitcherthread.h.
MMSSwitcher* MMSSwitcherThread::sw [private] |
Definition at line 50 of file mmsswitcherthread.h.
MMSLabel* MMSSwitcherThread::date_s [private] |
Definition at line 51 of file mmsswitcherthread.h.
MMSLabel* MMSSwitcherThread::time_s [private] |
Definition at line 52 of file mmsswitcherthread.h.
MMSLabel* MMSSwitcherThread::date_p [private] |
Definition at line 53 of file mmsswitcherthread.h.
MMSLabel* MMSSwitcherThread::time_p [private] |
Definition at line 54 of file mmsswitcherthread.h.
unsigned int MMSSwitcherThread::sleepcnt [private] |
Definition at line 56 of file mmsswitcherthread.h.
int MMSSwitcherThread::invoke_plugin [private] |
Definition at line 58 of file mmsswitcherthread.h.
unsigned int MMSSwitcherThread::plugin_invoked [private] |
Definition at line 59 of file mmsswitcherthread.h.
MMSSwitcherThread* MMSSwitcherThread::my_spt [private] |
Definition at line 60 of file mmsswitcherthread.h.
bool MMSSwitcherThread::preview_shown [private] |
Definition at line 61 of file mmsswitcherthread.h.