F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
Os::FileSystemUserInterface Struct Reference

types and constants shared by users of Os::FileSystem and by its implementations More...

#include <Os/Interfaces/FileSystemUserInterface.hpp>

Inheritance diagram for Os::FileSystemUserInterface:
Os::FileSystemCommon< T > Os::FileSystemInterface Os::Posix::FileSystem::PosixFileSystem Os::Stub::FileSystem::StubFileSystem

Public Types

enum  Status {
  OP_OK, ALREADY_EXISTS, NO_SPACE, NO_PERMISSION,
  NOT_DIR, IS_DIR, NOT_EMPTY, INVALID_PATH,
  DOESNT_EXIST, FILE_LIMIT, BUSY, NO_MORE_FILES,
  BUFFER_TOO_SMALL, EXDEV_ERROR, OVERFLOW_ERROR, NOT_SUPPORTED,
  OTHER_ERROR
}
 
enum  PathType { FILE, DIRECTORY, OTHER, NOT_EXIST }
 

Static Public Attributes

static constexpr FwSizeType FILE_SYSTEM_FILE_CHUNK_SIZE = FW_FILE_CHUNK_SIZE
 Size of file system chunk. More...
 

Detailed Description

types and constants shared by users of Os::FileSystem and by its implementations

Definition at line 20 of file FileSystemUserInterface.hpp.

Member Enumeration Documentation

◆ PathType

Enumerator
FILE 

Path is a file.

DIRECTORY 

Path is a directory.

OTHER 

Path is not a file or directory, e.g. a socket.

NOT_EXIST 

Path does not exist.

Definition at line 44 of file FileSystemUserInterface.hpp.

◆ Status

Enumerator
OP_OK 

Operation was successful.

ALREADY_EXISTS 

File already exists.

NO_SPACE 

No space left.

NO_PERMISSION 

No permission to write.

NOT_DIR 

Path is not a directory.

IS_DIR 

Path is a directory.

NOT_EMPTY 

directory is not empty

INVALID_PATH 

Path is too long, too many sym links, etc.

DOESNT_EXIST 

Path doesn't exist.

FILE_LIMIT 

Too many files or links.

BUSY 

Operand is in use by the system or by a process.

NO_MORE_FILES 

Directory stream has no more files.

BUFFER_TOO_SMALL 

Buffer size is too small to hold full path (for getWorkingDirectory)

EXDEV_ERROR 
OVERFLOW_ERROR 
NOT_SUPPORTED 

Operation is not supported by the current implementation.

OTHER_ERROR 

other OS-specific error

Definition at line 24 of file FileSystemUserInterface.hpp.

Member Data Documentation

◆ FILE_SYSTEM_FILE_CHUNK_SIZE

constexpr FwSizeType Os::FileSystemUserInterface::FILE_SYSTEM_FILE_CHUNK_SIZE = FW_FILE_CHUNK_SIZE
static

Size of file system chunk.

Definition at line 22 of file FileSystemUserInterface.hpp.


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