![]() |
PIDUINO
|
#include <database.h>
Public Types | |
enum | Id { RaspberryPi = 0 , NanoPi , OrangePi , BananaPi , Unknown = -1 } |
Public Member Functions | |
Family (Id i=Unknown) | |
virtual | ~Family () |
Id | id () const |
const std::string & | name () const |
const std::string & | i2cSysPath () const |
const std::string & | spiSysPath () const |
const std::string & | uartSysPath () const |
void | setId (Id i) |
Private Attributes | |
Id | _id |
std::string | _name |
std::string | _i2c_syspath |
std::string | _spi_syspath |
std::string | _uart_syspath |
Definition at line 47 of file database.h.
Enumerator | |
---|---|
RaspberryPi | |
NanoPi | |
OrangePi | |
BananaPi | |
Unknown |
Definition at line 50 of file database.h.
Definition at line 61 of file database.h.
References setId().
|
inlinevirtual |
Definition at line 64 of file database.h.
|
inline |
Definition at line 74 of file database.h.
References _i2c_syspath.
|
inline |
Definition at line 66 of file database.h.
References _id.
|
inline |
Definition at line 70 of file database.h.
References _name.
|
inline |
Definition at line 78 of file database.h.
References _spi_syspath.
|
inline |
Definition at line 82 of file database.h.
References _uart_syspath.
|
private |
Definition at line 91 of file database.h.
Referenced by i2cSysPath().
|
private |
Definition at line 89 of file database.h.
Referenced by id().
|
private |
Definition at line 90 of file database.h.
Referenced by name().
|
private |
Definition at line 92 of file database.h.
Referenced by spiSysPath().
|
private |
Definition at line 93 of file database.h.
Referenced by uartSysPath().