DarwinAVCInfo Class Reference

#include <darwinavcinfo.h>

Inheritance diagram for DarwinAVCInfo:

AVCInfo

List of all members.


Detailed Description

Definition at line 26 of file darwinavcinfo.h.


Public Member Functions

 DarwinAVCInfo ()
void Update (uint64_t _guid, DarwinFirewireDevice *dev, IONotificationPortRef notify_port, CFRunLoopRef &thread_cf_ref, io_object_t obj)
bool OpenPort (CFRunLoopRef &thread_cf_ref)
bool ClosePort (void)
bool OpenAVCInterface (CFRunLoopRef &thread_cf_ref)
void CloseAVCInterface (void)
bool OpenDeviceInterface (CFRunLoopRef &thread_cf_ref)
void CloseDeviceInterface (void)
virtual bool SendAVCCommand (const vector< uint8_t > &cmd, vector< uint8_t > &result, int retry_cnt)
bool GetDeviceNodes (int &local_node, int &remote_node)
bool IsAVCInterfaceOpen (void) const
bool IsPortOpen (void) const

Public Attributes

io_service_t fw_node_ref
io_service_t fw_device_ref
io_service_t fw_service_ref
io_service_t avc_service_ref
io_object_t fw_device_notifier_ref
IOFireWireAVCLibUnitInterface ** avc_handle
IOFireWireLibDeviceRef fw_handle

Constructor & Destructor Documentation

DarwinAVCInfo::DarwinAVCInfo (  )  [inline]

Definition at line 29 of file darwinavcinfo.h.


Member Function Documentation

void DarwinAVCInfo::Update ( uint64_t  _guid,
DarwinFirewireDevice dev,
IONotificationPortRef  notify_port,
CFRunLoopRef &  thread_cf_ref,
io_object_t  obj 
)

Definition at line 27 of file darwinavcinfo.cpp.

bool DarwinAVCInfo::OpenPort ( CFRunLoopRef &  thread_cf_ref  ) 

Definition at line 141 of file darwinavcinfo.cpp.

Referenced by DarwinFirewireDevice::OpenPort().

bool DarwinAVCInfo::ClosePort ( void   ) 

Definition at line 158 of file darwinavcinfo.cpp.

Referenced by DarwinFirewireDevice::ClosePort().

bool DarwinAVCInfo::OpenAVCInterface ( CFRunLoopRef &  thread_cf_ref  ) 

Definition at line 165 of file darwinavcinfo.cpp.

Referenced by OpenPort(), and Update().

void DarwinAVCInfo::CloseAVCInterface ( void   ) 

Definition at line 225 of file darwinavcinfo.cpp.

Referenced by ClosePort(), OpenPort(), and Update().

bool DarwinAVCInfo::OpenDeviceInterface ( CFRunLoopRef &  thread_cf_ref  ) 

Definition at line 237 of file darwinavcinfo.cpp.

Referenced by OpenPort().

void DarwinAVCInfo::CloseDeviceInterface ( void   ) 

Definition at line 287 of file darwinavcinfo.cpp.

Referenced by ClosePort().

bool DarwinAVCInfo::SendAVCCommand ( const vector< uint8_t > &  cmd,
vector< uint8_t > &  result,
int  retry_cnt 
) [virtual]

Reimplemented from AVCInfo.

Definition at line 115 of file darwinavcinfo.cpp.

Referenced by DarwinFirewireDevice::SendAVCCommand().

bool DarwinAVCInfo::GetDeviceNodes ( int &  local_node,
int &  remote_node 
)

Definition at line 299 of file darwinavcinfo.cpp.

bool DarwinAVCInfo::IsAVCInterfaceOpen ( void   )  const [inline]

Definition at line 55 of file darwinavcinfo.h.

Referenced by OpenAVCInterface(), and Update().

bool DarwinAVCInfo::IsPortOpen ( void   )  const [inline]

Definition at line 56 of file darwinavcinfo.h.

Referenced by DarwinFirewireDevice::IsPortOpen(), and OpenPort().


Member Data Documentation

Definition at line 59 of file darwinavcinfo.h.

Referenced by Update().

Definition at line 60 of file darwinavcinfo.h.

Referenced by OpenDeviceInterface(), and Update().

Definition at line 61 of file darwinavcinfo.h.

Referenced by Update().

Definition at line 62 of file darwinavcinfo.h.

Referenced by OpenAVCInterface(), and Update().

Definition at line 64 of file darwinavcinfo.h.

Referenced by Update().

IOFireWireAVCLibUnitInterface** DarwinAVCInfo::avc_handle

IOFireWireLibDeviceRef DarwinAVCInfo::fw_handle


The documentation for this class was generated from the following files:

Generated on Sat Dec 18 05:16:01 2010 for MythTV by  doxygen 1.5.5