LibPkg
|
Class for packages that need to OS to contain a specific module. More...
#include <env_checks.h>
Public Member Functions | |
module_check (const std::string &title) | |
Check if module is loaded - declaration in header as used in enc_checker.cpp. More... | |
![]() | |
env_check (const std::string &name, const std::string &desc, const std::string &id, env_check_type type, int install_priority) | |
Construct a default environment check. More... | |
virtual | ~env_check () |
const std::string & | name () const |
The name of the check, should be fairly short. More... | |
const std::string & | description () const |
A one line description for display purposes only. More... | |
const std::string & | id () const |
Short id consisting of a single letter optionally followed be a number. More... | |
bool | detected () const |
Automatic detection result. More... | |
bool | available () const |
Software override of status. More... | |
void | available (bool override) |
env_check_type | type () const |
Type for this check. More... | |
int | install_priority () |
Priority for this check, the higher the more important. More... | |
Additional Inherited Members | |
![]() | |
std::string | _description |
bool | _detected |
bool | _available |
int | _install_priority |
Class for packages that need to OS to contain a specific module.
Note: Raspberry PI video can be detected by looking for the VCHIQ module.
pkg::module_check::module_check | ( | const std::string & | title | ) |
Check if module is loaded - declaration in header as used in enc_checker.cpp.
References pkg::env_check::_available, pkg::env_check::_description, pkg::env_check::_detected, pkg::module_info::help_string(), and pkg::module_info::lookup().
Reference Manual | LibPkg | Version 0.6.1 (28 Jan 2015) |