µ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 74 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 65 of file file-descriptors-manager.cpp.

◆ ~file_descriptors_manager()

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

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

Member Function Documentation

◆ allocate()

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

Definition at line 114 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 147 of file file-descriptors-manager.cpp.

◆ deallocate()

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

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

◆ io()

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

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

◆ size()

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

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

◆ socket()

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

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

◆ used()

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

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

◆ valid()

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

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


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