µOS++ IIIe Reference 7.0.0
The third edition of µOS++, a POSIX inspired open source framework, written in C++
No Matches
os::rtos::event_flags::attributes Class Reference

Event flags attributes. More...

#include <cmsis-plus/rtos/os.h>

+ Inheritance diagram for os::rtos::event_flags::attributes:

Public Member Functions

Constructors & Destructor
constexpr attributes ()
 Construct an event flags attributes object instance.
 attributes (const attributes &)=default
 attributes (attributes &&)=default
attributesoperator= (const attributes &)=default
attributesoperator= (attributes &&)=default
 ~attributes ()=default
 Destruct the event flags attributes object instance.

Public Attributes

Public Member Variables
rtos::clockclock = nullptr
 Attribute with the address of the clock to be used for timeouts.

Detailed Description

Event flags attributes.

Allow to assign a name to the event flags.

If the attributes are modified after the event_flags creation, the event_flags attributes shall not be affected.

POSIX compatibility
No POSIX similar functionality identified, but inspired by POSIX attributes used in <pthread.h> (IEEE Std 1003.1, 2013 Edition).

Definition at line 68 of file os-evflags.h.

Constructor & Destructor Documentation

◆ attributes() [1/3]

constexpr os::rtos::event_flags::attributes::attributes ( )

Construct an event flags attributes object instance.


Definition at line 344 of file os-evflags.h.

◆ attributes() [2/3]

os::rtos::event_flags::attributes::attributes ( const attributes )

◆ attributes() [3/3]

os::rtos::event_flags::attributes::attributes ( attributes &&  )

◆ ~attributes()

os::rtos::event_flags::attributes::~attributes ( )

Destruct the event flags attributes object instance.

Member Function Documentation

◆ operator=() [1/2]

attributes & os::rtos::event_flags::attributes::operator= ( attributes &&  )

◆ operator=() [2/2]

attributes & os::rtos::event_flags::attributes::operator= ( const attributes )

Member Data Documentation

◆ clock

rtos::clock* os::rtos::internal::attributes_clocked::clock = nullptr

Attribute with the address of the clock to be used for timeouts.

It may be one of os::rtos::sysclock, os::rtos::rtclock, or any other user object derived from class os::rtos::clock.

If nullptr, the default clock is os::rtos::sysclock.

Definition at line 615 of file os-decls.h.

The documentation for this class was generated from the following file: