LibPkg
|
Base class for the environment checking classes. More...
#include <env_checker.h>
Public Member Functions | |
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... | |
Protected Attributes | |
std::string | _description |
bool | _detected |
bool | _available |
int | _install_priority |
Base class for the environment checking classes.
pkg::env_check::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.
name | short name |
desc | short description |
id | single letter optionally followed by a number. This must be unique for all checks. |
type | The type of the check |
install_priority | the priority weighting for this check |
|
inlinevirtual |
|
inline |
The name of the check, should be fairly short.
Referenced by pkg::env_checker::override_environment(), pkg::env_checker::package_env(), and pkg::pkg_env::type().
|
inline |
A one line description for display purposes only.
References _description.
|
inline |
Short id consisting of a single letter optionally followed be a number.
Referenced by pkg::env_checker::override_environment().
|
inline |
Automatic detection result.
References _detected.
Referenced by pkg::env_checker::clear_environment_overrides().
|
inline |
Software override of status.
References _available.
Referenced by pkg::env_checker::clear_environment_overrides(), pkg::env_checker::override_environment(), and pkg::pkg_env::reset_available().
|
inline |
References _available.
|
inline |
Type for this check.
Referenced by pkg::env_checker::override_environment().
|
inline |
Priority for this check, the higher the more important.
References _install_priority.
Referenced by pkg::env_checker::override_environment().
|
protected |
Referenced by description(), and pkg::module_check::module_check().
|
protected |
|
protected |
Referenced by pkg::all_check::all_check(), pkg::arm26_check::arm26_check(), pkg::arm_check::arm_check(), available(), pkg::pkg_env::available(), pkg::module_check::module_check(), pkg::swp_check::swp_check(), pkg::pkg_env::type(), pkg::unknown_check::unknown_check(), pkg::unset_check::unset_check(), and pkg::vfp_check::vfp_check().
|
protected |
Referenced by pkg::pkg_env::default_install_priority(), install_priority(), and pkg::pkg_env::type().
Reference Manual | LibPkg | Version 0.6.1 (28 Jan 2015) |