GDB (xrefs)
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
scoped_remote_fd Class Reference

Public Member Functions

 scoped_remote_fd (remote_target *remote, int fd)
 
 ~scoped_remote_fd ()
 
 DISABLE_COPY_AND_ASSIGN (scoped_remote_fd)
 
ATTRIBUTE_UNUSED_RESULT int release () noexcept
 
int get () const noexcept
 

Private Attributes

remote_targetm_remote
 
int m_fd
 

Detailed Description

Definition at line 12850 of file remote.c.

Constructor & Destructor Documentation

◆ scoped_remote_fd()

scoped_remote_fd::scoped_remote_fd ( remote_target * remote,
int fd )
inline

Definition at line 12853 of file remote.c.

References m_fd, m_remote, and scoped_remote_fd().

Referenced by scoped_remote_fd().

◆ ~scoped_remote_fd()

scoped_remote_fd::~scoped_remote_fd ( )
inline

Definition at line 12858 of file remote.c.

Member Function Documentation

◆ DISABLE_COPY_AND_ASSIGN()

scoped_remote_fd::DISABLE_COPY_AND_ASSIGN ( scoped_remote_fd )

◆ get()

int scoped_remote_fd::get ( ) const
inlinenoexcept

Definition at line 12887 of file remote.c.

References m_fd.

Referenced by remote_target::remote_file_get(), and remote_target::remote_file_put().

◆ release()

ATTRIBUTE_UNUSED_RESULT int scoped_remote_fd::release ( )
inlinenoexcept

Definition at line 12879 of file remote.c.

References m_fd.

Referenced by remote_target::remote_file_get(), and remote_target::remote_file_put().

Member Data Documentation

◆ m_fd

int scoped_remote_fd::m_fd
private

Definition at line 12897 of file remote.c.

Referenced by get(), release(), and scoped_remote_fd().

◆ m_remote

remote_target* scoped_remote_fd::m_remote
private

Definition at line 12894 of file remote.c.

Referenced by scoped_remote_fd().


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