MythTV  master
Public Member Functions | Public Attributes | List of all members
LinuxAVCInfo Class Reference

#include <linuxavcinfo.h>

Inheritance diagram for LinuxAVCInfo:
Inheritance graph
Collaboration diagram for LinuxAVCInfo:
Collaboration graph

Public Member Functions

 LinuxAVCInfo ()=default
bool Update (uint64_t _guid, raw1394handle_t handle, uint _port, uint _node)
bool OpenPort (void)
bool ClosePort (void)
bool SendAVCCommand (const std::vector< uint8_t > &cmd, std::vector< uint8_t > &result, int retry_cnt) override
bool IsPortOpen (void) const
int GetNode (void) const
 Returns remote node. More...
- Public Member Functions inherited from AVCInfo
 AVCInfo ()
 AVCInfo (const AVCInfo &o)=default
AVCInfooperator= (const AVCInfo &o)
virtual ~AVCInfo ()=default
bool GetSubunitInfo (void)
bool IsSubunitType (int subunit_type) const
QString GetSubunitInfoString (void) const
QString GetGUIDString (void) const

Public Attributes

raw1394handle_t m_fwHandle {nullptr}
- Public Attributes inherited from AVCInfo
int m_port {-1}
int m_node {-1}
uint64_t m_guid {0}
uint m_specid {0}
uint m_vendorid {0}
uint m_modelid {0}
uint m_firmware_revision {0}
QString m_product_name
std::array< uint8_t, 32 > m_unit_table {}

Detailed Description

Definition at line 22 of file linuxavcinfo.h.

Constructor & Destructor Documentation

◆ LinuxAVCInfo()

LinuxAVCInfo::LinuxAVCInfo ( )

Member Function Documentation

◆ Update()

bool LinuxAVCInfo::Update ( uint64_t  _guid,
raw1394handle_t  handle,
uint  _port,
uint  _node 

Definition at line 8 of file linuxavcinfo.cpp.

◆ OpenPort()

bool LinuxAVCInfo::OpenPort ( void  )

Definition at line 37 of file linuxavcinfo.cpp.

◆ ClosePort()

bool LinuxAVCInfo::ClosePort ( void  )

Definition at line 54 of file linuxavcinfo.cpp.

◆ SendAVCCommand()

bool LinuxAVCInfo::SendAVCCommand ( const std::vector< uint8_t > &  cmd,
std::vector< uint8_t > &  result,
int  retry_cnt 

Reimplemented from AVCInfo.

Definition at line 66 of file linuxavcinfo.cpp.

Referenced by LinuxFirewireDevice::SendAVCCommand().

◆ IsPortOpen()

bool LinuxAVCInfo::IsPortOpen ( void  ) const

Definition at line 38 of file linuxavcinfo.h.

Referenced by LinuxFirewireDevice::IsPortOpen().

◆ GetNode()

int LinuxAVCInfo::GetNode ( void  ) const

Member Data Documentation

◆ m_fwHandle

raw1394handle_t LinuxAVCInfo::m_fwHandle {nullptr}

Definition at line 44 of file linuxavcinfo.h.

Referenced by ClosePort(), IsPortOpen(), OpenPort(), and SendAVCCommand().

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