3-phase PV router
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
_rg_OffsetForce< N, OffPeakDuration > Class Template Reference

Template class for Load-Overriding. More...

#include <dualtariff.h>

Public Member Functions

constexpr _rg_OffsetForce ()
 
const auto & operator[] (uint8_t i) const
 

Private Attributes

uint32_t _rg [N][2] {}
 

Detailed Description

template<uint8_t N, uint8_t OffPeakDuration = 8>
class _rg_OffsetForce< N, OffPeakDuration >

Template class for Load-Overriding.

The array is initialized at compile time so it can be read-only and the performance and code size are better

Template Parameters
N# of loads
D

Definition at line 28 of file dualtariff.h.

Constructor & Destructor Documentation

◆ _rg_OffsetForce()

template<uint8_t N, uint8_t OffPeakDuration = 8>
constexpr _rg_OffsetForce< N, OffPeakDuration >::_rg_OffsetForce ( )
inlineconstexpr

Definition at line 31 of file dualtariff.h.

Here is the call graph for this function:

Member Function Documentation

◆ operator[]()

template<uint8_t N, uint8_t OffPeakDuration = 8>
const auto & _rg_OffsetForce< N, OffPeakDuration >::operator[] ( uint8_t  i)
inline

Definition at line 53 of file dualtariff.h.

Member Data Documentation

◆ _rg

template<uint8_t N, uint8_t OffPeakDuration = 8>
uint32_t _rg_OffsetForce< N, OffPeakDuration >::_rg[N][2] {}
private

Definition at line 59 of file dualtariff.h.


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