| Top |
| void | hinawa_fw_unit_open () |
| const guint32 * | hinawa_fw_unit_get_config_rom () |
| void | hinawa_fw_unit_listen () |
| void | hinawa_fw_unit_unlisten () |
| gulong | bus-manager-node-id | Read |
| gulong | generation | Read |
| gulong | ir-manager-node-id | Read |
| gboolean | listening | Read |
| gulong | local-node-id | Read |
| gulong | node-id | Read |
| gulong | root-node-id | Read |
A HinawaFwUnit is an event listener for a certain FireWire unit. This class is an application of Linux FireWire subsystem. All of operations utilize ioctl(2) with subsystem specific request commands.
void hinawa_fw_unit_open (HinawaFwUnit *self,gchar *path,GError **exception);
const guint32 * hinawa_fw_unit_get_config_rom (HinawaFwUnit *self,guint *quads);
void hinawa_fw_unit_listen (HinawaFwUnit *self,GError **exception);
Start to listen to any events from the unit.
void
hinawa_fw_unit_unlisten (HinawaFwUnit *self);
Stop to listen to any events from the unit.
“bus-manager-node-id” property“bus-manager-node-id” gulong
Node-ID for bus manager on the bus at this generation.
Flags: Read
“ir-manager-node-id” property“ir-manager-node-id” gulong
Node-ID for isochronous resource manager on the bus at this generation.
Flags: Read
“listening” property“listening” gboolean
Whether this device is under listening.
Flags: Read
Default value: FALSE
“local-node-id” property“local-node-id” gulong
Node-ID for a unit which this unit use to communicate to the other units on the bus at this generation.
Flags: Read
“root-node-id” property“root-node-id” gulong
Node-ID for root of bus topology at this generation.
Flags: Read
“bus-update” signalvoid user_function (HinawaFwUnit *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
“disconnected” signalvoid user_function (HinawaFwUnit *self, gpointer user_data)
When phicical FireWire devices are disconnected from IEEE 1394 bus, the HinawaFwUnit becomes unlostening and emits this signal.
Flags: Run Last