The data storage.
More...
#include <data.h>
The data storage.
Definition at line 32 of file data.h.
Construct a new data storage.
GLStats::Data::Data |
( |
const Data & |
from | ) |
|
Construct a copy of the data storage.
virtual GLStats::Data::~Data |
( |
| ) |
|
|
virtual |
Destruct this data storage.
void GLStats::Data::addItem |
( |
const Item & |
item | ) |
|
void GLStats::Data::clear |
( |
| ) |
|
uint128_t GLStats::Data::computeMinMax |
( |
| ) |
const |
- Returns
- the min and max time of the dataset.
const Entity& GLStats::Data::getEntity |
( |
const uint32_t |
identifier | ) |
const |
- Returns
- the entity description for the given id.
const Items& GLStats::Data::getItems |
( |
| ) |
const |
- Returns
- the vector of items for the frame of the given age.
const std::string& GLStats::Data::getText |
( |
| ) |
const |
- Returns
- the additional text.
const Thread& GLStats::Data::getThread |
( |
const uint32_t |
identifier | ) |
const |
- Returns
- the thread description for the given id.
const Type& GLStats::Data::getType |
( |
const uint32_t |
identifier | ) |
const |
- Returns
- the type description for the given id.
const TypeMap& GLStats::Data::getTypes |
( |
| ) |
const |
- Returns
- the map of all types.
void GLStats::Data::obsolete |
( |
const uint32_t |
nFrames | ) |
|
Obsolete all items older than the given number of frames.
void GLStats::Data::setEntity |
( |
const uint32_t |
identifier, |
|
|
const Entity & |
entity |
|
) |
| |
Set an entity description.
void GLStats::Data::setText |
( |
const std::string & |
text | ) |
|
Set additional text at the bottom.
void GLStats::Data::setThread |
( |
const uint32_t |
identifier, |
|
|
const Thread & |
thread |
|
) |
| |
Set a thread description.
void GLStats::Data::setType |
( |
const uint32_t |
identifier, |
|
|
const Type & |
type |
|
) |
| |
The documentation for this class was generated from the following file: