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

Base class for attributes. More...

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

+ Inheritance diagram for os::rtos::internal::attributes_clocked:

Public Member Functions

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

Public Attributes

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

Detailed Description

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

Constructor & Destructor Documentation

◆ attributes_clocked()

constexpr os::rtos::internal::attributes_clocked::attributes_clocked ( )
constexpr
Parameters
None.
Warning
Cannot be invoked from Interrupt Service Routines.

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

775 {
776 }

◆ ~attributes_clocked()

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

Member Data Documentation

◆ clock

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

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 612 of file os-decls.h.

Referenced by os::rtos::event_flags::event_flags(), os::rtos::mutex::mutex(), and os::rtos::timer::timer().


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