Impact Acquire SDK Java
|
A base class to implement access to internal driver objects. More...
Public Member Functions | |
long | changedCounter () |
Returns the current changed counter for the component referenced by this object. | |
long | changedCounterAttr () |
Returns the current attribute changed counter for the component referenced by this object. | |
ComponentAccess (ComponentAccess src) | |
Constructs a new mvIMPACT.acquire.ComponentAccess from an existing one. | |
synchronized void | delete () |
String | displayName () |
Returns the display name of the component referenced by this object. | |
int | hObj () |
Returns a unique identifier for the component referenced by this object. | |
String | name () |
Returns the name of the component referenced by this object. | |
Protected Member Functions | |
ComponentAccess (long cPtr, boolean cMemoryOwn) | |
void | finalize () |
Static Protected Member Functions | |
static long | swigRelease (ComponentAccess obj) |
Protected Attributes | |
transient boolean | swigCMemOwn |
A base class to implement access to internal driver objects.
Instances of this class can't be constructed directly.
|
protected |
ComponentAccess | ( | ComponentAccess | src | ) |
Constructs a new mvIMPACT.acquire.ComponentAccess from an existing one.
src | [in] A constant reference to the mvIMPACT.acquire.ComponentAccess object, this object shall be created from |
long changedCounter | ( | ) |
Returns the current changed counter for the component referenced by this object.
This changed counter is incremented internally each time the component is modified. To check if this component has been modified since the last time, this check has been performed, keep track of the last return value of this function and compare it with the new value. This can be helpful e.g. to keep a GUI up to date. The value returned by this function will always be larger than or equal to the value returned by mvIMPACT.acquire.ComponentAccess.changedCounterAttr (except in case of a wrap around) when called at the same time for the same object as it's always incremented when the component has been modified in any way while the latter one will only be incremented if the attributes (e.g. the flags) but NOT if e.g. the value(s) of a property has been modified.
long changedCounterAttr | ( | ) |
Returns the current attribute changed counter for the component referenced by this object.
This changed counter is incremented internally each time the components attributes have been modified. To check if this components attributes have been modified since the last time, this check has been performed, keep track of the last return value of this function and compare it with the new value. This can be helpful e.g. to keep a GUI up to date.
synchronized void delete | ( | ) |
Reimplemented in Component, ComponentList, ComponentLocator, ComponentLocatorBase, DeviceComponentLocator, Method, Property, PropertyF, PropertyI, PropertyI64, PropertyPtr, and PropertyS.
String displayName | ( | ) |
Returns the display name of the component referenced by this object.
|
protected |
Reimplemented in Component, ComponentList, ComponentLocator, ComponentLocatorBase, DeviceComponentLocator, Method, Property, PropertyF, PropertyI, PropertyI64, PropertyPtr, and PropertyS.
int hObj | ( | ) |
Returns a unique identifier for the component referenced by this object.
String name | ( | ) |
Returns the name of the component referenced by this object.
|
staticprotected |
|
protected |