6 #ifndef FLEXIV_RDK_FILE_IO_HPP_ 
    7 #define FLEXIV_RDK_FILE_IO_HPP_ 
   56     void UploadTrajFile(
const std::string& file_dir, 
const std::string& file_name);
 
  116     std::unique_ptr<Impl> pimpl_;
 
Interface to exchange files with the robot. Only certain types of file can be transferred.
 
std::string DownloadTrajFile(const std::string &file_name)
[Blocking] Download a trajectory file (.traj) from the robot.
 
std::vector< std::string > projects_list() const
[Blocking] A list of all user projects currently stored in the connected robot.
 
void DownloadProject(const std::string &project_name, const std::string &save_dir)
[Blocking] Download a project from the robot and save to the specified directory.
 
void UploadTrajFile(const std::string &file_dir, const std::string &file_name)
[Blocking] Upload a local trajectory file (.traj) to the robot.
 
std::vector< std::string > traj_files_list() const
[Blocking] A list of all trajectory files currently stored in the connected robot.
 
FileIO(const Robot &robot)
[Non-blocking] Instantiate the file exchange interface.
 
void UploadProject(const std::string &project_dir)
[Blocking] Upload a local project to the robot.
 
void DownloadTrajFile(const std::string &file_name, const std::string &save_dir)
[Blocking] Download a trajectory file (.traj) from the robot and save to the specified directory.
 
Main interface to control the robot, containing several function categories and background services.