[Smtk-developers] Resource Proxies (not the ParaView kind)

David Thompson david.thompson at kitware.com
Thu Mar 15 10:59:51 EDT 2018


>>> ...
>>> 4. Create smtk::resoource::OfflineComponent which inherits Component. It must point to a resource in the OFFLINE state. It should have a resolve() method that returns the proper value (obtained using the OfflineComponent's id()) if its parent resource is not OFFLINE.
>> 
>> This is pretty similar to what I first tried (except using resources, not components). The method resolve() pulls in the operation system which pulls in the attribute system and IO system, thus making SMTK Core a giant circular dependency again. I really, really don’t want to do this for the sake of syntactic sugar.
> 
> I don't think this is sugar, it's beef.

Also, make an explicit Link class in resource that has a pure virtual resolve() method. Then there are no operations and thus no circular deps.


    David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://smtk.org/pipermail/smtk-developers/attachments/20180315/a6b535ec/attachment.html>


More information about the Smtk-developers mailing list