Centralizing and unifying the generator of object identifiers.

This commit is contained in:
brunoherbelin
2020-10-03 14:05:28 +02:00
parent 61e5c046c0
commit f32b85a656
12 changed files with 44 additions and 19 deletions

View File

@@ -17,6 +17,9 @@
Source::Source() : initialized_(false), active_(true), need_update_(true)
{
// create unique id
id_ = GlmToolkit::uniqueId();
sprintf(initials_, "__");
name_ = "Source";
mode_ = Source::UNINITIALIZED;