Chronos Plugins
5.2.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. More... | |
virtual bool | IsOK (Type someDeviceType) |
Override this if you need a more complex logic than simple type whitelisting. More... | |
Private Attributes | |
readonly Type[] | mLimitedTo |
For the default implementation More... | |
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 224 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 235 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 246 of file TaskInterfaces.cs.
References AxelSemrau.Chronos.Plugin.DevicesLimitedAttribute.mLimitedTo.
|
private |
For the default implementation
Definition at line 229 of file TaskInterfaces.cs.
Referenced by AxelSemrau.Chronos.Plugin.DevicesLimitedAttribute.DevicesLimitedAttribute(), and AxelSemrau.Chronos.Plugin.DevicesLimitedAttribute.IsOK().