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

No rotation group. More...

#include <config_types.h>

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

Public Member Functions

constexpr RotationGroups ()=default
 
constexpr RotationGroups (const PinList< MaxPins > &g0, const PinList< MaxPins > &g1={}, const PinList< MaxPins > &g2={}, const PinList< MaxPins > &g3={}, const PinList< MaxPins > &g4={}, const PinList< MaxPins > &g5={}, const PinList< MaxPins > &g6={}, const PinList< MaxPins > &g7={}, const PinList< MaxPins > &g8={}, const PinList< MaxPins > &g9={})
 The groups, one list of targets each.
 
constexpr const PinList< MaxPins > & getGroup (const uint8_t index) const
 The targets of group index, as codes.
 
constexpr PinList< MaxPins > getGroup (uint8_t) const
 No targets: never called, there for the loops over size().
 
constexpr uint8_t size () const
 Number of groups.
 
constexpr uint8_t size () const
 Number of groups: none.
 

Private Member Functions

constexpr RotationGroups (const Ten &ten, index_sequence< I... >)
 

Private Attributes

const PinList< MaxPins > groups_ [N]
 

Detailed Description

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

No rotation group.

Definition at line 581 of file config_types.h.

Constructor & Destructor Documentation

◆ RotationGroups() [1/3]

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

◆ RotationGroups() [2/3]

RotationGroups< N, MaxPins >::RotationGroups ( const PinList< MaxPins > & g0,
const PinList< MaxPins > & g1 = {},
const PinList< MaxPins > & g2 = {},
const PinList< MaxPins > & g3 = {},
const PinList< MaxPins > & g4 = {},
const PinList< MaxPins > & g5 = {},
const PinList< MaxPins > & g6 = {},
const PinList< MaxPins > & g7 = {},
const PinList< MaxPins > & g8 = {},
const PinList< MaxPins > & g9 = {} )
inlineconstexpr

The groups, one list of targets each.

Definition at line 543 of file config_types.h.

◆ RotationGroups() [3/3]

RotationGroups< N, MaxPins >::RotationGroups ( const Ten & ten,
index_sequence< I... >  )
inlineconstexprprivate

Definition at line 571 of file config_types.h.

Member Function Documentation

◆ getGroup() [1/2]

const PinList< MaxPins > & RotationGroups< N, MaxPins >::getGroup ( const uint8_t index) const
inlineconstexpr

The targets of group index, as codes.

Definition at line 559 of file config_types.h.

◆ getGroup() [2/2]

template<uint8_t MaxPins>
PinList< MaxPins > RotationGroups< 0, MaxPins >::getGroup ( uint8_t ) const
inlineconstexpr

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

Definition at line 593 of file config_types.h.

◆ size() [1/2]

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

Number of groups.

Definition at line 553 of file config_types.h.

◆ size() [2/2]

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

Number of groups: none.

Definition at line 587 of file config_types.h.

Member Data Documentation

◆ groups_

const PinList< MaxPins > RotationGroups< N, MaxPins >::groups_[N]
private

the targets of each group

Definition at line 576 of file config_types.h.


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