MOS Source Code
Loading...
Searching...
No Matches
IpcClientIO Struct Reference
+ Inheritance diagram for IpcClientIO:
+ Collaboration diagram for IpcClientIO:

Public Member Functions

 IpcClientIO (IpcDescriptor *desc)
 
virtual ~IpcClientIO ()
 
size_t on_read (void *buf, size_t size)
 
size_t on_write (const void *buf, size_t size)
 
void on_closed ()
 
- Public Member Functions inherited from IpcConnectionIO
 IpcConnectionIO (IpcDescriptor *descriptor)
 
virtual ~IpcConnectionIO ()
 
- Public Member Functions inherited from IO
 IO (IOFlags flags, io_type_t type)
 
virtual ~IO ()=0
 
IOref ()
 
IOunref ()
 
virtual mos::string name () const
 
virtual off_t seek (off_t, io_seek_whence_t) final
 
virtual off_t tell () final
 
virtual size_t read (void *buf, size_t count) final
 
virtual size_t pread (void *buf, size_t count, off_t offset) final
 
virtual size_t write (const void *buf, size_t count) final
 
virtual bool VerifyMMapPermissions (VMFlags flags, bool is_private) final
 
bool map (vmap_t *vmap, off_t offset)
 
bool unmap (vmap_t *vmap, bool *unmapped)
 

Additional Inherited Members

- Static Public Member Functions inherited from IO
static bool IsValid (const IO *io)
 
- Public Attributes inherited from IO
const IOFlags io_flags = IO_NONE
 
const io_type_t io_type = IO_NULL
 
- Static Public Attributes inherited from NamedType<"IPC.ClientIO">
static constexpr mos::string_view type_name
 
- Protected Attributes inherited from IpcConnectionIO
IpcDescriptor *const descriptor
 

Detailed Description

Definition at line 55 of file ipc_io.cpp.

Constructor & Destructor Documentation

◆ IpcClientIO()

IpcClientIO ( IpcDescriptor * desc)
inline

Definition at line 57 of file ipc_io.cpp.

+ Here is the call graph for this function:

◆ ~IpcClientIO()

virtual ~IpcClientIO ( )
inlinevirtual

Definition at line 58 of file ipc_io.cpp.

Member Function Documentation

◆ on_read()

size_t on_read ( void * buf,
size_t size )
inlinevirtual

Reimplemented from IO.

Definition at line 60 of file ipc_io.cpp.

+ Here is the call graph for this function:

◆ on_write()

size_t on_write ( const void * buf,
size_t size )
inlinevirtual

Reimplemented from IO.

Definition at line 64 of file ipc_io.cpp.

+ Here is the call graph for this function:

◆ on_closed()

void on_closed ( )
inlinevirtual

Implements IO.

Definition at line 68 of file ipc_io.cpp.

+ Here is the call graph for this function:

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