#include <darwinfirewiredevice.h>

Definition at line 9 of file darwinfirewiredevice.h.
Public Member Functions | |
| DarwinFirewireDevice (uint64_t guid, uint subunitid, uint speed) | |
| ~DarwinFirewireDevice () | |
| virtual bool | OpenPort (void) |
| virtual bool | ClosePort (void) |
| virtual bool | ResetBus (void) |
| void | HandleDeviceChange (uint messageType) |
| virtual void | AddListener (TSDataListener *) |
| virtual void | RemoveListener (TSDataListener *) |
| virtual bool | IsPortOpen (void) const |
Static Public Member Functions | |
| static vector< AVCInfo > | GetSTBList (void) |
Private Member Functions | |
| void | StartController (void) |
| void | StopController (void) |
| bool | OpenAVStream (void) |
| bool | CloseAVStream (void) |
| bool | IsAVStreamOpen (void) const |
| bool | StartStreaming (void) |
| bool | StopStreaming (void) |
| virtual bool | SendAVCCommand (const vector< uint8_t > &cmd, vector< uint8_t > &result, int) |
| void | HandleBusReset (void) |
| bool | UpdatePlugRegisterPrivate (uint plug_number, int fw_chan, int new_speed, bool add_plug, bool remove_plug) |
| bool | UpdatePlugRegister (uint plug_number, int fw_chan, int speed, bool add_plug, bool remove_plug, uint retry_cnt=4) |
| void | RunController (void) |
| void | BroadcastToListeners (const unsigned char *data, uint dataSize) |
| void | UpdateDeviceListItem (uint64_t guid, void *item) |
| void | ProcessNoDataMessage (void) |
| void | ProcessStreamingMessage (uint32_t msg, uint32_t param1, uint32_t param2) |
| DarwinAVCInfo * | GetInfoPtr (void) |
| const DarwinAVCInfo * | GetInfoPtr (void) const |
| int | GetMaxSpeed (void) |
| bool | IsSTBStreaming (uint *fw_channel=NULL) |
| vector< AVCInfo > | GetSTBListPrivate (void) |
Private Attributes | |
| int | m_local_node |
| int | m_remote_node |
| DFDPriv * | m_priv |
Friends | |
| void * | dfd_controller_thunk (void *param) |
| void | dfd_update_device_list_item (DarwinFirewireDevice *dev, uint64_t guid, void *item) |
| int | dfd_no_data_notification (void *cb_data) |
| void | dfd_stream_msg (long unsigned int msg, long unsigned int param1, long unsigned int param2, void *callback_data) |
| int | dfd_tspacket_handler (uint tsPacketCount, uint32_t **ppBuf, void *callback_data) |
Definition at line 114 of file darwinfirewiredevice.cpp.
| DarwinFirewireDevice::~DarwinFirewireDevice | ( | ) |
Definition at line 123 of file darwinfirewiredevice.cpp.
| bool DarwinFirewireDevice::OpenPort | ( | void | ) | [virtual] |
| bool DarwinFirewireDevice::ClosePort | ( | void | ) | [virtual] |
Implements FirewireDevice.
Definition at line 294 of file darwinfirewiredevice.cpp.
Referenced by ~DarwinFirewireDevice().
| bool DarwinFirewireDevice::ResetBus | ( | void | ) | [virtual] |
Reimplemented from FirewireDevice.
Definition at line 433 of file darwinfirewiredevice.cpp.
Referenced by ProcessNoDataMessage().
| void DarwinFirewireDevice::HandleDeviceChange | ( | uint | messageType | ) |
| void DarwinFirewireDevice::AddListener | ( | TSDataListener * | listener | ) | [virtual] |
| void DarwinFirewireDevice::RemoveListener | ( | TSDataListener * | listener | ) | [virtual] |
| bool DarwinFirewireDevice::IsPortOpen | ( | void | ) | const [virtual] |
Implements FirewireDevice.
Definition at line 503 of file darwinfirewiredevice.cpp.
Referenced by ClosePort(), OpenPort(), and ~DarwinFirewireDevice().
| vector< AVCInfo > DarwinFirewireDevice::GetSTBList | ( | void | ) | [static] |
Reimplemented from FirewireDevice.
Definition at line 602 of file darwinfirewiredevice.cpp.
Referenced by FirewireDevice::GetSTBList().
| void DarwinFirewireDevice::StartController | ( | void | ) | [private] |
Definition at line 175 of file darwinfirewiredevice.cpp.
Referenced by GetSTBList(), and OpenPort().
| void DarwinFirewireDevice::StopController | ( | void | ) | [private] |
Definition at line 191 of file darwinfirewiredevice.cpp.
Referenced by ClosePort(), GetSTBList(), and OpenPort().
| bool DarwinFirewireDevice::OpenAVStream | ( | void | ) | [private] |
| bool DarwinFirewireDevice::CloseAVStream | ( | void | ) | [private] |
| bool DarwinFirewireDevice::IsAVStreamOpen | ( | void | ) | const [private] |
Definition at line 428 of file darwinfirewiredevice.cpp.
Referenced by OpenAVStream(), and StartStreaming().
| bool DarwinFirewireDevice::StartStreaming | ( | void | ) | [private] |
| bool DarwinFirewireDevice::StopStreaming | ( | void | ) | [private] |
Definition at line 476 of file darwinfirewiredevice.cpp.
Referenced by CloseAVStream(), and RemoveListener().
| bool DarwinFirewireDevice::SendAVCCommand | ( | const vector< uint8_t > & | cmd, | |
| vector< uint8_t > & | result, | |||
| int | retry_cnt | |||
| ) | [private, virtual] |
| void DarwinFirewireDevice::HandleBusReset | ( | void | ) | [private] |
| bool DarwinFirewireDevice::UpdatePlugRegister | ( | uint | plug_number, | |
| int | fw_chan, | |||
| int | speed, | |||
| bool | add_plug, | |||
| bool | remove_plug, | |||
| uint | retry_cnt = 4 | |||
| ) | [private] |
Definition at line 774 of file darwinfirewiredevice.cpp.
Referenced by HandleBusReset(), and ProcessStreamingMessage().
| void DarwinFirewireDevice::RunController | ( | void | ) | [private] |
Definition at line 139 of file darwinfirewiredevice.cpp.
| void DarwinFirewireDevice::BroadcastToListeners | ( | const unsigned char * | data, | |
| uint | dataSize | |||
| ) | [private, virtual] |
Reimplemented from FirewireDevice.
Definition at line 536 of file darwinfirewiredevice.cpp.
Referenced by dfd_tspacket_handler().
| void DarwinFirewireDevice::UpdateDeviceListItem | ( | uint64_t | guid, | |
| void * | item | |||
| ) | [private] |
Definition at line 645 of file darwinfirewiredevice.cpp.
Referenced by dfd_update_device_list_item().
| void DarwinFirewireDevice::ProcessNoDataMessage | ( | void | ) | [private] |
Definition at line 543 of file darwinfirewiredevice.cpp.
| DarwinAVCInfo * DarwinFirewireDevice::GetInfoPtr | ( | void | ) | [private] |
Definition at line 670 of file darwinfirewiredevice.cpp.
Referenced by ClosePort(), GetMaxSpeed(), HandleBusReset(), IsPortOpen(), IsSTBStreaming(), OpenAVStream(), OpenPort(), ResetBus(), SendAVCCommand(), UpdatePlugRegister(), and UpdatePlugRegisterPrivate().
| const DarwinAVCInfo * DarwinFirewireDevice::GetInfoPtr | ( | void | ) | const [private] |
Definition at line 676 of file darwinfirewiredevice.cpp.
| int DarwinFirewireDevice::GetMaxSpeed | ( | void | ) | [private] |
| vector< AVCInfo > DarwinFirewireDevice::GetSTBListPrivate | ( | void | ) | [private] |
| void* dfd_controller_thunk | ( | void * | param | ) | [friend] |
| void dfd_update_device_list_item | ( | DarwinFirewireDevice * | dev, | |
| uint64_t | guid, | |||
| void * | item | |||
| ) | [friend] |
| int dfd_no_data_notification | ( | void * | cb_data | ) | [friend] |
| void dfd_stream_msg | ( | long unsigned int | msg, | |
| long unsigned int | param1, | |||
| long unsigned int | param2, | |||
| void * | callback_data | |||
| ) | [friend] |
Definition at line 900 of file darwinfirewiredevice.cpp.
Referenced by dfd_tspacket_handler_thunk().
int DarwinFirewireDevice::m_local_node [private] |
Definition at line 81 of file darwinfirewiredevice.h.
Referenced by ClosePort(), GetMaxSpeed(), and OpenPort().
int DarwinFirewireDevice::m_remote_node [private] |
Definition at line 82 of file darwinfirewiredevice.h.
Referenced by ClosePort(), GetMaxSpeed(), IsSTBStreaming(), OpenPort(), and UpdatePlugRegisterPrivate().
DFDPriv* DarwinFirewireDevice::m_priv [private] |
Definition at line 83 of file darwinfirewiredevice.h.
Referenced by CloseAVStream(), GetInfoPtr(), GetSTBListPrivate(), HandleBusReset(), IsAVStreamOpen(), OpenAVStream(), OpenPort(), ProcessNoDataMessage(), RemoveListener(), RunController(), StartController(), StartStreaming(), StopController(), StopStreaming(), UpdateDeviceListItem(), UpdatePlugRegister(), and ~DarwinFirewireDevice().
1.5.5