Node#

class itala.itala.INode(*args, **kwargs)#

Bases: IBase

Interface common to all nodes

property thisown#

The membership flag

invalidate_node()#

Indicates that the node’s value may have changed. Fires the callback on this and all dependent nodes

is_cachable()#

Is the node value cachable

is_access_mode_cacheable()#

True if the AccessMode can be cached

register_callback(INPUT)#

Register change callback Takes ownership of the CNodeCallback object

deregister_callback(hCallback)#
De register change callback Destroys CNodeCallback object
rtype:

boolean

return:

true if the callback handle was valid

is_streamable()#

True if the node is streamable

get_property(PropertyName)#

Retrieves a property plus an additional attribute by name If a property has multiple values/attribute they come with Tabs as delimiters

impose_access_mode(ImposedAccessMode)#

Imposes an access mode to the natural access mode of the node

impose_visibility(ImposedVisibility)#

Imposes a visibility to the natural visibility of the node

is_deprecated()#

True if the node should not be used any more

is_feature()#

True if the node can be reached via category nodes from a category node named “Root”

is_selector()#

true iff this feature selects a group of features

property name_space: GENAPI_NAMESPACE::ENameSpace#

Get name space

property visibility: GENAPI_NAMESPACE::EVisibility#

Get the recommended visibility of the node

property caching_mode: GENAPI_NAMESPACE::ECachingMode#

Get Caching Mode

property polling_time: int#

recommended polling time (for not cachable nodes)

property tooltip: str#

Get a short description of the node

property description: str#

Get a long description of the node

property display_name: str#

Get a name string for display

property device_name: str#

Get a name of the device

property children: None#

Get all nodes this node directly depends on. :type Children: GENAPI_NAMESPACE::NodeList_t, out :param Children: List of children nodes :type LinkType: int, optional :param LinkType: The link type

property parents: None#

Gets all nodes this node is directly depending on :type Parents: GENAPI_NAMESPACE::NodeList_t, out :param Parents: List of parent nodes

property node_map: INodeMap#

Retrieves the central node map

property event_id: str#

Get the EventId of the node

property property_names: None#

Returns a list of the names all properties set during initialization

property alias: INode#

Retrieves the a node which describes the same feature in a different way

property cast_alias: INode#

Retrieves the a node which describes the same feature so that it can be casted

property docu_url: str#

Gets a URL pointing to the documentation of that feature

property principal_interface_type: GENAPI_NAMESPACE::EInterfaceType#

Get the type of the main interface of a node

property name#
property name_full_qualified#
property selected_features: None#

retrieve the group of selected features

property selecting_features: None#

retrieve the group of features selecting this node