SuperTuxKart
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
Profiler::EventData Class Reference

The data for one event. More...

Public Member Functions

 EventData (video::SColor colour, int max_size)
 
void setStart (size_t frame, double start, int layer)
 Records the start of an event for a given frame.
 
void setEnd (size_t frame, double end)
 Records the end of an event for a given frame.
 
const MarkergetMarker (int n) const
 
MarkergetMarker (int n)
 
video::SColor getColour () const
 Returns the colour for this event.
 

Private Attributes

video::SColor m_colour
 Colour to use in the on-screen display.
 
std::vector< Markerm_all_markers
 Vector of all buffered markers.
 

Detailed Description

The data for one event.

It contains the events colours, all markers for the buffer period and a stack to detect nesting of markers.


The documentation for this class was generated from the following file: