thread::Mq
- Inherits: api::ExecutionContext
public - thread::Mq::Attributes
- thread::Mq::File
- thread::Mq::Info
Types
IsExclusive#
- no
- yes
OpenMode#
using thread::Mq::OpenMode = fs::OpenMode Type: fs::OpenMode
Functions
Mq()=delete#
thread::Mq::Mq ()=deleteMq(const Attributes &attributes, IsExclusive is_exclusive, var::StringView name, const OpenMode &open_mode=OpenMode::read_write(), fs::Permissions perms=fs::Permissions(0666))#
thread::Mq::Mq (const Attributes &attributes, IsExclusive is_exclusive, var::StringView name, const OpenMode &open_mode=OpenMode::read_write(), fs::Permissions perms=fs::Permissions(0666))Mq(const Mq &a)=delete#
thread::Mq::Mq (const Mq &a)=deleteMq(Mq &&a) noexcept#
inline
thread::Mq::Mq (Mq &&a) noexceptMq(var::StringView name, const fs::OpenMode &open_mode=fs::OpenMode::read_write())#
explicit
thread::Mq::Mq (var::StringView name, const fs::OpenMode &open_mode=fs::OpenMode::read_write())~Mq()#
thread::Mq::~Mq ()get_info() const#
Info thread::Mq::get_info () constType: Info
is_valid() const#
inline
bool thread::Mq::is_valid () constType: bool
operator=(const Mq &a)=delete#
Mq & thread::Mq::operator= (const Mq &a)=deleteType: Mq &
Parameters:
- const Mq &
a
operator=(Mq &&a) noexcept#
inline
Mq & thread::Mq::operator= (Mq &&a) noexceptType: Mq &
Parameters:
- Mq &&
a
receive(var::View message)#
Mq & thread::Mq::receive (var::View message)Type: Mq &
Parameters:
var::Viewmessage
receive_timed(var::View message, const chrono::ClockTime &relative_timeout)#
Mq & thread::Mq::receive_timed (var::View message, const chrono::ClockTime &relative_timeout)Type: Mq &
Parameters:
var::Viewmessageconst chrono::ClockTime &relative_timeout
send(var::View message)#
Mq & thread::Mq::send (var::View message)Type: Mq &
Parameters:
var::Viewmessage
send_timed(var::View message, const chrono::ClockTime &relative_timeout)#
Mq & thread::Mq::send_timed (var::View message, const chrono::ClockTime &relative_timeout)Type: Mq &
Parameters:
var::Viewmessageconst chrono::ClockTime &relative_timeout
set_flags(OpenMode open_mode)#
Mq & thread::Mq::set_flags (OpenMode open_mode)Type: Mq &
Parameters:
- OpenMode
open_mode
Static Functions
unlink(const char *name)#
static void thread::Mq::unlink (const char *name)Type: void
Parameters:
const char *name