Nameless Engine
|
#include <UniqueValueGenerator.h>
Public Member Functions | |
UniqueValueGenerator (const UniqueValueGenerator &)=delete | |
UniqueValueGenerator & | operator= (const UniqueValueGenerator &)=delete |
std::string | getUniqueWindowName () |
Static Public Member Functions | |
static UniqueValueGenerator & | get () |
Private Attributes | |
unsigned long long | iWindowCounter = 0 |
Used to generate unique values and names.
|
static |
Returns a reference to the generator instance. If no instance was created yet, this function will create it and return a reference to it.
std::string ne::UniqueValueGenerator::getUniqueWindowName | ( | ) |
Returns a unique window name.
|
private |
Used to make sure that window class names are unique.