[Smtk-developers] UUIDGenerator Instance

TJ Corona tj.corona at kitware.com
Thu Sep 14 14:35:46 EDT 2017


Hi Bob,

If you want to expose the static instance of the UUID Generator, you will need to add the method to the pybind11 code.

Sincerely,
T.J.

Thomas J. Corona, Ph.D.
Kitware, Inc.
Senior R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4443

> On Sep 14, 2017, at 2:33 PM, Bob Obara <bob.obara at kitware.com> wrote:
> 
> 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 <mailto: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
>> 
> 
> _______________________________________________
> Smtk-developers mailing list
> Smtk-developers at smtk.org
> http://public.kitware.com/mailman/listinfo/smtk-developers

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


More information about the Smtk-developers mailing list