#include <ThreadedObject.h>
Public Member Functions | |
bool | isPausing () |
bool | isRunning () |
void | notifyFinish () |
virtual bool | oneStep () |
void | pause () |
void | resume () |
void | start () |
void | stop () |
ThreadedObject () | |
void | wait () |
~ThreadedObject () | |
Private Attributes | |
bool | m_isPausing |
bool | m_isRunning |
SDL_sem * | m_sem |
SDL_Thread * | m_thread |
Definition at line 6 of file ThreadedObject.h.
ThreadedObject::ThreadedObject | ( | ) |
Definition at line 12 of file ThreadedObject.cpp.
ThreadedObject::~ThreadedObject | ( | ) |
Definition at line 18 of file ThreadedObject.cpp.
bool ThreadedObject::isPausing | ( | ) |
Definition at line 32 of file ThreadedObject.cpp.
bool ThreadedObject::isRunning | ( | ) |
Definition at line 36 of file ThreadedObject.cpp.
void ThreadedObject::notifyFinish | ( | ) |
Definition at line 67 of file ThreadedObject.cpp.
|
virtual |
void ThreadedObject::pause | ( | ) |
Definition at line 23 of file ThreadedObject.cpp.
Definition at line 27 of file ThreadedObject.cpp.
Definition at line 47 of file ThreadedObject.cpp.
Definition at line 54 of file ThreadedObject.cpp.
Definition at line 61 of file ThreadedObject.cpp.
|
private |
Definition at line 21 of file ThreadedObject.h.
|
private |
Definition at line 21 of file ThreadedObject.h.
|
private |
Definition at line 23 of file ThreadedObject.h.
|
private |
Definition at line 22 of file ThreadedObject.h.