Skip to main content

thread::Mq

Types

IsExclusive#

  • no
  • yes

OpenMode#

using thread::Mq::OpenMode =  fs::OpenMode 

Type: fs::OpenMode

Functions

Mq()=delete#

thread::Mq::Mq ()=delete

Mq(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)=delete

Mq(Mq &&a) noexcept#

inline

thread::Mq::Mq (Mq &&a) noexcept

Mq(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 () const

Type: Info

is_valid() const#

inline

bool thread::Mq::is_valid () const

Type: bool

operator=(const Mq &a)=delete#

Mq & thread::Mq::operator= (const Mq &a)=delete

Type: Mq &

Parameters:

  • const Mq & a

operator=(Mq &&a) noexcept#

inline

Mq & thread::Mq::operator= (Mq &&a) noexcept

Type: Mq &

Parameters:

receive(var::View message)#

Mq & thread::Mq::receive (var::View message)

Type: Mq &

Parameters:

  • var::View message

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::View message
  • const chrono::ClockTime & relative_timeout

send(var::View message)#

Mq & thread::Mq::send (var::View message)

Type: Mq &

Parameters:

  • var::View message

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::View message
  • const chrono::ClockTime & relative_timeout

set_flags(OpenMode open_mode)#

Mq & thread::Mq::set_flags (OpenMode open_mode)

Type: Mq &

Parameters:

Static Functions

unlink(const char *name)#

static void thread::Mq::unlink (const char *name)

Type: void

Parameters:

  • const char * name