public static final class NPluginManager.PluginCollection extends NObjectReadOnlyCollection<NPlugin>
clsowner| Modifier | Constructor and Description |
|---|---|
protected |
PluginCollection(NPluginManager owner) |
| Modifier and Type | Method and Description |
|---|---|
NPlugin |
add(NPluginModule module,
String directory)
Adds plugin and its dependencies (if exist) from specified directory.
|
NPlugin |
add(String fileName)
Adds plugin from user specified file.
|
protected int |
addCollectionChangedNative(HNObject hObject,
HNCallback hCallback) |
boolean |
contains(String name) |
NPlugin |
get(String name)
Gets NDevice object specified by Id.
|
protected int |
getAllNative(HNObject handle,
NObjectArray<NPlugin> values,
int valuesLength) |
protected int |
getAllOutNative(HNObject handle,
com.sun.jna.ptr.PointerByReference rarhValues,
com.sun.jna.ptr.IntByReference rValueCount) |
protected int |
getNative(HNObject handle,
int index,
HNObjectByReference hValue) |
protected NTypes.TargetTransform |
getObjectToCollection() |
int |
indexOf(String name)
Retrieves the index of the plugin specified by name.
|
protected int |
removeCollectionChangedNative(HNObject hObject,
HNCallback hCallback) |
protected int |
sizeNative(HNObject handle,
com.sun.jna.ptr.IntByReference rValue) |
protected boolean |
supportsCollectionChanged() |
protected boolean |
supportsGetAllOut() |
get, getAllInternal, getAllOutInternal, getInternal, getItemsToList, indexOf, indexOf, isCacheaddCollectionChangeListener, addPropertyChangeListener, removeCollectionChangeListener, removePropertyChangeListener, size, supportsGetAll, toArray, toArrayadd, add, addAll, addAll, clear, contains, containsAll, get, getModCount, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, set, subList, touchgetOwnerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequals, hashCode, replaceAll, sort, spliteratorparallelStream, removeIf, streamprotected PluginCollection(NPluginManager owner)
protected boolean supportsGetAllOut()
supportsGetAllOut in class NSimpleReadOnlyCollection<NPlugin>protected boolean supportsCollectionChanged()
supportsCollectionChanged in class NSimpleReadOnlyCollection<NPlugin>protected NTypes.TargetTransform getObjectToCollection()
getObjectToCollection in class NSimpleReadOnlyCollection<NPlugin>protected int sizeNative(HNObject handle, com.sun.jna.ptr.IntByReference rValue)
sizeNative in class NSimpleReadOnlyCollection<NPlugin>protected int getNative(HNObject handle, int index, HNObjectByReference hValue)
getNative in class NAbstractObjectReadOnlyCollection<NPlugin>protected int getAllNative(HNObject handle, NObjectArray<NPlugin> values, int valuesLength)
getAllNative in class NObjectReadOnlyCollection<NPlugin>protected int getAllOutNative(HNObject handle, com.sun.jna.ptr.PointerByReference rarhValues, com.sun.jna.ptr.IntByReference rValueCount)
getAllOutNative in class NAbstractObjectReadOnlyCollection<NPlugin>protected int addCollectionChangedNative(HNObject hObject, HNCallback hCallback)
addCollectionChangedNative in class NSimpleReadOnlyCollection<NPlugin>protected int removeCollectionChangedNative(HNObject hObject, HNCallback hCallback)
removeCollectionChangedNative in class NSimpleReadOnlyCollection<NPlugin>public NPlugin add(NPluginModule module, String directory)
module - Plugin module.directory - Directory where plugin and its dependencies (if exist) are saved.public NPlugin add(String fileName)
fileName - File name where plugin is saved.public int indexOf(String name)
name - The name of the plugin.public boolean contains(String name)
Copyright © 2016 Neurotechnology. All rights reserved.