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)
 
 ~FileEncoder () override
 
Kind kind () const override
 
virtual int_fd next (off_t *offset, size_t *length)
 
void backup (size_t length) override
 
size_t remaining () const override
 
- 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
process::FileEncoder::~FileEncoder ( )
inlineoverride

Member Function Documentation

void process::FileEncoder::backup ( size_t  length)
inlineoverridevirtual

Implements process::Encoder.

Kind process::FileEncoder::kind ( ) const
inlineoverridevirtual

Implements process::Encoder.

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

Implements process::Encoder.


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