µOS++ IIIe Reference 7.0.0
The third edition of µOS++, a POSIX inspired open source framework, written in C++
Loading...
Searching...
No Matches
os::posix::file_descriptors_manager Class Reference

File descriptors manager static class. More...

#include <cmsis-plus/posix-io/file-descriptors-manager.h>

Public Member Functions

Constructors & Destructor
 file_descriptors_manager (std::size_t size)
 
 ~file_descriptors_manager ()
 

Static Public Member Functions

Public Static Member Functions
static size_t size (void)
 
static bool valid (int fildes)
 
static class ioio (int fildes)
 
static class socketsocket (int fildes)
 
static int allocate (class io *io)
 
static int assign (file_descriptor_t fildes, class io *io)
 
static int deallocate (file_descriptor_t fildes)
 
static size_t used (void)
 

Detailed Description

File descriptors manager static class.

Definition at line 58 of file file-descriptors-manager.h.

Constructor & Destructor Documentation

◆ file_descriptors_manager()

os::posix::file_descriptors_manager::file_descriptors_manager ( std::size_t  size)

Definition at line 54 of file file-descriptors-manager.cpp.

◆ ~file_descriptors_manager()

os::posix::file_descriptors_manager::~file_descriptors_manager ( )

Definition at line 70 of file file-descriptors-manager.cpp.

Member Function Documentation

◆ allocate()

int os::posix::file_descriptors_manager::allocate ( class io io)
static

Definition at line 103 of file file-descriptors-manager.cpp.

◆ assign()

int os::posix::file_descriptors_manager::assign ( file_descriptor_t  fildes,
class io io 
)
static

Definition at line 136 of file file-descriptors-manager.cpp.

◆ deallocate()

int os::posix::file_descriptors_manager::deallocate ( file_descriptor_t  fildes)
static

Definition at line 157 of file file-descriptors-manager.cpp.

◆ io()

io * os::posix::file_descriptors_manager::io ( int  fildes)
static

Definition at line 81 of file file-descriptors-manager.cpp.

◆ size()

size_t os::posix::file_descriptors_manager::size ( void  )
inlinestatic

Definition at line 169 of file file-descriptors-manager.h.

◆ socket()

socket * os::posix::file_descriptors_manager::socket ( int  fildes)
static

Definition at line 175 of file file-descriptors-manager.cpp.

◆ used()

size_t os::posix::file_descriptors_manager::used ( void  )
static

Definition at line 187 of file file-descriptors-manager.cpp.

◆ valid()

bool os::posix::file_descriptors_manager::valid ( int  fildes)
static

Definition at line 93 of file file-descriptors-manager.cpp.


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