|
Crazy Eddie's GUI System
${CEGUI_VERSION}
|
This represents a generic test made on list widgets. It adds items, deletes some, then inserts items in the middle, and finally sorts them. More...
Inheritance diagram for BaseListPerformanceTest< TWindow >:
Collaboration diagram for BaseListPerformanceTest< TWindow >:Public Member Functions | |
| BaseListPerformanceTest (CEGUI::String windowType, CEGUI::String renderer) | |
| virtual void | doTest () |
| virtual void | addItemsWithRender (size_t count) |
| Adds the specified number of items, rendering after each addition. | |
| virtual void | clearItems ()=0 |
| virtual void | addItems (size_t count)=0 |
| virtual void | addItems (size_t count, size_t at_position)=0 |
| virtual void | deleteFirstItems (size_t count)=0 |
| virtual void | deleteLastItems (size_t count)=0 |
| virtual void | sortItems ()=0 |
Public Member Functions inherited from WindowPerformanceTest< TWindow > | |
| WindowPerformanceTest (CEGUI::String window_type, CEGUI::String renderer) | |
| virtual void | render () |
Public Member Functions inherited from PerformanceTest | |
| PerformanceTest (CEGUI::String test_name) | |
| void | execute () |
Additional Inherited Members | |
Public Attributes inherited from WindowPerformanceTest< TWindow > | |
| TWindow * | d_window |
Public Attributes inherited from PerformanceTest | |
| CEGUI::String | d_testName |
This represents a generic test made on list widgets. It adds items, deletes some, then inserts items in the middle, and finally sorts them.
To add a new list test, you just inherit from this class, and implement the required methods that do the actual item addition/removal/etc