µ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::internal::attributes_clocked Class Reference

Base class for attributes. More...

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

Inherited by os::rtos::condition_variable::attributes, os::rtos::event_flags::attributes, os::rtos::memory_pool::attributes, os::rtos::message_queue::attributes, os::rtos::mutex::attributes, os::rtos::semaphore::attributes, os::rtos::thread::attributes, and os::rtos::timer::attributes.

Public Member Functions

Constructors & Destructor
constexpr attributes_clocked ()
 Construct a named object instance. More...
 ~attributes_clocked ()=default
 Destruct the named object instance. More...

Public Attributes

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

Detailed Description

Base class for attributes.

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

Constructor & Destructor Documentation

◆ attributes_clocked()

constexpr os::rtos::internal::attributes_clocked::attributes_clocked ( )

Construct a named object instance.

Cannot be invoked from Interrupt Service Routines.

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

◆ ~attributes_clocked()

os::rtos::internal::attributes_clocked::~attributes_clocked ( )

Destruct the named object instance.

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: