PySpin.Node¶
- class Node(*args, **kwargs)¶
class common to all nodes
- DeregisterCallback(self, hCallback) bool¶
Parameters¶
hCallback: Spinnaker::GenApi::CallbackHandleType
De register change callback Destroys CNodeCallback object true if the callback handle was valid
- GetAccessMode(self) Spinnaker::GenApi::EAccessMode¶
Base interface overrides.
Get the access mode of the node
- GetCachingMode(self) Spinnaker::GenApi::ECachingMode¶
Get Caching Mode
- GetCastAlias(self) INode¶
Retrieves the a node which describes the same feature so that it can be casted
- GetChildren(self, LinkType=ctReadingChildren)¶
Parameters¶
LinkType: enum Spinnaker::GenApi::ELinkType
Get all nodes this node directly depends on.
- param Children:
List of children nodes
- param LinkType:
The link type
- GetLockNodes(self)¶
Gets all nodes which can directly lock this node.
- Parameters:
LockNodes – List of lock nodes.
- GetNameSpace(self) Spinnaker::GenApi::ENameSpace¶
Get name space
- GetNodeHandle(self) std::shared_ptr< Spinnaker::GenApi::Node::NodeImpl >¶
Get Node handle
- GetParents(self)¶
Gets all nodes this node is directly depending on.
- Parameters:
Parents – List of parent nodes
- GetPollingTime(self) int64_t¶
recommended polling time (for not cacheable nodes)
- GetPrincipalInterfaceType(self) Spinnaker::GenApi::EInterfaceType¶
Get the type of the main interface of a node
- GetProperty(self, PropertyName, ValueStr, AttributeStr) bool¶
Parameters¶
PropertyName: Spinnaker::GenICam::gcstring const & ValueStr: Spinnaker::GenICam::gcstring & AttributeStr: Spinnaker::GenICam::gcstring &
Retrieves a property plus an additional attribute by name If a property has multiple values/attribute they come with Tabs as delimiters
- GetPropertyNames(self)¶
Returns a list of the names all properties set during initialization
- GetSelectedFeatures(self)¶
retrieve the group of selected features
- GetSelectingFeatures(self)¶
retrieve the group of features selecting this node
- GetVisibility(self) Spinnaker::GenApi::EVisibility¶
Get the recommended visibility of the node
- ImposeAccessMode(self, ImposedAccessMode)¶
Parameters¶
ImposedAccessMode: enum Spinnaker::GenApi::EAccessMode
Imposes an access mode to the natural access mode of the node
- ImposeVisibility(self, ImposedVisibility)¶
Parameters¶
ImposedVisibility: enum Spinnaker::GenApi::EVisibility
Imposes a visibility to the natural visibility of the node
- InvalidateNode(self)¶
Indicates that the node’s value may have changed. Fires the callback on this and all dependent nodes
- IsAccessModeCacheable(self) Spinnaker::GenApi::EYesNo¶
True if the AccessMode can be cached
- IsFeature(self) bool¶
True if the node can be reached via category nodes from a category node named “Root”
- IsSelector(self) bool¶
Selector interface overrides.
true if this feature selects a group of features
- RegisterCallback(self, pCallback) Spinnaker::GenApi::CallbackHandleType¶
Parameters¶
pCallback: Spinnaker::GenApi::CNodeCallback *
Register change callback Takes ownership of the CNodeCallback object