Abstract class template of a clock tree element that depends on another clock tree element.
A DependentElement
clock tree element depends on another clock tree element.
Class implementations of DependentElement
must override the DoEnable
function, the DoDisable
function can be overridden to disable the dependent clock tree element to save power.
Template argument ElementType
can be of class ElementBlocking
, ElementNonBlockingCannotFail
or ElementNonBlockingMightFail.
Public Member Functions | |
constexpr | DependentElement (ElementType &source) |
Create a dependent clock tree element that depends on source . | |
Private Member Functions | |
Status | DoAcquireLocked () final |
Status | DoReleaseLocked () final |