Apache Mesos
Public Member Functions | List of all members
process::FileEncoder Class Reference

#include <encoder.hpp>

Inheritance diagram for process::FileEncoder:
process::Encoder

Public Member Functions

 FileEncoder (int_fd _fd, size_t _size)
 
virtual ~FileEncoder ()
 
virtual Kind kind () const
 
virtual int_fd next (off_t *offset, size_t *length)
 
virtual void backup (size_t length)
 
virtual size_t remaining () const
 
- Public Member Functions inherited from process::Encoder
 Encoder ()=default
 
virtual ~Encoder ()
 

Additional Inherited Members

- Public Types inherited from process::Encoder
enum  Kind { DATA, FILE }
 

Constructor & Destructor Documentation

process::FileEncoder::FileEncoder ( int_fd  _fd,
size_t  _size 
)
inline
virtual process::FileEncoder::~FileEncoder ( )
inlinevirtual

Member Function Documentation

virtual void process::FileEncoder::backup ( size_t  length)
inlinevirtual

Implements process::Encoder.

virtual Kind process::FileEncoder::kind ( ) const
inlinevirtual

Implements process::Encoder.

virtual int_fd process::FileEncoder::next ( off_t *  offset,
size_t *  length 
)
inlinevirtual
virtual size_t process::FileEncoder::remaining ( ) const
inlinevirtual

Implements process::Encoder.


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