[Smtk-developers] UUIDGenerator Instance

Bob Obara bob.obara at kitware.com
Thu Sep 14 14:33:43 EDT 2017


Question about PybindUUIDGenerator.h
Now that the class has an instance() method does anything need to be done to the wrapper file?

Bob

Robert M. O'Bara, MEng.
Assistant Director of Scientific Computing

Kitware Inc.
28 Corporate Drive
Suite 101
Clifton Park, NY 12065

Phone: (518) 881- 4931




> On Sep 14, 2017, at 11:55 AMEDT, Bob Obara <bob.obara at kitware.com> wrote:
> 
> I’ll do it :)
> 
> Bob
> 
> Robert M. O'Bara, MEng.
> Assistant Director of Scientific Computing
> 
> Kitware Inc.
> 28 Corporate Drive
> Suite 101
> Clifton Park, NY 12065
> 
> Phone: (518) 881- 4931
> 
> 
> 
> 
>> On Sep 14, 2017, at 11:51 AMEDT, David Thompson <david.thompson at kitware.com <mailto:david.thompson at kitware.com>> wrote:
>> 
>>> T.J. commented in my Resource merge request that creation of the UUID Generator can have costly initialization (Resource and ResourceComponent created a generator when they need to get a UUID) - if that is case, does it make sense to have a static instance() method on the generator class and have SMTK use it?
>> 
>> Yes. Currently each model manager creates an instance. Since we are switching to having multiple managers instead of just one, this makes sense.
>> 
>> 	David
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/smtk-developers/attachments/20170914/a38af778/attachment.html>


More information about the Smtk-developers mailing list