DebugServer2
Loading...
Searching...
No Matches
ds2::GDBRemote::FileOperationsMixin< T > Class Template Reference
Inheritance diagram for ds2::GDBRemote::FileOperationsMixin< T >:
Collaboration diagram for ds2::GDBRemote::FileOperationsMixin< T >:

Public Member Functions

template<typename... Args>
 FileOperationsMixin (Args &&... args)
 

Protected Member Functions

ErrorCode onFileOpen (Session &session, std::string const &path, OpenFlags flags, uint32_t mode, int &fd) override
 
ErrorCode onFileClose (Session &session, int fd) override
 
ErrorCode onFileRead (Session &session, int fd, uint64_t &count, uint64_t offset, ByteVector &buffer) override
 
ErrorCode onFileWrite (Session &session, int fd, uint64_t offset, const ByteVector &buffer, uint64_t &nwritten) override
 
ErrorCode onFileCreateDirectory (Session &session, std::string const &path, uint32_t mode) override
 
ErrorCode onFileExists (Session &session, std::string const &path) override
 
ErrorCode onFileGetSize (Session &session, std::string const &path, uint64_t &size) override
 
ErrorCode onFileGetMode (Session &session, std::string const &path, uint32_t &mode) const override
 
ErrorCode onFileFstat (Session &session, int fd, ByteVector &buffer) const override
 
ErrorCode onFileRemove (Session &session, std::string const &path) override
 
ErrorCode onFileSetPermissions (Session &session, std::string const &path, uint32_t mode) override
 
ErrorCode onQueryModuleInfo (Session &session, std::string &path, std::string &triple, ModuleInfo &info) const override
 

Protected Attributes

std::unordered_map< int, Host::File_openFiles
 

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