This documenta- tion describes the current state of development.
Prokee Modules:
GUI Elements:
GUI Interactions:
GUI Layouts:
Games/Demos:
Third Party Libraries:
Inheritance:
Constructors:AbsThread *createThread(unsigned int tid,int32_t(*callback)(AbsThread *tread,AbsMsgItem *msgItem))AbsThread *createThread(unsigned int tid,void(*main_func)(void *args),void *_args)AbsThread *createThread(unsigned int tid,int32_t(*callback)(AbsThread *tread,AbsMsgItem *msgItem),void(*main_func)(void *args),void *_args)
Methods:int sendMessage(uint64_t msgID,uint64_t msgParam,uint64_t msgFlags,void *msgData)Thread()
AbsThread *AbsThreadInterface::createThread()
ThreadWrapper()
AbsThreadInterface::createThread creates a new instance of class Thread.
Thread.Thread(unsigned int tid,int32_t(*callback)(AbsThread *tread,AbsMsgItem *msgItem))
AbsThread *AbsThreadInterface::createThread(unsigned int tid,int32_t(*callback)(AbsThread *tread,AbsMsgItem *msgItem))
ThreadWrapper(unsigned int tid,int32_t(*callback)(AbsThread *tread,AbsMsgItem *msgItem))
AbsThreadInterface::createThread creates a new instance of class Thread.
| Type | Name | Direction | Description | ||||
| tid | A unique ID of the thread. | ||||||
| int32_t(*callback) ( AbsThread *tread, AbsMsgItem *msgItem ) with typedef
| [IN] |
The thread-callback function.
Parameter
tread: Pointer to the thread wrapper class the message was sent to. msgItem: Pointer to a message item.
Return value
Return value of the callback function.
| |||||
Thread.Thread(unsigned int tid,void(*main_func)(void *args),void *_args)
AbsThread *AbsThreadInterface::createThread(unsigned int tid,void(*main_func)(void *args),void *_args)
ThreadWrapper(unsigned int tid,void(*main_func)(void *args),void *_args)
AbsThreadInterface::createThread creates a new instance of class Thread.
| Type | Name | Direction | Description | ||||
| tid | A unique ID of the thread. | ||||||
| void(*main_func) ( void *args ) with typedef
| [IN] |
The thread-main function.
Parameter
args: Pointer to the function arguments. | |||||
| _args | Pointer to arguments for the call of main_func. | ||||||
Thread.Thread(unsigned int tid,int32_t(*callback)(AbsThread *tread,AbsMsgItem *msgItem),void(*main_func)(void *args),void *_args)
AbsThread *AbsThreadInterface::createThread(unsigned int tid,int32_t(*callback)(AbsThread *tread,AbsMsgItem *msgItem),void(*main_func)(void *args),void *_args)
ThreadWrapper(unsigned int tid,int32_t(*callback)(AbsThread *tread,AbsMsgItem *msgItem),void(*main_func)(void *args),void *_args)
AbsThreadInterface::createThread creates a new instance of class Thread.
| Type | Name | Direction | Description | ||||
| tid | A unique ID of the thread. | ||||||
| int32_t(*callback) ( AbsThread *tread, AbsMsgItem *msgItem ) with typedef
| [IN] |
The thread-callback function.
Parameter
tread: Pointer to the thread wrapper class the message was sent to. msgItem: Pointer to a message item.
Return value
Return value of the callback function.
| |||||
| void(*main_func) ( void *args ) with typedef
| [IN] |
The thread-main function.
Parameter
args: Pointer to the function arguments. | |||||
| _args | Pointer to arguments for the call of main_func. | ||||||
Thread.int startThread()
void iniFutex()
void freeFutex()
void print()
int mainloop()
int feedback()
int sendMessage(AbsMsgItem *msg)
| Type | Name | Direction | Description |
| msg | [IN] | Pointer to a AbsMsgItem object. |
int sendMessage(uint64_t msgID,uint64_t msgParam,uint64_t msgFlags,void *msgData)
| Type | Name | Direction | Description |
| msgID | The ID of the type of message. | ||
| msgParam | The Parameter of message. | ||
| msgFlags | The Flags of message. | ||
| msgData | The data sent with the message. |
unsigned int getThreadID()
int getStatus()
void setStatus(int st)
| Type | Name | Direction | Description |
| st | The status of the thread. |
void setCallback(int32_t(*callback)(AbsThread *tread,AbsMsgItem *msgItem))
| Type | Name | Direction | Description | ||||
| int32_t(*callback) ( AbsThread *tread, AbsMsgItem *msgItem ) with typedef
| [IN] |
The thread-callback function.
Parameter
tread: Pointer to the thread wrapper class the message was sent to. msgItem: Pointer to a message item.
Return value
Return value of the callback function.
| |||||
void setThreadID(unsigned int tid)
| Type | Name | Direction | Description |
| tid | A unique ID of the thread. |
void setManager(AbsThreadMan *managerThread)
| Type | Name | Direction | Description |
| managerThread | [IN] | Pointer to the thread manager (a AbsThreadMan object). |
AbsThreadMan *getManager()
NULL, if not set.void fwait()
void fpost()