using VVVV.Nodes.Generic;
- region PluginInfo
[PluginInfo(Name = "Cons", Category = "MyCoolStuff", Help = "Cons", Tags = "")](PluginInfo(Name = "Cons", Category = "MyCoolStuff", Help = "Cons", Tags = ""))
- endregion PluginInfo
public class CMyCoolStuffConsNode : Cons<MyCoolStuff> {};
- region PluginInfo
[PluginInfo(Name = "CAR", Category = "MyCoolStuff", Help = "CAR", Tags = "")](PluginInfo(Name = "CAR", Category = "MyCoolStuff", Help = "CAR", Tags = ""))
- endregion PluginInfo
public class CMyCoolStuffCARNode : CAR<MyCoolStuff> {};
....
It would be a real time saver for anyone coding nodes using custom pin/link data types to have all the classics (Cons, CAR, CDR, GetSlice, GetSpread and so on) available as generic versions to subclass easily.
Some are already available (https://github.com/vvvv/vvvv-sdk/tree/3829721bf10b657f4cda6eaa4ad173909a8ca897/vvvv45/src/nodes/plugins/_SpreadOperations) but others I haven’t found.
While I can just go and write simple implementations of the ones I need I suspect most are already written in some form or other by devvvvs and contributors so it would be cool if we could work together on making it easier for everyone in the future!
If we(devvvvs) can decide on a place in the source tree and a namespace I think we could populate it quite quickly.