| Top |
| HinawaFwNode * | hinawa_fw_node_new () |
| void | hinawa_fw_node_open () |
| void | hinawa_fw_node_get_config_rom () |
| void | hinawa_fw_node_create_source () |
| gulong | bus-manager-node-id | Read |
| gulong | generation | Read |
| gulong | ir-manager-node-id | Read |
| gulong | local-node-id | Read |
| gulong | node-id | Read |
| gulong | root-node-id | Read |
A HinawaFwNode is an event listener for a specified node on IEEE 1394 bus. This class is an application of Linux FireWire subsystem. All of operations utilize ioctl(2) with subsystem specific request commands.
HinawaFwNode *
hinawa_fw_node_new (void);
Instantiate HinawaFwNode object and return the instance.
Since: 1.4.
void hinawa_fw_node_open (HinawaFwNode *self,const gchar *path,GError **exception);
Open Linux FireWire character device to operate node on IEEE 1394 bus.
Since: 1.4.
void hinawa_fw_node_get_config_rom (HinawaFwNode *self,const guint8 **image,guint *length,GError **exception);
Get cached content of configuration ROM.
self |
||
image |
The content of configuration ROM. |
[array length=length][out][transfer none] |
length |
The number of bytes consists of the configuration rom. |
[out] |
exception |
A GError. |
Since: 1.4.
void hinawa_fw_node_create_source (HinawaFwNode *self,GSource **gsrc,GError **exception);
Create Gsource for GMainContext to dispatch events for the node on IEEE 1394 bus.
Since: 1.4.
“bus-manager-node-id” property “bus-manager-node-id” gulong
Node-ID for bus manager on the bus at this generation.
Owner: HinawaFwNode
Flags: Read
“generation” property “generation” gulong
current level of generation on this bus.
Owner: HinawaFwNode
Flags: Read
“ir-manager-node-id” property “ir-manager-node-id” gulong
Node-ID for isochronous resource manager on the bus at this generation.
Owner: HinawaFwNode
Flags: Read
“local-node-id” property “local-node-id” gulong
Node-ID for a node which this node use to communicate to the other nodes on the bus at this generation.
Owner: HinawaFwNode
Flags: Read
“node-id” property “node-id” gulong
Node-ID of this node at this generation.
Owner: HinawaFwNode
Flags: Read
“bus-update” signalvoid user_function (HinawaFwNode *self, gpointer user_data)
When IEEE 1394 bus is updated, the ::bus-update signal is generated. Handlers can read current generation in the bus via 'generation' property.
Flags: Run Last
Since: 1.4.
“disconnected” signalvoid user_function (HinawaFwNode *self, gpointer user_data)
When phicical FireWire devices are disconnected from IEEE 1394 bus, the ::disconnected signal is generated.
Flags: Run Last
Since: 1.4.