C/C++ API Reference
Loading...
Searching...
No Matches
pw::clock_tree::OptionalElement Class Reference

Overview

An optional reference to an Element which can be Acquired and Released.

This avoids the verbosity of checking if an element pointer is null in e.g. a driver which accepts an optional Element* argument.

Public Member Functions

constexpr OptionalElement (Element *element=nullptr)
 
constexpr OptionalElement (Element &element)
 
Status Acquire ()
 
Status Release ()
 

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