Chronos Plugins 5.9.0
This documentation covers the plugin interfaces definitions and an example implementation.
|
Add this attribute to your ITaskForDevice.SetDevice method or your IDevice property if you are using more than one device to limit the range of autosamplers that is offered in the method editor. More...
Public Member Functions | |
DevicesLimitedAttribute (params Type[] types) | |
Takes a whitelist of sampler types that are OK for your task. | |
virtual bool | IsOK (Type someDeviceType) |
Override this if you need a more complex logic than simple type whitelisting. | |
Private Attributes | |
readonly Type[] | mLimitedTo |
For the default implementation. | |
Add this attribute to your ITaskForDevice.SetDevice method or your IDevice property if you are using more than one device to limit the range of autosamplers that is offered in the method editor.
Definition at line 227 of file TaskInterfaces.cs.
AxelSemrau.Chronos.Plugin.DevicesLimitedAttribute.DevicesLimitedAttribute | ( | params Type[] | types | ) |
Takes a whitelist of sampler types that are OK for your task.
types |
Definition at line 238 of file TaskInterfaces.cs.
References AxelSemrau.Chronos.Plugin.DevicesLimitedAttribute.mLimitedTo.
|
virtual |
Override this if you need a more complex logic than simple type whitelisting.
someDeviceType |
Definition at line 249 of file TaskInterfaces.cs.
References AxelSemrau.Chronos.Plugin.DevicesLimitedAttribute.mLimitedTo.
|
private |
For the default implementation.
Definition at line 232 of file TaskInterfaces.cs.
Referenced by AxelSemrau.Chronos.Plugin.DevicesLimitedAttribute.DevicesLimitedAttribute(), and AxelSemrau.Chronos.Plugin.DevicesLimitedAttribute.IsOK().