Skip to content

Class Uploader

ClassList > Uploader

Public Types

Type Name
enum uint8_t Command
enum uint8_t Error

Public Functions

Type Name
Uploader (std::unique_ptr< BufferedInputPacketCommunicator > input, std::unique_ptr< OutputPacketCommunicator > output)
Uploader (const Uploader &) = delete
Uploader (Uploader &&) = delete
Uploader & operator= (const Uploader &) = delete
Uploader & operator= (Uploader &&) = delete

Public Types Documentation

enum Command

enum Uploader::Command {
    READ_FILE = 0x01,
    WRITE_FILE = 0x02,
    DELETE_FILE = 0x03,
    LIST_DIR = 0x04,
    CREATE_DIR = 0x05,
    DELETE_DIR = 0x06,
    HAS_MORE_DATA = 0x10,
    LAST_DATA = 0x11,
    OK = 0x20,
    ERROR = 0x21,
    NOT_FOUND = 0x22,
    CONTINUE = 0x23
};

enum Error

enum Uploader::Error {
    UNKNOWN_COMMAND = 0x01,
    FILE_OPEN_FAILED = 0x02,
    FILE_DELETE_FAILED = 0x03,
    DIR_OPEN_FAILED = 0x04,
    DIR_CREATE_FAILED = 0x05,
    DIR_DELETE_FAILED = 0x06,
    INVALID_FILENAME = 0x07
};

Public Functions Documentation

function Uploader [1/3]

inline Uploader::Uploader (
    std::unique_ptr< BufferedInputPacketCommunicator > input,
    std::unique_ptr< OutputPacketCommunicator > output
) 

function Uploader [2/3]

Uploader::Uploader (
    const Uploader &
) = delete

function Uploader [3/3]

Uploader::Uploader (
    Uploader &&
) = delete

function operator=

Uploader & Uploader::operator= (
    const Uploader &
) = delete

function operator=

Uploader & Uploader::operator= (
    Uploader &&
) = delete

The documentation for this class was generated from the following file demo-projets/jaculus/main/util/uploader.h