3-phase PV router
Loading...
Searching...
No Matches
ScheduledBoosts< 0, MaxPins > Class Template Reference

No boost at all. More...

#include <config_types.h>

Inheritance diagram for ScheduledBoosts< 0, MaxPins >:
Collaboration diagram for ScheduledBoosts< 0, MaxPins >:

Public Member Functions

constexpr ScheduledBoosts ()=default
 
constexpr ScheduledBoosts (const BoostEntry< MaxPins >(&boosts)[N])
 The boosts, from a list of { window, targets }.
 
constexpr const PinList< MaxPins > & getTargets (const uint8_t i) const
 The targets of boost i, as codes.
 
constexpr PinList< MaxPins > getTargets (uint8_t) const
 No targets: never called, there for the loops over size().
 
constexpr BoostWindow getWindow (const uint8_t i) const
 The window of boost i.
 
constexpr BoostWindow getWindow (uint8_t) const
 No window: never called, there for the loops over size().
 
constexpr uint8_t size () const
 Number of boosts.
 
constexpr uint8_t size () const
 Number of boosts: none.
 

Private Member Functions

constexpr ScheduledBoosts (const BoostEntry< MaxPins >(&boosts)[N], index_sequence< I... >)
 

Private Attributes

const BoostEntry< MaxPins > entries_ [N]
 

Detailed Description

template<uint8_t MaxPins>
class ScheduledBoosts< 0, MaxPins >

No boost at all.

Definition at line 491 of file config_types.h.

Constructor & Destructor Documentation

◆ ScheduledBoosts() [1/3]

template<uint8_t MaxPins>
ScheduledBoosts< 0, MaxPins >::ScheduledBoosts ( )
constexprdefault

◆ ScheduledBoosts() [2/3]

ScheduledBoosts< N, MaxPins >::ScheduledBoosts ( const BoostEntry< MaxPins >(&) boosts[N])
inlineconstexpr

The boosts, from a list of { window, targets }.

Definition at line 456 of file config_types.h.

◆ ScheduledBoosts() [3/3]

ScheduledBoosts< N, MaxPins >::ScheduledBoosts ( const BoostEntry< MaxPins >(&) boosts[N],
index_sequence< I... >  )
inlineconstexprprivate

Definition at line 481 of file config_types.h.

Member Function Documentation

◆ getTargets() [1/2]

const PinList< MaxPins > & ScheduledBoosts< N, MaxPins >::getTargets ( const uint8_t i) const
inlineconstexpr

The targets of boost i, as codes.

Definition at line 474 of file config_types.h.

◆ getTargets() [2/2]

template<uint8_t MaxPins>
PinList< MaxPins > ScheduledBoosts< 0, MaxPins >::getTargets ( uint8_t ) const
inlineconstexpr

No targets: never called, there for the loops over size().

Definition at line 509 of file config_types.h.

◆ getWindow() [1/2]

BoostWindow ScheduledBoosts< N, MaxPins >::getWindow ( const uint8_t i) const
inlineconstexpr

The window of boost i.

Definition at line 468 of file config_types.h.

◆ getWindow() [2/2]

template<uint8_t MaxPins>
BoostWindow ScheduledBoosts< 0, MaxPins >::getWindow ( uint8_t ) const
inlineconstexpr

No window: never called, there for the loops over size().

Definition at line 503 of file config_types.h.

Here is the call graph for this function:

◆ size() [1/2]

uint8_t ScheduledBoosts< N, MaxPins >::size ( ) const
inlineconstexpr

Number of boosts.

Definition at line 462 of file config_types.h.

◆ size() [2/2]

template<uint8_t MaxPins>
uint8_t ScheduledBoosts< 0, MaxPins >::size ( ) const
inlineconstexpr

Number of boosts: none.

Definition at line 497 of file config_types.h.

Member Data Documentation

◆ entries_

const BoostEntry< MaxPins > ScheduledBoosts< N, MaxPins >::entries_[N]
private

the windows and their targets

Definition at line 486 of file config_types.h.


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