• Home
  • Documentation
  • Forum
  • Blog
  • Users
    • Map
    • Userlist
    • Businesses
    • Userpages
    • Connections
  • Contributions
    • All
    • Store
  • Downloads
    • vvvv beta
    • vvvv beta previews
  • Store
Show / Hide Table of Contents

Dynamic Plugins

Author: gregsn
Date: 24 Feb, 2013
Category: demo
Credits:

elias, tonfilm, gregsn

Download

64bit

1-Dynamic Plugins_NODE15.zip
06 May, 2015 - 13:38
0-Dynamic Plugins.zip
24 Feb, 2013 - 20:29

Description

This workshop is for vvvv users that need to get started with dynmamic plugins.

It tries to get you started with

  • C#
  • the use of it to create nodes in vvvv, via the plugin interface
  • common techniques in the .NET framework

We start by building custom data types just to show you the difference of general purpose classes and classes that turn into nodes. We also take the chance to show how nodes can interact with each other.

All in all we try to give an understanding for why dynamic plugins are needed sometimes or how to get patches cleaner or faster.


second revision includes some more slides on common interfaces like IEnumerable, IDisposable and an example how to run a task in the background.

Comments

Comments are no longer accepted.
Please create a new topic in the vvvv beta forum to discuss this contribution.
velcrome
24 Feb, 2013 - 21:50

My most recent [dynamic-amount-of-input-pins-in-a-plugin-%28like-stallone%29?full=1#comment-96884" "plugin](https://discourse.vvvv.org/t/dynamic-amount-of-input-pins-in-a-plugin-%28like-stallone%29?full=1#comment-96884" "plugin) seems related, but got pushed down by all the lovvvvely activity.

With it you can configure a Split and a Join to your needs in the Inspektor.

Adding some service modules like Cons, Select, S+H, FrameDelay etc. would be easy, and you can patch (or rather pin-tweak) your own Objects without any code. And if you really want to do custom stuff, it is more like scripting because of the dynamic nature of the underlying data structure.
velcrome
24 Feb, 2013 - 21:51

Thanks for the jacket btw :)

gregsn
25 Feb, 2013 - 12:52

hey velcrome,

yes, nice! this should really cover most cases! this dynamic datatype system is flexible and there are only few things that you have to get right as a user:

  • if you have different dynamic datatype ("messages"), remember which can be connected to which (but good naming of ioboxes should do the trick already)
  • when changing the datatype "configuration" (seldom enough), remember to change it on every split and join

so at least there are theoretically some advantages still for doing own datatypes. but having it the easy way is a really nice thing!

i hope ppl still got something outof the workshop...

oh and jacketwise: you're velcrome!

velcrome
25 Feb, 2013 - 15:51

had a look at the code from your workshop and to me it seems valuable enough for anybody trying to get into dynamic plugins.

colorsound
25 Feb, 2013 - 19:07

that,s great thanks gregsn

  • Improve this Doc

© 2020 by vvvv group. Imprint | Privacy Policy.
Thanks to DocFX for building this website. Analytics by Plausible.

Back to top