Public Member Functions | Public Attributes | Private Attributes
mavros.ftp.FTPFile Class Reference

List of all members.

Public Member Functions

def __del__
def __enter__
def __exit__
def __init__
def close
def closed
def open
def read
def seek
def tell
def truncate
def write

Public Attributes

 mode
 name
 offset
 size

Private Attributes

 _read
 _write

Detailed Description

FCU file object.
Note that current PX4 firmware only support two connections simultaneously.

Definition at line 42 of file ftp.py.


Constructor & Destructor Documentation

def mavros.ftp.FTPFile.__init__ (   self,
  name,
  mode 
)

Definition at line 48 of file ftp.py.

Definition at line 53 of file ftp.py.


Member Function Documentation

Definition at line 149 of file ftp.py.

def mavros.ftp.FTPFile.__exit__ (   self,
  exc_type,
  exc_value,
  traceback 
)

Definition at line 152 of file ftp.py.

def mavros.ftp.FTPFile.close (   self)

Definition at line 88 of file ftp.py.

def mavros.ftp.FTPFile.closed (   self)

Definition at line 146 of file ftp.py.

def mavros.ftp.FTPFile.open (   self,
  path,
  mode 
)
Supported modes:
    - 'w': write binary
    - 'r': read binary
    - 'cw': create excl & write

Definition at line 56 of file ftp.py.

def mavros.ftp.FTPFile.read (   self,
  size = 1 
)

Definition at line 101 of file ftp.py.

def mavros.ftp.FTPFile.seek (   self,
  offset,
  whence = os.SEEK_SET 
)

Definition at line 126 of file ftp.py.

def mavros.ftp.FTPFile.tell (   self)

Definition at line 123 of file ftp.py.

def mavros.ftp.FTPFile.truncate (   self,
  size = 0 
)

Definition at line 136 of file ftp.py.

def mavros.ftp.FTPFile.write (   self,
  bin_data 
)

Definition at line 111 of file ftp.py.


Member Data Documentation

Definition at line 61 of file ftp.py.

Definition at line 61 of file ftp.py.

Definition at line 48 of file ftp.py.

Definition at line 48 of file ftp.py.

Definition at line 61 of file ftp.py.

Definition at line 61 of file ftp.py.


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


mavros
Author(s): Vladimir Ermakov
autogenerated on Thu Feb 9 2017 04:00:18