pothosware / pothos-library

Framework library used by all Pothos projects
www.pothosware.com
4 stars 0 forks source link

block notification overload for port change #28

Closed guruofquality closed 8 years ago

guruofquality commented 10 years ago

When the ports are changed at runtime, the author of a block with variable ports will overload this call to to make sure they are using viable port pointers. This will also be the callback that we recommend users use to cache/store port pointers.

guruofquality commented 8 years ago

This has never come up so far. Variable port blocks generally setup once at init. Or are destructed and re-created for port configuration changes. If this is an issue, activate() may be a good existing hook if the user needs this.