µOS++ IIIe Reference  v6.3.15
“Perfekt ist nicht gut genug”
The third edition of µOS++, a POSIX inspired open source system, written in C++.
os::rtos::flags Namespace Reference

Generic flags namespace. More...

Namespaces

 mode
 Flags modes.
 

Types

using mask_t = uint32_t
 Type of variables holding flags masks. More...
 
using mode_t = uint32_t
 Type of variables holding flags modes. More...
 

Enumerations

enum  : mask_t {
  any = 0,
  all = 0xFFFFFFFF
}
 Flags sets with special meaning. More...
 

Detailed Description

Generic flags namespace.

The os::rtos::flags namespace groups event types and enumerations.

Types

◆ mask_t

using os::rtos::flags::mask_t = typedef uint32_t

Type of variables holding flags masks.

An unsigned type large enough to store all the flags, usually 32-bits wide.

Both thread event flags and generic event flags use this definition.

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

◆ mode_t

using os::rtos::flags::mode_t = typedef uint32_t

Type of variables holding flags modes.

An unsigned type used to hold the mode bits passed to functions returning flags.

Both thread event flags and generic event flags use this definition.

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

Enumeration Type Documentation

◆ anonymous enum

anonymous enum : mask_t

Flags sets with special meaning.

Enumerator
any 

Special mask to represent any flag.

all 

Special mask to represent all flags.

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