[Kwiver-users] Fwd: [Kwiver-announce] Best practices for passing inherited types through Sprokit Pipeline

Brian Clipp brian.clipp at kitware.com
Wed Nov 15 13:22:43 EST 2017


Pushing the tread over to kwiver-users.  I attached the original ppt.

-Brian

---------- Forwarded message ---------
From: Matthew Leotta <matt.leotta at kitware.com>
Date: Wed, Nov 15, 2017 at 1:08 PM
Subject: Re: [Kwiver-announce] Best practices for passing inherited types
through Sprokit Pipeline
To: Matt Phillips <matt.phillips at kitware.com>, Brian Clipp <
brian.clipp at kitware.com>
Cc: <kwiver-announce at public.kitware.com>


Guys,

Let’s take this discussion to the kwiver-users list rather than
kwiver-announce.  kwiver-annouce is supposed to be for major announcements,
like new versions.

Of course this make me wonder if we really need kwiver-announce anymore.
Is there anyone on this mailing list who is not also on kwiver-users and
who only wants to receive very infrequent notifications about KWIVER
releases and other major announcements?  If this describes you, please send
me a response privately.  If I get no responses in a week or so, I think we
should retire this list and use only kwiver-users.  That pattern aligns
better with what our other open source projects do for mailing lists.

Thanks,
Matt


On Nov 15, 2017, at 12:56 PM, Matt Phillips <matt.phillips at kitware.com>
wrote:

Is the issue here just slicing when derived class objects are passed to
Keyframe selector?  I'm not familiar off the top of my head with how
sprokit does serialization/deserialization but might making that
'slice-proof' be the answer?  By e.g. storing type information and using
factory methods at construction.

Matt

On Wed, Nov 15, 2017 at 12:46 PM, Brian Clipp <brian.clipp at kitware.com>
wrote:

> Hi All.
>
> I ran into a case yesterday where I had a process that output a child
> class and a process that expected an input from it of the parent class.
> Sprokit's type checking fails in that case.  It lead me to spend some time
> thinking about what types to pass between processes.  After some discussion
> with Aaron and Matt B. these are some suggestions I've arrived at.
>
> Thoughts?
>
> Brian
>
> _______________________________________________
> Kwiver-announce mailing list
> Kwiver-announce at public.kitware.com
> http://public.kitware.com/mailman/listinfo/kwiver-announce
>
>
_______________________________________________
Kwiver-announce mailing list
Kwiver-announce at public.kitware.com
http://public.kitware.com/mailman/listinfo/kwiver-announce
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/kwiver-users/attachments/20171115/54985177/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Inherited Types in Sprokit Pipelines.pptx
Type: application/vnd.openxmlformats-officedocument.presentationml.presentation
Size: 51721 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/kwiver-users/attachments/20171115/54985177/attachment-0001.pptx>


More information about the Kwiver-users mailing list