Go to:
Attributes.
The threadedDevice node is an abstract node that other nodes inherit from.
In this node, there is a separate thread that is started when the node is
created. This thread is used for acquiring data from a device. This
secondary thread will push data into the node using mutex locking. When the
data has been acquired, the thread will mark the output attribute as dirty so
that compute in the main thread will be called. The compute method will
acquire the data and set the attribute accordingly. This allows the threaded node
to drive a plug such as translate continuously without being in playback mode.
This node is abstract
Node name | Parents | MFn type | Compatible function sets |
---|
threadedDevice | node | kThreadedDevice | kBase kNamedObject kDependencyNode kThreadedDevice |
Attributes (3)
frameRate, live, output
Long name (short name) | Type | Default | Flags |
---|
|
live
(lv )
| bool | false | |
|
|
frameRate
(fr )
| double | 15.0 | |
|
|
output
(o )
| Generic | n/a | |
|