#include <SpikeStreamApplication.h>
Public Member Functions | |
| bool | renderInProgress () |
| SpikeStreamApplication (int argc, char **argv) | |
| void | startRender () |
| void | stopRender () |
| ~SpikeStreamApplication () | |
Protected Member Functions | |
| bool | x11EventFilter (XEvent *) |
Private Member Functions | |
| SpikeStreamApplication | operator= (const SpikeStreamApplication &) |
| SpikeStreamApplication (const SpikeStreamApplication &) | |
Private Attributes | |
| unsigned int | keyEventTime |
| unsigned int | renderDuration_ms |
| bool | rendering |
| unsigned int | startRenderKeyEventTime |
| timeval | startRenderTime |
| timeval | stopRenderTime |
Definition at line 38 of file SpikeStreamApplication.h.
|
||||||||||||
|
Constructor. Definition at line 34 of file SpikeStreamApplication.cpp. References renderDuration_ms, rendering, and startRenderKeyEventTime. |
|
|
Destructor. Definition at line 42 of file SpikeStreamApplication.cpp. |
|
|
Declare copy constructor private so it cannot be used inadvertently. |
|
|
Declare assignment private so it cannot be used inadvertently. |
|
|
Returns true if the render is currently in progress. Definition at line 54 of file SpikeStreamApplication.cpp. References rendering. |
|
|
Called when the network viewer starts the render and records the time at this point and the time of the last key event. Definition at line 61 of file SpikeStreamApplication.cpp. References keyEventTime, rendering, startRenderKeyEventTime, and startRenderTime. Referenced by NetworkViewer::paintGL(). |
|
|
Records the time at which the render completes and calculates the duration of the render. Definition at line 70 of file SpikeStreamApplication.cpp. References renderDuration_ms, rendering, startRenderTime, and stopRenderTime. Referenced by NetworkViewer::paintGL(). |
|
|
Method inherited from QApplication that is called whenever an X11 XEvent is received by the application. Returning true filters the event, returning false passes the event on to the application. This method filters events that are received whilst the NetworkViewer is rendering. Since display lists are used, have no control during the render so have to look for events that were generated during the time window of the render. This method is specific to Linux. Definition at line 88 of file SpikeStreamApplication.cpp. References keyEventTime, renderDuration_ms, and startRenderKeyEventTime. |
|
|
Records the time of each key press event. Definition at line 63 of file SpikeStreamApplication.h. Referenced by startRender(), and x11EventFilter(). |
|
|
Records the duration of each render. Definition at line 57 of file SpikeStreamApplication.h. Referenced by SpikeStreamApplication(), stopRender(), and x11EventFilter(). |
|
|
Records when rendering is in progress. Definition at line 72 of file SpikeStreamApplication.h. Referenced by renderInProgress(), SpikeStreamApplication(), startRender(), and stopRender(). |
|
|
Records the time of the last key press at the start of the render. Definition at line 60 of file SpikeStreamApplication.h. Referenced by SpikeStreamApplication(), startRender(), and x11EventFilter(). |
|
|
Time structure to record the start of the render. Definition at line 66 of file SpikeStreamApplication.h. Referenced by startRender(), and stopRender(). |
|
|
Time structure to record the end of the render. Definition at line 69 of file SpikeStreamApplication.h. Referenced by stopRender(). |
1.4.4