Impact Acquire SDK Python
ComponentLocator Class Reference

A class to locate components within the driver. More...

Inheritance diagram for ComponentLocator:
[legend]

Public Member Functions

 __init__ (self, *args)
 Constructs a new unbound locator.
 

Properties

 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 

Detailed Description

A class to locate components within the driver.

Every driver will offer a set of properties, methods and component lists. mvIMPACT.acquire.Property objects contain data such as the current gain in dB, the state of a digital input, etc.. mvIMPACT.acquire.Method objects can be executed like a normal function and mvIMPACT.acquire.ComponentList objects are used to group certain objects together to form a logical unit.

When it's necessary to locate one or more of these objects without knowing exactly where to look for them this locator class can be used to look for the component.

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
* args )

Constructs a new unbound locator.

OVERLOAD 1:

OVERLOAD 2: Constructs a new bound to the specified base list locator.

Parameters
baselist[in] A unique identifier to the base list from where to start to search for the search base.

OVERLOAD 3: Constructs a new locator and searches the search base list.

Parameters
baselist[in] A unique identifier to the base list from where to start to search for the search base.
pathToSearchBase[in] The name or path ('/' separated) to the search base.

OVERLOAD 4: Constructs a new mvIMPACT.acquire.ComponentLocator from an existing one.

Parameters
src[in] A constant reference to the mvIMPACT.acquire.ComponentLocator object, this object shall be created from

Reimplemented from ComponentLocatorBase.

Property Documentation

◆ thisown

thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
static