#include "sg_types.hpp"
Namespaces | |
SG | |
SG::BeagleBone | |
SG::BeagleBone::Detect | |
The Detect namespace contains several related functions to help determine if the device where the code is running is a BeagleBone Black, BeagleBone Green, or some other type of device. | |
Typedefs | |
typedef std::vector< ECompatibility > | SG::BeagleBone::Detect::Compatibilities |
A vector of capabilities describing a device. More... | |
Functions | |
std::string | SG::BeagleBone::Detect::to_string (const ECompatibility type) |
Convert a single compatibility to a text string. More... | |
VStr | SG::BeagleBone::Detect::to_string (const Compatibilities &compabilities) |
Convert a vector of capabilities to a vector of strings. More... | |
Compatibilities | SG::BeagleBone::Detect::get_compatibilities (void) |
Get the vector of compabilities for this device. More... | |
bool | SG::BeagleBone::Detect::has (const ECompatibility type) |
Determine if the device compatibilities contains the given type. More... | |
std::string | SG::BeagleBone::Detect::get_model (void) |
Return the device model or product name as a text string. More... | |
bool | SG::BeagleBone::Detect::is_beaglebone_compatible (void) |
Determine if the device is compatible with the given type. More... | |
bool | SG::BeagleBone::Detect::is_beaglebone_black_compatible (void) |
Determine if the device is compatible with the given type. More... | |
bool | SG::BeagleBone::Detect::is_beaglebone_green_compatible (void) |
Determine if the device is compatible with the given type. More... | |
bool | SG::BeagleBone::Detect::is_beaglebone_green_wireless_compatible (void) |
Determine if the device is compatible with the given type. More... | |
bool | SG::BeagleBone::Detect::is_beaglebone_black_wireless_compatible (void) |
Determine if the device is compatible with the given type. More... | |
bool | SG::BeagleBone::Detect::is_beaglebone_blue_wireless_compatible (void) |
Determine if the device is compatible with the given type. More... | |
bool | SG::BeagleBone::Detect::is_beaglebone_wireless_compatible (void) |
Determine if the device is compatible with the given type. More... | |