µOS++ IIIe Reference 7.0.0
The third edition of µOS++, a POSIX inspired open source framework, written in C++
Loading...
Searching...
No Matches
os::rtos::flags Namespace Reference

Generic flags namespace. More...

Namespaces

namespace  mode
 Flags modes.
 

Typedefs

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

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.

Typedef Documentation

◆ 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.