![]() |
UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
|


Go to the source code of this file.
Classes | |
| struct | Ipc_frame_reader_deleter |
| struct | Ipc_frame_writer_deleter |
Typedefs | |
| using | Ipc_frame_reader_uniq = std::unique_ptr<Ipc_frame_reader, Ipc_frame_reader_deleter> |
| using | Ipc_frame_writer_uniq = std::unique_ptr<Ipc_frame_writer, Ipc_frame_writer_deleter> |
Functions | |
| void | ipc_frame_reader_free (struct Ipc_frame_reader *reader) |
| bool | ipc_frame_reader_has_frame (struct Ipc_frame_reader *reader) |
| bool | ipc_frame_reader_is_connected (struct Ipc_frame_reader *reader) |
| Ipc_frame_reader * | ipc_frame_reader_new (const char *path) |
| bool | ipc_frame_reader_read (struct Ipc_frame_reader *reader, struct Ipc_frame *dst) |
| void | ipc_frame_reader_wait_connect (struct Ipc_frame_reader *reader) |
| void | ipc_frame_writer_free (struct Ipc_frame_writer *writer) |
| Ipc_frame_writer * | ipc_frame_writer_new (const char *path) |
| bool | ipc_frame_writer_write (struct Ipc_frame_writer *writer, const struct Ipc_frame *f) |
| using Ipc_frame_reader_uniq = std::unique_ptr<Ipc_frame_reader, Ipc_frame_reader_deleter> |
Definition at line 29 of file ipc_frame_unix.h.
| using Ipc_frame_writer_uniq = std::unique_ptr<Ipc_frame_writer, Ipc_frame_writer_deleter> |
Definition at line 34 of file ipc_frame_unix.h.
| void ipc_frame_reader_free | ( | struct Ipc_frame_reader * | reader | ) |
Definition at line 92 of file ipc_frame_unix.cpp.
References CLOSESOCKET, Ipc_frame_reader::data_fd, INVALID_SOCKET, Ipc_frame_reader::listen_fd, Ipc_frame_reader::path, and UNLINK.
Referenced by Ipc_frame_reader_deleter::operator()().
| bool ipc_frame_reader_has_frame | ( | struct Ipc_frame_reader * | reader | ) |
Definition at line 142 of file ipc_frame_unix.cpp.
References Ipc_frame_reader::data_fd, ipc_frame_reader_is_connected(), and socket_read_avail().
Referenced by PreviewWidget::loadFrame().

| bool ipc_frame_reader_is_connected | ( | struct Ipc_frame_reader * | reader | ) |
Definition at line 149 of file ipc_frame_unix.cpp.
References Ipc_frame_reader::data_fd, INVALID_SOCKET, and try_accept().
Referenced by ipc_frame_reader_has_frame(), and PreviewWidget::loadFrame().

| Ipc_frame_reader * ipc_frame_reader_new | ( | const char * | path | ) |
Definition at line 59 of file ipc_frame_unix.cpp.
References CLOSESOCKET, INVALID_SOCKET, and UNLINK.
Referenced by main(), and PreviewWidget::setKey().
| bool ipc_frame_reader_read | ( | struct Ipc_frame_reader * | reader, |
| struct Ipc_frame * | dst ) |
Definition at line 177 of file ipc_frame_unix.cpp.
References CLOSESOCKET, Ipc_frame_reader::data_fd, do_frame_read(), and INVALID_SOCKET.
Referenced by PreviewWidget::loadFrame(), and main().

| void ipc_frame_reader_wait_connect | ( | struct Ipc_frame_reader * | reader | ) |
Definition at line 153 of file ipc_frame_unix.cpp.
References Ipc_frame_reader::data_fd, INVALID_SOCKET, and Ipc_frame_reader::listen_fd.
Referenced by main().
| void ipc_frame_writer_free | ( | struct Ipc_frame_writer * | writer | ) |
Definition at line 217 of file ipc_frame_unix.cpp.
References CLOSESOCKET, INVALID_SOCKET, and writer().
Referenced by Ipc_frame_writer_deleter::operator()().

| Ipc_frame_writer * ipc_frame_writer_new | ( | const char * | path | ) |
Definition at line 191 of file ipc_frame_unix.cpp.
References CLOSESOCKET, INVALID_SOCKET, and writer().
Referenced by display_unix_sock_init(), and worker().

| bool ipc_frame_writer_write | ( | struct Ipc_frame_writer * | writer, |
| const struct Ipc_frame * | f ) |
Definition at line 240 of file ipc_frame_unix.cpp.
References Ipc_frame::data, Ipc_frame_header::data_len, Ipc_frame::header, ipc_frame_write_header(), and writer().
Referenced by display_unix_sock_run(), and worker().
