L4Re Operating System Framework
Interface and Usage Documentation
|
A receive item for receiving a single object capability. More...
#include <ipc_types>
Public Member Functions | |
Small_buf (L4::Cap< void > cap, unsigned long flags=0) noexcept | |
Create a receive item from a C++ cap. | |
Small_buf (l4_cap_idx_t cap, unsigned long flags=0) noexcept | |
Create a receive item from a C cap. | |
A receive item for receiving a single object capability.
This class is the main abstraction for receiving object capabilities via Ipc::Istream. To receive an object capability, an instance of Small_buf that refers to an empty capability slot must be inserted into the Ipc::Istream before the receive operation.
|
inlineexplicitnoexcept |
Create a receive item from a C++ cap.
cap | Capability slot where to save the capability. |
flags | Receive buffer flags, see l4_msg_item_consts_t. L4_RCV_ITEM_SINGLE_CAP will always be set. |
|
inlineexplicitnoexcept |
Create a receive item from a C cap.
cap | Capability slot where to save the capability. |
flags | Receive buffer flags, see l4_msg_item_consts_t. L4_RCV_ITEM_SINGLE_CAP will always be set. |