35 std::vector<uint8_t> &
data() {
return data_; }
36 std::vector<SharedFD> &
fds() {
return fds_; }
39 const std::vector<uint8_t> &
data()
const {
return data_; }
40 const std::vector<SharedFD> &
fds()
const {
return fds_; }
45 std::vector<uint8_t> data_;
46 std::vector<SharedFD> fds_;
bool connected_
Flag to indicate if the IPCPipe instance is connected.
Definition: ipc_pipe.h:65
IPCMessage()
Construct an empty IPCMessage instance.
Definition: ipc_pipe.cpp:51
Top-level libcamera namespace.
Definition: backtrace.h:17
Signal & slot implementation.
std::vector< uint8_t > & data()
Returns a reference to the byte vector containing data.
Definition: ipc_pipe.h:35
Signal< const IPCMessage & > recv
Signal to be emitted when a message is received over IPC.
Definition: ipc_pipe.h:62
IPC message to be passed through IPC message pipe.
Definition: ipc_pipe.h:19
const std::vector< SharedFD > & fds() const
Returns a const reference to the vector containing file descriptors.
Definition: ipc_pipe.h:40
IPC mechanism based on Unix sockets.
Header & header()
Returns a reference to the header.
Definition: ipc_pipe.h:34
Generic signal and slot communication mechanism.
Definition: object.h:20
const Header & header() const
Returns a const reference to the header.
Definition: ipc_pipe.h:38
Container for an IPC payload.
Definition: ipc_unixsocket.h:24
IPCUnixSocket::Payload payload() const
Create an IPCUnixSocket payload from the IPCMessage.
Definition: ipc_pipe.cpp:100
bool isConnected() const
Check if the IPCPipe instance is connected.
Definition: ipc_pipe.h:55
const std::vector< uint8_t > & data() const
Returns a const reference to the byte vector containing data.
Definition: ipc_pipe.h:39
std::vector< SharedFD > & fds()
Returns a reference to the vector containing file descriptors.
Definition: ipc_pipe.h:36
IPC message pipe for IPA isolation.
Definition: ipc_pipe.h:49