Generalized-Core-Counter 3.20
Particle-based generalized core counter firmware
Loading...
Searching...
No Matches
Particle_Functions.h
Go to the documentation of this file.
1
9
10#ifndef __PARTICLE_FUNCTIONS_H
11#define __PARTICLE_FUNCTIONS_H
12
13#include "Particle.h"
14
22public:
29
35 void setup();
36
37protected:
44
48 virtual ~Particle_Functions();
49
54
59
66
67};
68#endif /* __PARTICLE_FUNCTIONS_H */
virtual ~Particle_Functions()
The destructor is protected because the class is a singleton and cannot be deleted.
Particle_Functions(const Particle_Functions &)=delete
This class is a singleton and cannot be copied.
static Particle_Functions * _instance
Singleton instance of this class.
void setup()
Perform setup operations; call this from global application setup().
Particle_Functions & operator=(const Particle_Functions &)=delete
This class is a singleton and cannot be copied.
Particle_Functions()
The constructor is protected because the class is a singleton.
static Particle_Functions & instance()
Gets the singleton instance of this class, allocating it if necessary.