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

#include <linuxavcinfo.h>

Inheritance diagram for LinuxAVCInfo:
Inheritance graph
[legend]
Collaboration diagram for LinuxAVCInfo:
Collaboration graph
[legend]

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 vector< uint8_t > &cmd, 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)
 
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
 
uint8_t m_unit_table [32] {}
 

Detailed Description

Definition at line 23 of file linuxavcinfo.h.

Constructor & Destructor Documentation

◆ LinuxAVCInfo()

LinuxAVCInfo::LinuxAVCInfo ( )
default

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 vector< uint8_t > &  cmd,
vector< uint8_t > &  result,
int  retry_cnt 
)
overridevirtual

Reimplemented from AVCInfo.

Definition at line 66 of file linuxavcinfo.cpp.

Referenced by LinuxFirewireDevice::SendAVCCommand().

◆ IsPortOpen()

bool LinuxAVCInfo::IsPortOpen ( void  ) const
inline

Definition at line 39 of file linuxavcinfo.h.

Referenced by LinuxFirewireDevice::IsPortOpen().

◆ GetNode()

int LinuxAVCInfo::GetNode ( void  ) const
inline

Member Data Documentation

◆ m_fwHandle

raw1394handle_t LinuxAVCInfo::m_fwHandle {nullptr}

Definition at line 45 of file linuxavcinfo.h.

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


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