You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Often it makes sense to be able to enable or disable plugins at model runtime, e.g. enabling the ComPort plugin only if it is needed and preventing error messages at startup if the COM port is not available.
#295 implements enabling/disabling for the COM port plugin, #294 for the Averager plugin.
It would be great to implement a generic solution for enabling/disabling plugins so that it isn't necessary to implement it multiple times in multiple plugins. Some solutions could be:
A complex solution for this could be to implement composition of bundle descriptors, so we could define generic functionality.
A simple solution could be to create a plugin which allows to control the lifecycle and properties of any other plugin.
define some generic functionality for enabling/disabling a plugin in a superclass DeactivatablePlugin and Plugins can derive from this class
The text was updated successfully, but these errors were encountered:
Often it makes sense to be able to enable or disable plugins at model runtime, e.g. enabling the ComPort plugin only if it is needed and preventing error messages at startup if the COM port is not available.
#295 implements enabling/disabling for the COM port plugin, #294 for the Averager plugin.
It would be great to implement a generic solution for enabling/disabling plugins so that it isn't necessary to implement it multiple times in multiple plugins. Some solutions could be:
The text was updated successfully, but these errors were encountered: