Nameless Engine
Loading...
Searching...
No Matches
UniqueValueGenerator.h
1#pragma once
2
3// Standard.
4#include <string>
5#include <memory>
6
7namespace ne {
12 public:
14 UniqueValueGenerator& operator=(const UniqueValueGenerator&) = delete;
15 virtual ~UniqueValueGenerator();
16
24 static UniqueValueGenerator& get();
25
31 [[nodiscard]] std::string getUniqueWindowName();
32
33 private:
34 UniqueValueGenerator() = default;
35
39 unsigned long long iWindowCounter = 0;
40 };
41} // namespace ne
Definition: UniqueValueGenerator.h:11
std::string getUniqueWindowName()
Definition: UniqueValueGenerator.cpp:11
static UniqueValueGenerator & get()
Definition: UniqueValueGenerator.cpp:6
unsigned long long iWindowCounter
Definition: UniqueValueGenerator.h:39