Base class for all nodes, that have a value. More...
Inherits Node.
Inherited by BooleanNode, CategoryNode, CommandNode, EnumEntryNode, FloatNode, SelectorNode, and StringNode.
Public Member Functions | |
| None | from_string (self, str value) |
| Sets the value of this node from the string value. | |
| None | invalidate (self) |
| Invalidates the values of this node. | |
Public Member Functions inherited from Node | |
| cvb.EventCookie | register_event_updated (self, Callable[[cvb.Node], None] handler) |
| Register a listener to node updated event. | |
| None | unregister_event_updated (self, cvb.EventCookie event_cookie) |
| Manually unregister a listener to the node updated event. | |
Properties | |
| is_streamable = property | |
| bool: Returns whether this node should be used when saving camera settings. | |
| polling_time = property | |
| int: Gets the polling time of this value in milliseconds. | |
| verify_mode = property | |
| int: Returns how the values in this node are verified. | |
Properties inherited from Node | |
| access_mode = property | |
| int: Gets the access mode of this node (see cvb.AccessMode). | |
| alias_node = property | |
| Union[cvb.BooleanNode, cvb.CategoryNode, cvb.CommandNode, cvb.EnumEntryNode, cvb.EnumerationNode, cvb.FloatNode, cvb.FloatRegNode, cvb.IntRegNode, cvb.IntegerNode, cvb.Node, cvb.PortNode, cvb.RegisterNode, cvb.SelectorNode, cvb.StringNode, cvb.StringRegNode, cvb.ValueNode]: Gets the node, that is an alias value for this node. | |
| cache_mode = property | |
| int: Gets the cache mode of this node (see cvb.CacheMode). | |
| description = property | |
| str: Gets the long descriptive text of this node. | |
| display_name = property | |
| str: Gets the display name of this node. | |
| event_id = property | |
| str: Nodes with an event identifier may become invalidated, if an event / message is delivered from the device. | |
| is_available = property | |
| bool: Helper to check whether this node is available. | |
| is_deprecated = property | |
| bool: Gets whether this node is considered deprecated. | |
| is_feature = property | |
| bool: Returns whether this node is considered a feature node. | |
| is_implemented = property | |
| bool: Helper to check whether this node is implemented. | |
| is_readable = property | |
| bool: Helper to check whether this node is readable. | |
| is_writeable = property | |
| bool: Helper to check whether this node is writable. | |
| name = property | |
| str: Gets the full name of this node. | |
| tool_tip = property | |
| str: Gets the short descriptive text of this node. | |
| visibility = property | |
| int: Gets the complexity level of this node. | |
Base class for all nodes, that have a value.
| None from_string | ( | self, | |
| str | value ) |
Sets the value of this node from the string value.
value : str New value as a string.
| None invalidate | ( | self | ) |
Invalidates the values of this node.
Invalidate deletes all caches for all nodes on which this node depends (value, min, max, increment, ...).
|
static |
int: Gets the polling time of this value in milliseconds.
If this node is not intended to be polled, a zero time span is returned.