xoreos
0.0.5
|
A request, carrying inter-thread communication. More...
#include <requesttypes.h>
Public Member Functions | |
Request (ITCEvent type) | |
~Request () | |
bool | isGarbage () const |
Private Member Functions | |
void | create () |
Create the empty request frame. More... | |
void | copyToReply () |
Copy reply data to the reply address. More... | |
void | signalReply () |
Signal that the request was answered. More... | |
void | setGarbage () |
Private Attributes | |
ITCEvent | _type |
bool | _dispatched |
Was the request dispatched? More... | |
bool | _garbage |
Common::Semaphore | _hasReply |
Do we have a reply? More... | |
Event | _event |
The actual event. More... | |
union { | |
RequestCallInMainThread _callInMainThread | |
RequestDataGLContainer _glContainer | |
}; | |
Request data. More... | |
Friends | |
class | EventsManager |
class | RequestManager |
A request, carrying inter-thread communication.
Definition at line 52 of file requesttypes.h.
Events::Request::Request | ( | ITCEvent | type | ) |
Definition at line 33 of file requesttypes.cpp.
References create().
Events::Request::~Request | ( | ) |
Definition at line 39 of file requesttypes.cpp.
|
private |
Copy reply data to the reply address.
Definition at line 61 of file requesttypes.cpp.
|
private |
Create the empty request frame.
Definition at line 51 of file requesttypes.cpp.
References _event, _type, and Events::kEventITC.
Referenced by Request().
bool Events::Request::isGarbage | ( | ) | const |
Definition at line 42 of file requesttypes.cpp.
References _dispatched, and _garbage.
Referenced by Events::requestIsGarbage().
|
private |
Definition at line 47 of file requesttypes.cpp.
References _garbage.
|
private |
Signal that the request was answered.
Definition at line 57 of file requesttypes.cpp.
References _hasReply, and Common::Semaphore::unlock().
|
friend |
Definition at line 86 of file requesttypes.h.
|
friend |
Definition at line 87 of file requesttypes.h.
union { ... } |
Request data.
RequestCallInMainThread Events::Request::_callInMainThread |
Definition at line 71 of file requesttypes.h.
Referenced by Events::EventsManager::requestCallInMainThread().
|
private |
Was the request dispatched?
Definition at line 62 of file requesttypes.h.
Referenced by isGarbage().
|
private |
|
private |
Definition at line 63 of file requesttypes.h.
Referenced by isGarbage(), and setGarbage().
RequestDataGLContainer Events::Request::_glContainer |
Definition at line 72 of file requesttypes.h.
Referenced by Events::EventsManager::requestDestroyGLContainer(), and Events::EventsManager::requestRebuildGLContainer().
|
private |
|
private |
Definition at line 60 of file requesttypes.h.
Referenced by create().