FastLED 3.9.3
Loading...
Searching...
No Matches
Singleton< T, N > Class Template Reference

Detailed Description

template<typename T, int N = 0>
class Singleton< T, N >

Definition at line 9 of file singleton.h.

Public Member Functions

 Singleton (const Singleton &)=delete
 
Singletonoperator= (const Singleton &)=delete
 

Static Public Member Functions

static T & instance ()
 
static T * instanceRef ()
 

Member Function Documentation

◆ instance()

template<typename T , int N = 0>
static T & Singleton< T, N >::instance ( )
inlinestatic

Definition at line 11 of file singleton.h.

◆ instanceRef()

template<typename T , int N = 0>
static T * Singleton< T, N >::instanceRef ( )
inlinestatic

Definition at line 15 of file singleton.h.


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