Go to the documentation of this file. 1 #ifndef _DARWIN_AVC_INFO_H_
2 #define _DARWIN_AVC_INFO_H_
4 #ifdef USING_OSX_FIREWIRE
11 #include <IOKit/IOKitLib.h>
12 #include <IOKit/firewire/IOFireWireLib.h>
13 #include <IOKit/firewire/IOFireWireLibIsoch.h>
14 #include <IOKit/firewire/IOFireWireFamilyCommon.h>
15 #include <IOKit/avc/IOFireWireAVCLib.h>
31 IONotificationPortRef notify_port,
32 CFRunLoopRef &thread_cf_ref, io_object_t obj);
34 bool OpenPort(CFRunLoopRef &thread_cf_ref);
44 const std::vector<uint8_t> &cmd,
45 std::vector<uint8_t> &result,
46 int retry_cnt)
override;
66 #endif // USING_OSX_FIREWIRE
68 #endif // _DARWIN_AVC_INFO_H_
bool OpenDeviceInterface(CFRunLoopRef &thread_cf_ref)
bool IsPortOpen(void) const
io_service_t fw_device_ref
io_object_t fw_device_notifier_ref
bool GetDeviceNodes(int &local_node, int &remote_node)
bool IsAVCInterfaceOpen(void) const
bool OpenPort(CFRunLoopRef &thread_cf_ref)
io_service_t avc_service_ref
QMap< uint64_t, DarwinAVCInfo * > avcinfo_list_t
io_service_t fw_service_ref
void Update(uint64_t _guid, DarwinFirewireDevice *dev, IONotificationPortRef notify_port, CFRunLoopRef &thread_cf_ref, io_object_t obj)
void CloseAVCInterface(void)
void CloseDeviceInterface(void)
bool OpenAVCInterface(CFRunLoopRef &thread_cf_ref)
bool SendAVCCommand(const std::vector< uint8_t > &cmd, std::vector< uint8_t > &result, int retry_cnt) override
IOFireWireLibDeviceRef fw_handle
IOFireWireAVCLibUnitInterface ** avc_handle