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::clock * | clock = nullptr |
Attribute with the address of the clock to be used for timeouts. More... | |
Base class for attributes.
Definition at line 562 of file os-decls.h.
constexpr os::rtos::internal::attributes_clocked::attributes_clocked | ( | ) |
Construct a named object instance.
Definition at line 788 of file os-decls.h.
|
default |
Destruct the named object instance.
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.