distortos  v0.4.0
object-oriented C++ RTOS for microcontrollers
distortos::internal::SoftwareTimerListNode Class Reference

SoftwareTimerListNode class is a base for SoftwareTimerControlBlock that serves as a node in intrusive list of software timers (software timer control blocks) More...

#include <SoftwareTimerListNode.hpp>

Inheritance diagram for distortos::internal::SoftwareTimerListNode:
[legend]
Collaboration diagram for distortos::internal::SoftwareTimerListNode:
[legend]

Public Member Functions

constexpr SoftwareTimerListNode ()
 SoftwareTimerListNode's constructor. More...
 
const TickClock::time_pointgetTimePoint () const
 

Public Attributes

estd::IntrusiveListNode node
 node for intrusive list More...
 

Protected Member Functions

void setTimePoint (const TickClock::time_point timePoint)
 Sets time point of expiration. More...
 

Private Attributes

TickClock::time_point timePoint_
 time point of expiration More...
 

Detailed Description

SoftwareTimerListNode class is a base for SoftwareTimerControlBlock that serves as a node in intrusive list of software timers (software timer control blocks)

This class is needed to break any potential circular dependencies.

Constructor & Destructor Documentation

◆ SoftwareTimerListNode()

constexpr distortos::internal::SoftwareTimerListNode::SoftwareTimerListNode ( )
inline

SoftwareTimerListNode's constructor.

Member Function Documentation

◆ getTimePoint()

const TickClock::time_point& distortos::internal::SoftwareTimerListNode::getTimePoint ( ) const
inline
Returns
const reference to expiration time point
Here is the caller graph for this function:

◆ setTimePoint()

void distortos::internal::SoftwareTimerListNode::setTimePoint ( const TickClock::time_point  timePoint)
inlineprotected

Sets time point of expiration.

Parameters
[in]timePointis the new time point of expiration
Here is the caller graph for this function:

Member Data Documentation

◆ node

estd::IntrusiveListNode distortos::internal::SoftwareTimerListNode::node

node for intrusive list

◆ timePoint_

TickClock::time_point distortos::internal::SoftwareTimerListNode::timePoint_
private

time point of expiration


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